Skip to content

Commit 1511bd1

Browse files
committed
screenshot.js: Don't allow keybindings during screenshot interaction.
1 parent dc93701 commit 1511bd1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

js/ui/screenshot.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ class SelectArea {
342342
}
343343

344344
show() {
345-
if (!Main.pushModal(this._group, undefined, undefined, Cinnamon.ActionMode.SYSTEM_MODAL,
345+
if (!Main.pushModal(this._group, undefined, undefined, Cinnamon.ActionMode.NONE,
346346
() => this._ungrab()))
347347
return;
348348
this._group.connect('key-press-event', (o, e) => this._onKeyPressEvent(o, e));
@@ -480,7 +480,7 @@ class PickColor {
480480
}
481481

482482
show() {
483-
if (!Main.pushModal(this._group, undefined, undefined, Cinnamon.ActionMode.SYSTEM_MODAL,
483+
if (!Main.pushModal(this._group, undefined, undefined, Cinnamon.ActionMode.NONE,
484484
() => this._ungrab()))
485485
return;
486486
this._group.connect('key-press-event', (o, e) => this._onKeyPressEvent(o, e));
@@ -618,7 +618,7 @@ class SelectWindow {
618618
}
619619

620620
show() {
621-
if (!Main.pushModal(this._group, undefined, undefined, Cinnamon.ActionMode.SYSTEM_MODAL,
621+
if (!Main.pushModal(this._group, undefined, undefined, Cinnamon.ActionMode.NONE,
622622
() => this._ungrab()))
623623
return;
624624
this._group.connect('key-press-event', this._onKeyPressEvent.bind(this));

0 commit comments

Comments
 (0)