-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from ebeem/multi_monitor_support_3
Support multi-monitor setups
- Loading branch information
Showing
9 changed files
with
185 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const Main = imports.ui.main; | ||
const WorkspaceThumbnail = imports.ui.workspaceThumbnail.WorkspaceThumbnail; | ||
|
||
var WsmatrixThumbnail = class WsmatrixThumbnail extends WorkspaceThumbnail { | ||
constructor(metaWorkspace, monitorIndex) { | ||
let tempPrimaryIndex = Main.layoutManager.primaryIndex; | ||
Main.layoutManager.primaryIndex = monitorIndex; | ||
super(metaWorkspace); | ||
Main.layoutManager.primaryIndex = tempPrimaryIndex; | ||
} | ||
} |
Oops, something went wrong.