From b2595c847ca17df6858a7f90dc2a73e13c25a9c6 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 2 Sep 2005 01:54:45 +0000 Subject: Keep track of cursor position also in root window coordinates. Prune out 2005-09-02 Tor Lillqvist * 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. --- gtk/gtkintl.h | 1 - 1 file changed, 1 deletion(-) (limited to 'gtk/gtkintl.h') 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 #ifdef ENABLE_NLS -- cgit v1.2.1