Skip to content

x11window: Disable strict geometry placement by default in wayland

David Edmundson requested to merge work/d_ed/no_strict into master

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

Edited by David Edmundson

Merge request reports

Loading