From 400e1fd2930f76cb49457ce213c52c6a691bb17b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= Date: Fri, 21 Jul 2017 17:48:55 +0300 Subject: keybindings: use meta_error_trap_pop in grab_keyboard We are not using return value from meta_error_trap_pop_with_return if keyboard grab has failed, replace it with meta_error_trap_pop. --- src/core/keybindings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/keybindings.c b/src/core/keybindings.c index 6a1d144b..564abca1 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -890,7 +890,7 @@ grab_keyboard (MetaDisplay *display, if (grab_status != GrabSuccess) { - meta_error_trap_pop_with_return (display); + meta_error_trap_pop (display); meta_topic (META_DEBUG_KEYBINDINGS, "XGrabKeyboard() returned failure status %s time %u\n", grab_status_to_string (grab_status), -- cgit v1.2.1