aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/layer_shell.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-03-29 21:09:34 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-03-29 22:11:08 -0400
commitf3fbf193127507e5ec5d23587c3e521ac2eb5891 (patch)
tree690ec43b681205b46f4c80f6d9f5ef4010c7b0a0 /sway/desktop/layer_shell.c
parentCall arrange_windows on layer destroy (diff)
downloadsway-f3fbf193127507e5ec5d23587c3e521ac2eb5891.tar.gz
sway-f3fbf193127507e5ec5d23587c3e521ac2eb5891.tar.zst
sway-f3fbf193127507e5ec5d23587c3e521ac2eb5891.zip
Do some small cleanup
- Fix workspace events (security config isn't in use so it wasn't being sent) - Kill status bar process when swaybar exits - Don't rearrange windows on every layer surface commit
Diffstat (limited to 'sway/desktop/layer_shell.c')
-rw-r--r--sway/desktop/layer_shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/layer_shell.c b/sway/desktop/layer_shell.c
index d8ce0db1..a5cd79ba 100644
--- a/sway/desktop/layer_shell.c
+++ b/sway/desktop/layer_shell.c
@@ -204,8 +204,8 @@ static void handle_surface_commit(struct wl_listener *listener, void *data) {
204 if (wlr_output != NULL) { 204 if (wlr_output != NULL) {
205 struct sway_output *output = wlr_output->data; 205 struct sway_output *output = wlr_output->data;
206 struct wlr_box old_geo = layer->geo; 206 struct wlr_box old_geo = layer->geo;
207 arrange_layers(output);
208 if (memcmp(&old_geo, &layer->geo, sizeof(struct wlr_box)) != 0) { 207 if (memcmp(&old_geo, &layer->geo, sizeof(struct wlr_box)) != 0) {
208 arrange_layers(output);
209 // TODO DAMAGE apply whole surface from previous and new geos 209 // TODO DAMAGE apply whole surface from previous and new geos
210 } else { 210 } else {
211 // TODO DAMAGE from surface damage 211 // TODO DAMAGE from surface damage