grabHelper: Set _grabbedFromKeynav
This one got lost in commit b203a95a7
.
https://bugzilla.gnome.org/show_bug.cgi?id=683546
This commit is contained in:
parent
daceb8105f
commit
f6645a41d2
@ -203,7 +203,7 @@ const GrabHelper = new Lang.Class({
|
|||||||
global.sync_pointer();
|
global.sync_pointer();
|
||||||
},
|
},
|
||||||
|
|
||||||
_takeFocusGrab: function() {
|
_takeFocusGrab: function(hadFocus) {
|
||||||
let firstGrab = (this._grabFocusCount == 0);
|
let firstGrab = (this._grabFocusCount == 0);
|
||||||
this._grabFocusCount++;
|
this._grabFocusCount++;
|
||||||
if (!firstGrab)
|
if (!firstGrab)
|
||||||
@ -211,6 +211,7 @@ const GrabHelper = new Lang.Class({
|
|||||||
|
|
||||||
let metaDisplay = global.screen.get_display();
|
let metaDisplay = global.screen.get_display();
|
||||||
|
|
||||||
|
this._grabbedFromKeynav = hadFocus;
|
||||||
this._preGrabInputMode = global.stage_input_mode;
|
this._preGrabInputMode = global.stage_input_mode;
|
||||||
this._prevFocusedWindow = metaDisplay.focus_window;
|
this._prevFocusedWindow = metaDisplay.focus_window;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user