gimp r27498 - in trunk: . app/tools



Author: mitch
Date: Fri Oct 31 16:49:59 2008
New Revision: 27498
URL: http://svn.gnome.org/viewvc/gimp?rev=27498&view=rev

Log:
2008-10-31  Michael Natterer  <mitch gimp org>

	* app/tools/gimptexttool.c (gimp_text_tool_key_press): bail out
	when the passed display is != tool->display. Makes the keyboard
	work in other displays while the text tools is active.



Modified:
   trunk/ChangeLog
   trunk/app/tools/gimptexttool.c

Modified: trunk/app/tools/gimptexttool.c
==============================================================================
--- trunk/app/tools/gimptexttool.c	(original)
+++ trunk/app/tools/gimptexttool.c	Fri Oct 31 16:49:59 2008
@@ -710,7 +710,7 @@
   gint          x_pos  = -1;
   gboolean      retval = TRUE;
 
-  if (! tool->display)
+  if (display != tool->display)
     return FALSE;
 
   if (gtk_im_context_filter_keypress (text_tool->im_context, kevent))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]