[gtk+] Generate correct grab broken event for WM_KILLFOCUS
- From: Tor Lillqvist <tml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Generate correct grab broken event for WM_KILLFOCUS
- Date: Tue, 22 Jun 2010 18:34:26 +0000 (UTC)
commit adf1bbe28a3edd0bc40fa447adc8a9185905bc31
Author: Tor Lillqvist <tml iki fi>
Date: Tue Jun 22 21:15:59 2010 +0300
Generate correct grab broken event for WM_KILLFOCUS
WM_KILLFOCUS means that a keyboard grab (not a pointer grab), if any,
has been broken. I don't think this bug has matterd much as gtk
generates a grab-broken-event signal for both keybord and pointer
grabs being broken anyway.
gdk/win32/gdkevents-win32.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c
index d166980..e2f2471 100644
--- a/gdk/win32/gdkevents-win32.c
+++ b/gdk/win32/gdkevents-win32.c
@@ -2517,7 +2517,7 @@ gdk_event_translate (MSG *msg,
if (keyboard_grab != NULL &&
!GDK_WINDOW_DESTROYED (keyboard_grab->window))
{
- generate_grab_broken_event (device_manager, keyboard_grab->window, FALSE, NULL);
+ generate_grab_broken_event (device_manager, keyboard_grab->window, TRUE, NULL);
}
/* fallthrough */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]