wayland: Don't apply old libdecor window dimensions
Don't overwrite the current dimensions unless they've actually changed, or programmatically set dimensions can be overwritten.main
parent
39e24e52c8
commit
b6a92c113f
|
@ -1087,8 +1087,6 @@ static void decoration_frame_configure(struct libdecor_frame *frame,
|
|||
window->state_not_floating = tiled;
|
||||
|
||||
/* Calculate the new window geometry */
|
||||
wind->requested_window_width = width;
|
||||
wind->requested_window_height = height;
|
||||
ConfigureWindowGeometry(window);
|
||||
|
||||
/* ... then commit the changes on the libdecor side. */
|
||||
|
|
Loading…
Reference in New Issue