]> git.mdlowis.com Git - proto/labwc.git/commit
output: Add output_update_usable_area/all_usable_areas()
authorJohn Lindgren <john@jlindgren.net>
Wed, 16 Nov 2022 17:43:59 +0000 (12:43 -0500)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Fri, 6 Jan 2023 13:51:46 +0000 (14:51 +0100)
commited31381eb888a6fa8eaf379f2ff7f34ceadebdf4
tree3fbdc2478651960d2c1e1571b92638d3997d2294
parentaf56b68041200086cb21b20acf416bf0f24f5f9e
output: Add output_update_usable_area/all_usable_areas()

Move the desktop_arrange_all_views() call outside layers_arrange() into
a new function, output_update_usable_area().  The new function currently
does exactly what layers_arrange() used to, but will be expanded in a
later commit.

Add output_update_all_usable_areas(), which is the same as calling
output_update_usable_area() for each output, but only calls
desktop_arrange_all_views() once.

Rebased and slightly modified by @Consolatis
include/labwc.h
src/layers.c
src/output.c
src/server.c