diff options
author | Richard Hughes <richard@hughsie.com> | 2016-02-17 17:21:36 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-02-17 17:21:36 +0000 |
commit | 54aabc5a1e4cdd837975ed7f3823eb7c81256c54 (patch) | |
tree | e12e4bcea5b14a67744fdda461a30416483ae436 /0001-x11-Avoid-setting-has_pointer_focus-if-a-EWMH-compli.patch | |
parent | Backport fix for missing focus-in/out events (GNOME #677329) (diff) | |
download | gtk3-classic-build-gtk3-54aabc5a1e4cdd837975ed7f3823eb7c81256c54.tar.gz gtk3-classic-build-gtk3-54aabc5a1e4cdd837975ed7f3823eb7c81256c54.tar.bz2 gtk3-classic-build-gtk3-54aabc5a1e4cdd837975ed7f3823eb7c81256c54.zip |
Update to 3.19.9
Diffstat (limited to '0001-x11-Avoid-setting-has_pointer_focus-if-a-EWMH-compli.patch')
-rw-r--r-- | 0001-x11-Avoid-setting-has_pointer_focus-if-a-EWMH-compli.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/0001-x11-Avoid-setting-has_pointer_focus-if-a-EWMH-compli.patch b/0001-x11-Avoid-setting-has_pointer_focus-if-a-EWMH-compli.patch deleted file mode 100644 index ac7a7e2..0000000 --- a/0001-x11-Avoid-setting-has_pointer_focus-if-a-EWMH-compli.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 5b395e7bb44651f57246e9dcc78d6e1bd373f6a6 Mon Sep 17 00:00:00 2001 -From: Carlos Garnacho <carlosg@gnome.org> -Date: Fri, 13 Jun 2014 14:38:03 +0200 -Subject: [PATCH] x11: Avoid setting has_pointer_focus if a EWMH compliant WM - is present - -This is mostly useful to have focus behave sanely on lack of WM, so avoid -any check there if we're positive there is a WM handling focus. - -https://bugzilla.gnome.org/show_bug.cgi?id=677329 ---- - gdk/x11/gdkdevicemanager-core-x11.c | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/gdk/x11/gdkdevicemanager-core-x11.c b/gdk/x11/gdkdevicemanager-core-x11.c -index 8d6848869e0d..c4aac3f4dee9 100644 ---- a/gdk/x11/gdkdevicemanager-core-x11.c -+++ b/gdk/x11/gdkdevicemanager-core-x11.c -@@ -820,6 +820,7 @@ _gdk_device_manager_core_handle_focus (GdkWindow *window, - int mode) - { - GdkToplevelX11 *toplevel; -+ GdkX11Screen *x11_screen; - gboolean had_focus; - - g_return_if_fail (GDK_IS_WINDOW (window)); -@@ -880,11 +881,14 @@ _gdk_device_manager_core_handle_focus (GdkWindow *window, - toplevel->has_focus = (focus_in) ? TRUE : FALSE; - break; - case NotifyPointer: -+ x11_screen = GDK_X11_SCREEN (gdk_window_get_screen (window)); -+ - /* The X server sends NotifyPointer/NotifyGrab, - * but the pointer focus is ignored while a - * grab is in effect - */ -- if (mode != NotifyGrab && -+ if (!x11_screen->wmspec_check_window && -+ mode != NotifyGrab && - #ifdef XINPUT_2 - mode != XINotifyPassiveGrab && - mode != XINotifyPassiveUngrab && --- -2.5.0 - |