diff options
author | Tor Lillqvist <tml@novell.com> | 2005-09-02 01:54:45 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2005-09-02 01:54:45 +0000 |
commit | b2595c847ca17df6858a7f90dc2a73e13c25a9c6 (patch) | |
tree | b16598100b5357cf1cbc11934fab0ff5722745e4 /gtk/gtkplug.c | |
parent | 6224a37708ac86a9b1ff0f3e6653b90aae6ba16d (diff) | |
download | gtk+-b2595c847ca17df6858a7f90dc2a73e13c25a9c6.tar.gz |
Keep track of cursor position also in root window coordinates. Prune out
2005-09-02 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Keep track of
cursor position also in root window coordinates. Prune out
superfluous WM_MOUSEMOVE messages even earlier, based on root window
coordinates. Windows sends WM_MOUSEMOVE messages after a new
window has ben mapped below the cursor even if the mouse doesn't
move. We used to generate GDK_MOTION_NOTIFY in these cases. This
confused at least gtk_menu_motion_notify(). (#314995)
* gtk/gtkintl.h: No need to include config.h here. It caused
warnings about GTK_LOCALEDIR being redefined on Win32 when
compiling files where gtkintl.h is included after gtkprivate.h
(which #undefines and re-#defines GTK_LOCALEDIR on Win32).
* gtk/gtkplug.c: Include config.h.
Diffstat (limited to 'gtk/gtkplug.c')
-rw-r--r-- | gtk/gtkplug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkplug.c b/gtk/gtkplug.c index 4b6271c329..a0403c2bcb 100644 --- a/gtk/gtkplug.c +++ b/gtk/gtkplug.c @@ -25,6 +25,8 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ +#include <config.h> + #include "gtkmain.h" #include "gtkmarshalers.h" #include "gtkplug.h" |