Skip to content

Layer size

Administrator requested to merge layersize into master

The allocated size is useful to know even if a size constraint is not exact.

So the size in layer_surface.set_size is a constraint, and the size received in configure is a value, which are incompatible, and setting them in one variable causes trouble.

This gets solved by requesting size without touching the configured size values.

The only exception is the time of construction, where the configured size actually is the constraint until the first received configure event. This allows specifying desired size in the construct call.

WIP because the squeekboard window making use of this doesn't seem to use available space .maybe there are more bugs with mapping

Edited by Administrator

Merge request reports

Loading