This is an automated email from the git hooks/post-receive script. f 2 4 0 4 p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository apps/xfce4-terminal.
commit 2f6db7f83c6db2e12e76ebb4a75ff1bd3eea38cf Author: Igor <[email protected]> Date: Mon Mar 19 09:17:52 2018 -0400 Fix drop-down terminal hotkey This reverts commit 386e42995d71149d05f232e95d175a853a2f0bf2. Resolving deprecation warnings has apparently broken the functionality. Fixes bug #14289 --- terminal/terminal-window-dropdown.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/terminal/terminal-window-dropdown.c b/terminal/terminal-window-dropdown.c index fde9350..2e6391c 100644 --- a/terminal/terminal-window-dropdown.c +++ b/terminal/terminal-window-dropdown.c @@ -579,26 +579,12 @@ static gboolean terminal_window_dropdown_can_grab (gpointer data) { GdkWindow *window = gtk_widget_get_window (GTK_WIDGET (data)); - GdkGrabStatus status; -#if GTK_CHECK_VERSION (3, 20, 0) - GdkDisplay *display = gdk_window_get_display (window); - GdkSeat *seat = gdk_display_get_default_seat (display); - - status = gdk_seat_grab (seat, window, - GDK_SEAT_CAPABILITY_POINTER | GDK_SEAT_CAPABILITY_KEYBOARD, - FALSE, NULL, NULL, NULL, NULL); -#else - status = gdk_keyboard_grab (window, FALSE, GDK_CURRENT_TIME); -#endif + GdkGrabStatus status = gdk_keyboard_grab (window, FALSE, GDK_CURRENT_TIME); if (status == GDK_GRAB_SUCCESS) { /* drop the grab */ -#if GTK_CHECK_VERSION (3, 20, 0) - gdk_seat_ungrab (seat); -#else gdk_keyboard_ungrab (GDK_CURRENT_TIME); -#endif return FALSE; } -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list [email protected] https://mail.xfce.org/mailman/listinfo/xfce4-commits
