Mercurial > mplayer.hg
changeset 35670:8ce9bc8aa443
Remove unused code.
author | ib |
---|---|
date | Thu, 17 Jan 2013 15:46:21 +0000 |
parents | e7bd98b3ad6c |
children | 96adc233474d |
files | gui/wm/ws.c gui/wm/ws.h |
diffstat | 2 files changed, 0 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/wm/ws.c Thu Jan 17 15:44:23 2013 +0000 +++ b/gui/wm/ws.c Thu Jan 17 15:46:21 2013 +0000 @@ -621,8 +621,6 @@ XSync(wsDisplay, False); win->ReDraw = NULL; - win->ReSize = NULL; - win->Idle = NULL; win->MouseHandler = NULL; win->KeyHandler = NULL; mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[ws] window is created. ( %s ).\n", label); @@ -680,8 +678,6 @@ XDestroyWindow(wsDisplay, win->WindowID); #if 0 win->ReDraw = NULL; - win->ReSize = NULL; - win->Idle = NULL; win->MouseHandler = NULL; win->KeyHandler = NULL; win->Visible = wsNo; @@ -820,9 +816,6 @@ wsWindowList[l]->Y = y; wsWindowList[l]->Width = event->xconfigure.width; wsWindowList[l]->Height = event->xconfigure.height; - - if (wsWindowList[l]->ReSize) - wsWindowList[l]->ReSize(wsWindowList[l]->X, wsWindowList[l]->Y, wsWindowList[l]->Width, wsWindowList[l]->Height); } wsWindowList[l]->Rolled = wsNo; @@ -1143,9 +1136,6 @@ wsSizeHint(win); XMoveWindow(wsDisplay, win->WindowID, win->X, win->Y); - - if (win->ReSize) - win->ReSize(win->X, win->Y, win->Width, win->Height); } /** @@ -1197,9 +1187,6 @@ wsSizeHint(win); XResizeWindow(wsDisplay, win->WindowID, sx, sy); - if (win->ReSize) - win->ReSize(win->X, win->Y, win->Width, win->Height); - if (vo_wm_type == 0) XMapWindow(wsDisplay, win->WindowID); }
--- a/gui/wm/ws.h Thu Jan 17 15:44:23 2013 +0000 +++ b/gui/wm/ws.h Thu Jan 17 15:46:21 2013 +0000 @@ -95,8 +95,6 @@ #define wsRolled 6 typedef void (*wsTReDraw)(void); -typedef void (*wsTReSize)(unsigned int X, unsigned int Y, unsigned int width, unsigned int height); -typedef void (*wsTIdle)(void); typedef void (*wsTKeyHandler)(int KeyCode, int Type, int Key); typedef void (*wsTMouseHandler)(int Button, int X, int Y, int RX, int RY); typedef void (*wsTDNDHandler)(int num, char **str); @@ -122,8 +120,6 @@ int Rolled; wsTReDraw ReDraw; - wsTReSize ReSize; - wsTIdle Idle; wsTKeyHandler KeyHandler; wsTMouseHandler MouseHandler; wsTDNDHandler DandDHandler;