File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -644,13 +644,6 @@ class XpraWindow {
644644 if ( "window-type" in metadata ) {
645645 this . windowtype = metadata [ "window-type" ] ;
646646 }
647- if ( "decorations" in metadata ) {
648- this . decorations = Boolean ( metadata [ "decorations" ] ) ;
649- this . _set_decorated ( this . decorations ) ;
650- this . updateCSSGeometry ( ) ;
651- this . handle_resized ( ) ;
652- this . apply_size_constraints ( ) ;
653- }
654647 if ( "opacity" in metadata ) {
655648 let opacity = metadata [ "opacity" ] ;
656649 opacity = opacity < 0 ? 1 : opacity / 0x1_00_00_00_00 ;
@@ -773,6 +766,13 @@ class XpraWindow {
773766 if ( "maximized" in metadata ) {
774767 this . set_maximized ( Boolean ( metadata [ "maximized" ] ) ) ;
775768 }
769+ if ( "decorations" in metadata ) {
770+ this . decorations = Boolean ( metadata [ "decorations" ] ) ;
771+ this . _set_decorated ( this . decorations ) ;
772+ this . updateCSSGeometry ( ) ;
773+ this . handle_resized ( ) ;
774+ this . apply_size_constraints ( ) ;
775+ }
776776 }
777777
778778 /**
You can’t perform that action at this time.
0 commit comments