Mercurial > mplayer.hg
changeset 35668:ae1d6da2c9ea
Remove unused wsKeyTable.
author | ib |
---|---|
date | Thu, 17 Jan 2013 15:25:56 +0000 |
parents | 3ed198bf4f21 |
children | e7bd98b3ad6c |
files | gui/wm/ws.c gui/wm/ws.h |
diffstat | 2 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/wm/ws.c Thu Jan 17 15:21:08 2013 +0000 +++ b/gui/wm/ws.c Thu Jan 17 15:25:56 2013 +0000 @@ -99,8 +99,6 @@ #define wsWLCount 5 static wsWindow *wsWindowList[wsWLCount]; -static unsigned long wsKeyTable[512]; - static int wsUseXShm = True; static int wsUseXShape = True; @@ -876,7 +874,6 @@ if (keySym != NoSymbol) { keySym = ((keySym & 0xff00) != 0 ? ((keySym & 0x00ff) + 256) : (keySym)); - wsKeyTable[keySym] = i; if (wsWindowList[l]->KeyHandler) wsWindowList[l]->KeyHandler(event->xkey.state, i, keySym); @@ -891,7 +888,6 @@ XLookupString(&event->xkey, buf, sizeof(buf), &keySym, &stat); key = ((keySym & 0xff00) != 0 ? ((keySym & 0x00ff) + 256) : (keySym)); - wsKeyTable[key] = i; if (wsWindowList[l]->KeyHandler) wsWindowList[l]->KeyHandler(event->xkey.keycode, i, key);
--- a/gui/wm/ws.h Thu Jan 17 15:21:08 2013 +0000 +++ b/gui/wm/ws.h Thu Jan 17 15:25:56 2013 +0000 @@ -178,8 +178,6 @@ extern int wsDepthOnScreen; // ---------------------------------------------------------------------------------------------- -// wsKeyTable -// ---------------------------------------------------------------------------------------------- void wsXDone(void); void wsXInit(Display *display); void wsSetErrorHandler(void);