From c4ea522cf7b4f0f1f148ce3a1b18a241651a216b Mon Sep 17 00:00:00 2001 From: jacob Date: Sun, 27 Sep 2009 16:20:39 +0000 Subject: [PATCH] Remove is_shift_pressed() -- it's not been used since r4906. git-svn-id: svn://svn.tartarus.org/sgt/putty@8666 cda61777-01e9-0310-a592-d414129be87e --- windows/window.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/windows/window.c b/windows/window.c index 3ff018b1..8068bc3f 100644 --- a/windows/window.c +++ b/windows/window.c @@ -110,7 +110,6 @@ static LPARAM pend_netevent_lParam = 0; static void enact_pending_netevent(void); static void flash_window(int mode); static void sys_cursor_update(void); -static int is_shift_pressed(void); static int get_fullscreen_rect(RECT * ss); static int caret_x = -1, caret_y = -1; @@ -1909,17 +1908,6 @@ static int is_alt_pressed(void) 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; void notify_remote_exit(void *fe) -- 2.11.0