File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -1109,6 +1109,8 @@ export class Ext extends Ecs.System<ExtEvent> {
1109
1109
move_monitor ( direction : Meta . DisplayDirection ) {
1110
1110
const win = this . focus_window ( ) ;
1111
1111
if ( ! win ) return ;
1112
+ if ( win && win . meta . is_fullscreen ( ) )
1113
+ win . meta . unmake_fullscreen ( ) ;
1112
1114
1113
1115
const prev_monitor = win . meta . get_monitor ( ) ;
1114
1116
let next_monitor = Tiling . locate_monitor ( win , direction ) ;
@@ -1130,6 +1132,8 @@ export class Ext extends Ecs.System<ExtEvent> {
1130
1132
move_workspace ( direction : Meta . DisplayDirection ) {
1131
1133
const win = this . focus_window ( ) ;
1132
1134
if ( ! win ) return ;
1135
+ if ( win && win . meta . is_fullscreen ( ) )
1136
+ win . meta . unmake_fullscreen ( ) ;
1133
1137
1134
1138
/** Move a window between workspaces */
1135
1139
const workspace_move = ( direction : Meta . MotionDirection ) => {
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ export class Tiler {
72
72
toggle_stacking ( ext : Ext ) {
73
73
ext . auto_tiler ?. toggle_stacking ( ext ) ;
74
74
const win = ext . focus_window ( ) ;
75
- if ( win && ! win . meta . is_fullscreen ( ) ) this . overlay_watch ( ext , win ) ;
75
+ if ( win ) this . overlay_watch ( ext , win ) ;
76
76
}
77
77
78
78
rect ( ext : Ext , monitor : Rectangle ) : Rectangle | null {
@@ -194,7 +194,11 @@ export class Tiler {
194
194
if ( this . queue . length === 2 ) return ;
195
195
this . queue . send ( ( ) => {
196
196
const focused = ext . focus_window ( ) ;
197
- if ( focused && ! focused . meta . is_fullscreen ( ) ) {
197
+ if ( focused ) {
198
+ if ( focused . meta . is_fullscreen ( ) ) {
199
+ focused . meta . unmake_fullscreen ( ) ;
200
+ }
201
+
198
202
// The window that the focused window is being moved onto
199
203
const move_to = focus ( ) ;
200
204
@@ -700,7 +704,6 @@ export class Tiler {
700
704
if ( ! this . window ) {
701
705
const win = ext . focus_window ( ) ;
702
706
if ( ! win ) return ;
703
- if ( win && win . meta . is_fullscreen ( ) ) return ;
704
707
705
708
this . window = win . entity ;
706
709
You can’t perform that action at this time.
0 commit comments