mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
add blank lines to make updatemons() more readable
This commit is contained in:
parent
e523c2b82b
commit
72d29f1654
1 changed files with 3 additions and 0 deletions
3
dwl.c
3
dwl.c
|
@ -2459,9 +2459,12 @@ updatemons(struct wl_listener *listener, void *data)
|
||||||
if (m->wlr_output->enabled
|
if (m->wlr_output->enabled
|
||||||
&& !wlr_output_layout_get(output_layout, m->wlr_output))
|
&& !wlr_output_layout_get(output_layout, m->wlr_output))
|
||||||
wlr_output_layout_add_auto(output_layout, m->wlr_output);
|
wlr_output_layout_add_auto(output_layout, m->wlr_output);
|
||||||
|
|
||||||
/* Now that we update the output layout we can get its box */
|
/* Now that we update the output layout we can get its box */
|
||||||
wlr_output_layout_get_box(output_layout, NULL, &sgeom);
|
wlr_output_layout_get_box(output_layout, NULL, &sgeom);
|
||||||
|
|
||||||
wlr_scene_rect_set_size(locked_bg, sgeom.width, sgeom.height);
|
wlr_scene_rect_set_size(locked_bg, sgeom.width, sgeom.height);
|
||||||
|
|
||||||
wl_list_for_each(m, &mons, link) {
|
wl_list_for_each(m, &mons, link) {
|
||||||
if (!m->wlr_output->enabled)
|
if (!m->wlr_output->enabled)
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue