diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-17 22:39:43 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-17 22:39:43 +0000 |
commit | 4ae9c5c307d951bf995434cfd6948c7a716516e7 (patch) | |
tree | 2f202c794043dca9ba4c4ddeae19c6adbd9c6c48 /Gui/wm | |
parent | d97e2769db3d66f3abc3a3ecb307309161f80379 (diff) |
- add playbar
- add vpotmeter
- fix gtk menu's pixel bug
- fix some critical (10l) bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8974 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/wm')
-rw-r--r-- | Gui/wm/ws.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Gui/wm/ws.c b/Gui/wm/ws.c index 979720e4dc..277452410d 100644 --- a/Gui/wm/ws.c +++ b/Gui/wm/ws.c @@ -620,12 +620,15 @@ keypressed: { /* pump all motion events from the display queue: this way it works faster when moving the window */ - static XEvent e; - while(XCheckTypedWindowEvent(display,Event->xany.window,MotionNotify,&e)){ + static XEvent e; + if ( Event->xmotion.state ) + { + while(XCheckTypedWindowEvent(display,Event->xany.window,MotionNotify,&e)){ /* FIXME: need to make sure we didn't release/press the button in between...*/ /* FIXME: do we need some timeout here to make sure we don't spend too much time removing events from the queue? */ Event = &e; + } } } goto buttonreleased; |