Commit 54002347 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

bail out when the passed display is != tool->display. Makes the keyboard

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.


svn path=/trunk/; revision=27498
parent f971d31f
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.
2008-10-31 Michael Natterer <mitch@gimp.org>
* app/tools/gimpdrawtool.[ch]: add gimp_draw_tool_draw_text_cursor()
......
......@@ -710,7 +710,7 @@ gimp_text_tool_key_press (GimpTool *tool,
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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment