Skip to content

x11window: Disable strict geometry placement by default in wayland

Vlad Zahorodnii requested to merge work/cherry-pick-32be54b1 into Plasma/6.0

Strict geometry disables certain user activites; full screen requests and only sending configure events at sizes the client claims to support.

This was added as a workaround for xterm in 19 years ago. It's a client side bug as applications can still choose to ignore the configure event, so kwin shouldn't have to sanitise them in advance. xterm seems to have fixed it's bug, and pragmatically we know not all window managers perform these checks so most clients should not be relying on it.

On Wayland this additional check is proving problematic, the handling of scaling especially fractional scaling is hitting cases where it's better to always ask the client to do what kwin wants.

Tests that refer to sizeIncrements are dropped as they are only used in the strict geometry passes which is being obsoleted. Resizing in general is still tested.

BUG: 481456

(cherry picked from commit 32be54b1)

Merge request reports