Skip to content

backend/x11: don't send ConfigureRequest with the same size

Kirill Primak requested to merge vyivel/wlroots:x11-output-resize into master

Under X11, ConfigureNotify means that the window has already been resized. Sending ConfigureRequest with the received size is not only useless, but also can confuse the window manager, which will probably reply with the current (i.e. old) size causing a configure loop.

Fixes: #3769 (closed)

This also fixes e.g. configuring a floating X11 output as tiled in Sway.

Merge request reports