diff options
Diffstat (limited to 'community/lightdm-gtk2-greeter/tooltip-focus.patch')
-rw-r--r-- | community/lightdm-gtk2-greeter/tooltip-focus.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/community/lightdm-gtk2-greeter/tooltip-focus.patch b/community/lightdm-gtk2-greeter/tooltip-focus.patch deleted file mode 100644 index 9444222a9..000000000 --- a/community/lightdm-gtk2-greeter/tooltip-focus.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- a/src/lightdm-gtk-greeter.c 2014-03-26 10:28:44 +0000 -+++ b/src/lightdm-gtk-greeter.c 2014-04-23 11:04:01 +0000 -@@ -2203,6 +2203,7 @@ - Window keyboard_xid = 0; - GdkDisplay* display = gdk_x11_lookup_xdisplay (xevent->xmap.display); - GdkWindow* win = gdk_x11_window_foreign_new_for_display (display, xwin); -+ GdkWindowTypeHint win_type = gdk_window_get_type_hint (win); - - /* Check to see if this window is our onboard window, since we don't want to focus it. */ - if (keyboard_win) -@@ -2211,8 +2212,10 @@ - #else - keyboard_xid = gdk_x11_drawable_get_xid (keyboard_win); - #endif -- -- if (xwin != keyboard_xid && gdk_window_get_type_hint (win) != GDK_WINDOW_TYPE_HINT_NOTIFICATION) -+ -+ if (xwin != keyboard_xid -+ && win_type != GDK_WINDOW_TYPE_HINT_TOOLTIP -+ && win_type != GDK_WINDOW_TYPE_HINT_NOTIFICATION) - { - gdk_window_focus (win, GDK_CURRENT_TIME); - /* Make sure to keep keyboard above */ - |