We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 988a618 commit 9507dc3Copy full SHA for 9507dc3
src/window.ts
@@ -550,8 +550,11 @@ export class ShellWindow {
550
if (dimensions) {
551
[x, y, width, height] = dimensions
552
553
- const screen = this.meta.get_workspace()
554
- .get_work_area_for_monitor(this.meta.get_monitor())
+ const workspace = this.meta.get_workspace();
+
555
+ if (workspace === null) return;
556
557
+ const screen = workspace.get_work_area_for_monitor(this.meta.get_monitor())
558
559
if (screen) {
560
x = Math.max(x, screen.x)
0 commit comments