projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20030505-1-src
[rocksndiamonds.git]
/
src
/
libgame
/
x11.c
diff --git
a/src/libgame/x11.c
b/src/libgame/x11.c
index 278230de2cc7ea417641c1d93981f93c9d7c2f4e..38365464e3d8617bf4d7c512f84e25cc9f46a0a1 100644
(file)
--- a/
src/libgame/x11.c
+++ b/
src/libgame/x11.c
@@
-198,12
+198,10
@@
static DrawWindow *X11InitWindow()
/* Select event types wanted */
window_event_mask =
ExposureMask | StructureNotifyMask | FocusChangeMask |
/* Select event types wanted */
window_event_mask =
ExposureMask | StructureNotifyMask | FocusChangeMask |
- ButtonPressMask | ButtonReleaseMask | PointerMotionMask |
+ ButtonPressMask | ButtonReleaseMask |
+ PointerMotionMask | PointerMotionHintMask |
KeyPressMask | KeyReleaseMask;
KeyPressMask | KeyReleaseMask;
- /* unwanted mouse motion events now get filtered out by filter function */
- /* window_event_mask |= PointerMotionHintMask; */
-
XSelectInput(display, new_window->drawable, window_event_mask);
#endif
XSelectInput(display, new_window->drawable, window_event_mask);
#endif