mirror of https://github.com/GNOME/gimp.git
also look at shell->space_release_pending when deciding whether to return
2006-09-22 Michael Natterer <mitch@gimp.org> * app/display/gimpdisplayshell-callbacks.c (gimp_display_shell_space_released): also look at shell->space_release_pending when deciding whether to return early.
This commit is contained in:
parent
d79ec4556a
commit
59a3dd1405
|
@ -1,3 +1,9 @@
|
|||
2006-09-22 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/display/gimpdisplayshell-callbacks.c
|
||||
(gimp_display_shell_space_released): also look at
|
||||
shell->space_release_pending when deciding whether to return early.
|
||||
|
||||
2006-09-22 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/pygimp/plug-ins/colorxhtml.py: create output that at
|
||||
|
|
|
@ -542,7 +542,7 @@ gimp_display_shell_space_released (GimpDisplayShell *shell,
|
|||
{
|
||||
Gimp *gimp = shell->display->image->gimp;
|
||||
|
||||
if (! shell->space_pressed)
|
||||
if (! shell->space_pressed && ! shell->space_release_pending)
|
||||
return;
|
||||
|
||||
switch (GIMP_DISPLAY_CONFIG (gimp->config)->space_bar_action)
|
||||
|
@ -568,7 +568,8 @@ gimp_display_shell_space_released (GimpDisplayShell *shell,
|
|||
|
||||
gdk_display_keyboard_ungrab (gtk_widget_get_display (shell->canvas), time);
|
||||
|
||||
shell->space_pressed = FALSE;
|
||||
shell->space_pressed = FALSE;
|
||||
shell->space_release_pending = FALSE;
|
||||
}
|
||||
|
||||
gboolean
|
||||
|
|
Loading…
Reference in New Issue