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/gtkintl.h | |
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/gtkintl.h')
-rw-r--r-- | gtk/gtkintl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkintl.h b/gtk/gtkintl.h index 3e03c69ce9..4b176bd9f6 100644 --- a/gtk/gtkintl.h +++ b/gtk/gtkintl.h @@ -1,7 +1,6 @@ #ifndef __GTKINTL_H__ #define __GTKINTL_H__ -#include "config.h" #include <glib/gi18n-lib.h> #ifdef ENABLE_NLS |