File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -402,7 +402,7 @@ export class ShellWindow {
402
402
let border = this . border ;
403
403
let monitor_count = this . meta . get_display ( ) . get_n_monitors ( ) ;
404
404
if ( ! this . meta . is_fullscreen ( ) &&
405
- ! ( this . is_maximized ( ) && monitor_count == 1 ) &&
405
+ ! ( this . is_max_screen ( ) && monitor_count == 1 ) &&
406
406
! this . meta . minimized &&
407
407
this . same_workspace ( ) ) {
408
408
if ( this . meta . appears_focused ) {
@@ -428,7 +428,9 @@ export class ShellWindow {
428
428
restack ( updateState : RESTACK_STATE = RESTACK_STATE . NORMAL ) {
429
429
this . update_border_layout ( ) ;
430
430
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 ) {
432
434
this . hide_border ( )
433
435
}
434
436
You can’t perform that action at this time.
0 commit comments