]> git.mdlowis.com Git - proto/labwc.git/commit
Fix usable area calculation
authorConsus <consus@ftml.net>
Tue, 28 Jun 2022 19:47:48 +0000 (22:47 +0300)
committerJohan Malm <johanmalm@users.noreply.github.com>
Tue, 28 Jun 2022 20:38:42 +0000 (21:38 +0100)
commitef3dbbf29ac818e21503d647fcbf947bcd85921e
tree1000d7a4b4d39adb41489281ac1a9d19fe0d8356
parenta3d3878d28cce8e7e67151c9c717299aa3f22a7a
Fix usable area calculation

Currently if a surface with exclusive zone is created prior to regular
surfaces, the size of the exclusize zone does not affect the usable area
for regular surfaces. This for example results in notifications being
rendered over the statusbar.

This commit fixes the issue by handling the surfaces with exclusive
zones first.

Fixes #420.
src/layers.c