Skip to content

Commit 4a5a783

Browse files
jmmarananmmstick
authored andcommitted
fix: do not check gaps for single screen
1 parent eefa856 commit 4a5a783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/window.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ export class ShellWindow {
254254

255255
is_single_max_screen(): boolean {
256256
let monitor_count = this.meta.get_display().get_n_monitors();
257-
return this.is_max_screen() && monitor_count == 1;
257+
return (this.is_maximized() || this.smart_gapped) && monitor_count == 1;
258258
}
259259

260260
is_snap_edge(): boolean {

0 commit comments

Comments
 (0)