Skip to content

Commit 6ef6fff

Browse files
jmmarananmmstick
authored andcommitted
fix: hide hint on minimize
1 parent e340a81 commit 6ef6fff

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/window.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ export class ShellWindow {
402402
let border = this.border;
403403
let monitor_count = this.meta.get_display().get_n_monitors();
404404
if (!this.meta.is_fullscreen() &&
405-
!(this.is_maximized() && monitor_count == 1) &&
405+
!(this.is_max_screen() && monitor_count == 1) &&
406406
!this.meta.minimized &&
407407
this.same_workspace()) {
408408
if (this.meta.appears_focused) {
@@ -428,7 +428,9 @@ export class ShellWindow {
428428
restack(updateState: RESTACK_STATE = RESTACK_STATE.NORMAL) {
429429
this.update_border_layout();
430430
let monitor_count = this.meta.get_display().get_n_monitors();
431-
if (this.meta.is_fullscreen() || (this.is_max_screen() && monitor_count == 1)) {
431+
if (this.meta.is_fullscreen() ||
432+
(this.is_max_screen() && monitor_count == 1) ||
433+
this.meta.minimized) {
432434
this.hide_border()
433435
}
434436

0 commit comments

Comments
 (0)