mirror of https://github.com/GNOME/gimp.git
switch off fullscreen mode on Escape key press events only. The shell
2003-12-11 Sven Neumann <sven@gimp.org> * app/display/gimpdisplayshell-callbacks.c (gimp_display_shell_events): switch off fullscreen mode on Escape key press events only. The shell should not react on the key release event it gets when a dialog is closed using the Escape key.
This commit is contained in:
parent
f5af3d3a66
commit
1bc30847cc
|
@ -1,3 +1,10 @@
|
|||
2003-12-11 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/display/gimpdisplayshell-callbacks.c (gimp_display_shell_events):
|
||||
switch off fullscreen mode on Escape key press events only. The shell
|
||||
should not react on the key release event it gets when a dialog is
|
||||
closed using the Escape key.
|
||||
|
||||
2003-12-09 DindinX <david@dindinx.org>
|
||||
|
||||
* libgimp/gimpmiscui.c:
|
||||
|
|
|
@ -168,7 +168,8 @@ gimp_display_shell_events (GtkWidget *widget,
|
|||
break;
|
||||
|
||||
case GDK_Escape:
|
||||
gimp_display_shell_set_fullscreen (shell, FALSE);
|
||||
if (event->type == GDK_KEY_PRESS)
|
||||
gimp_display_shell_set_fullscreen (shell, FALSE);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue