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.
This commit is contained in:
@@ -1087,8 +1087,6 @@ static void decoration_frame_configure(struct libdecor_frame *frame,
|
|||||||
window->state_not_floating = tiled;
|
window->state_not_floating = tiled;
|
||||||
|
|
||||||
/* Calculate the new window geometry */
|
/* Calculate the new window geometry */
|
||||||
wind->requested_window_width = width;
|
|
||||||
wind->requested_window_height = height;
|
|
||||||
ConfigureWindowGeometry(window);
|
ConfigureWindowGeometry(window);
|
||||||
|
|
||||||
/* ... then commit the changes on the libdecor side. */
|
/* ... then commit the changes on the libdecor side. */
|
||||||
|
|||||||
Reference in New Issue
Block a user