diff options
| author | Victor Kareh <[email protected]> | 2025-08-29 13:45:48 -0400 |
|---|---|---|
| committer | Luke from DC <[email protected]> | 2025-11-01 19:22:36 +0000 |
| commit | 7433837df6c936ffaadd6af689a83ba4e9c4f64a (patch) | |
| tree | 0ec6f20b308e03e9d7e0f314d525168fddfeba88 /src/core/keybindings.c | |
| parent | 7e100f3ed4f1279c67d596654b665e3f347ca455 (diff) | |
| download | marco-7433837df6c936ffaadd6af689a83ba4e9c4f64a.tar.bz2 marco-7433837df6c936ffaadd6af689a83ba4e9c4f64a.tar.xz | |
Add Shift+Print keybinding to trigger 'mate-screenshot --area' for
interactive area selection. This gives users a dedicated keybinding for
area screenshots in addition to the existing Print (screen) and
Alt+Print (window) shortcuts.
Fixes mate-desktop/marco#157
Diffstat (limited to 'src/core/keybindings.c')
| -rw-r--r-- | src/core/keybindings.c | 2 |
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); } |
