mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-18 03:28:07 -05:00
Remove is_shift_pressed() -- it's not been used since r4906.
[originally from svn r8666] [r4906 == 7ecf13564a8d716000ce78146d1aaf4422432a4f]
This commit is contained in:
parent
53e2b1f865
commit
f59f13d0f6
@ -110,7 +110,6 @@ static LPARAM pend_netevent_lParam = 0;
|
|||||||
static void enact_pending_netevent(void);
|
static void enact_pending_netevent(void);
|
||||||
static void flash_window(int mode);
|
static void flash_window(int mode);
|
||||||
static void sys_cursor_update(void);
|
static void sys_cursor_update(void);
|
||||||
static int is_shift_pressed(void);
|
|
||||||
static int get_fullscreen_rect(RECT * ss);
|
static int get_fullscreen_rect(RECT * ss);
|
||||||
|
|
||||||
static int caret_x = -1, caret_y = -1;
|
static int caret_x = -1, caret_y = -1;
|
||||||
@ -1909,17 +1908,6 @@ static int is_alt_pressed(void)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int is_shift_pressed(void)
|
|
||||||
{
|
|
||||||
BYTE keystate[256];
|
|
||||||
int r = GetKeyboardState(keystate);
|
|
||||||
if (!r)
|
|
||||||
return FALSE;
|
|
||||||
if (keystate[VK_SHIFT] & 0x80)
|
|
||||||
return TRUE;
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int resizing;
|
static int resizing;
|
||||||
|
|
||||||
void notify_remote_exit(void *fe)
|
void notify_remote_exit(void *fe)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user