diff options
| author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-12-30 14:21:46 -0600 | 
|---|---|---|
| committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-12-30 14:21:46 -0600 | 
| commit | 72d29f165449a28f84e476803543f30f11e366e8 (patch) | |
| tree | 4bda1fd5fd82dc1b18d4617b26a171078620152c | |
| parent | update comment about client_set_size() as no-op (diff) | |
| download | dwl-72d29f165449a28f84e476803543f30f11e366e8.tar.gz dwl-72d29f165449a28f84e476803543f30f11e366e8.tar.bz2 dwl-72d29f165449a28f84e476803543f30f11e366e8.tar.xz dwl-72d29f165449a28f84e476803543f30f11e366e8.tar.zst dwl-72d29f165449a28f84e476803543f30f11e366e8.zip | |
add blank lines to make updatemons() more readable
Diffstat (limited to '')
| -rw-r--r-- | dwl.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| @@ -2459,9 +2459,12 @@ updatemons(struct wl_listener *listener, void *data)  		if (m->wlr_output->enabled  				&& !wlr_output_layout_get(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 */  	wlr_output_layout_get_box(output_layout, NULL, &sgeom); +  	wlr_scene_rect_set_size(locked_bg, sgeom.width, sgeom.height); +  	wl_list_for_each(m, &mons, link) {  		if (!m->wlr_output->enabled)  			continue; | 
