diff src/gtkconv.c @ 5114:e245e686f62f

[gaim-migrate @ 5477] Amended patch from Justin Hench (thanks): - Removed the linefeeds from Makefile.mingw and plugins/Makefile.mingw - history plugin now building for win32 - Fixed the win32 drag convo tab to new window bug. committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Sat, 12 Apr 2003 00:19:50 +0000
parents 7b218dde1d73
children c081a81ee013
line wrap: on
line diff
--- a/src/gtkconv.c	Sat Apr 12 00:10:45 2003 +0000
+++ b/src/gtkconv.c	Sat Apr 12 00:19:50 2003 +0000
@@ -1328,8 +1328,11 @@
 
 	/* Grab the pointer */
 	gtk_grab_add(gtkwin->notebook);
-
+#ifndef _WIN32
+	/* Currently for win32 GTK+ (as of 2.2.1), gdk_pointer_is_grabbed will
+	   always be true after a button press. */
 	if (!gdk_pointer_is_grabbed())
+#endif
 		gdk_pointer_grab(gtkwin->notebook->window, FALSE,
 						 GDK_BUTTON1_MOTION_MASK | GDK_BUTTON_RELEASE_MASK,
 						 NULL, cursor, GDK_CURRENT_TIME);