main: Override the workspace layout in WindowManager
https://bugzilla.gnome.org/show_bug.cgi?id=691746
This commit is contained in:
parent
b2aa29e221
commit
54a9592e19
@ -159,8 +159,6 @@ function _initializeUI() {
|
|||||||
|
|
||||||
_a11ySettings = new Gio.Settings({ schema: A11Y_SCHEMA });
|
_a11ySettings = new Gio.Settings({ schema: A11Y_SCHEMA });
|
||||||
|
|
||||||
global.screen.override_workspace_layout(Meta.ScreenCorner.TOPLEFT,
|
|
||||||
false, -1, 1);
|
|
||||||
global.display.connect('overlay-key', Lang.bind(overview, function () {
|
global.display.connect('overlay-key', Lang.bind(overview, function () {
|
||||||
if (!_a11ySettings.get_boolean (STICKY_KEYS_ENABLE))
|
if (!_a11ySettings.get_boolean (STICKY_KEYS_ENABLE))
|
||||||
overview.toggle();
|
overview.toggle();
|
||||||
|
@ -474,6 +474,9 @@ const WindowManager = new Lang.Class({
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
this._workspaceTracker = new WorkspaceTracker(this);
|
this._workspaceTracker = new WorkspaceTracker(this);
|
||||||
|
|
||||||
|
global.screen.override_workspace_layout(Meta.ScreenCorner.TOPLEFT,
|
||||||
|
false, -1, 1);
|
||||||
},
|
},
|
||||||
|
|
||||||
setCustomKeybindingHandler: function(name, modes, handler) {
|
setCustomKeybindingHandler: function(name, modes, handler) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user