summaryrefslogtreecommitdiff
path: root/src/core/keybindings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/keybindings.c')
-rw-r--r--src/core/keybindings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index b1b1780a..45be2353 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -2514,7 +2514,7 @@ handle_run_command (MetaDisplay *display,
* input grabbing. This prevents race conditions with applications like
* mate-screenshot that need to grab input for area selection.
*/
- if (which >= SCREENSHOT_COMMAND_IDX && which <= WIN_SCREENSHOT_COMMAND_IDX)
+ if (which >= SCREENSHOT_COMMAND_IDX && which <= AREA_SCREENSHOT_COMMAND_IDX)
{
ungrab_keyboard (display, event->xkey.time);
}