mirror of
https://github.com/swaywm/sway.git
synced 2026-04-26 06:46:26 -04:00
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
This commit is contained in:
parent
5f5076baff
commit
f3fbf19312
3 changed files with 2 additions and 24 deletions
|
|
@ -204,8 +204,8 @@ static void handle_surface_commit(struct wl_listener *listener, void *data) {
|
|||
if (wlr_output != NULL) {
|
||||
struct sway_output *output = wlr_output->data;
|
||||
struct wlr_box old_geo = layer->geo;
|
||||
arrange_layers(output);
|
||||
if (memcmp(&old_geo, &layer->geo, sizeof(struct wlr_box)) != 0) {
|
||||
arrange_layers(output);
|
||||
// TODO DAMAGE apply whole surface from previous and new geos
|
||||
} else {
|
||||
// TODO DAMAGE from surface damage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue