mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-08 08:21:00 -04:00
Fix windows not showing up switching between tags
When switching from an empty tag to a tag with clients the screen wasn't updating. This is easily fixed damaging the screen directly in arrange()
This commit is contained in:
parent
914bb4c886
commit
64b5c4c9f9
1 changed files with 1 additions and 2 deletions
3
dwl.c
3
dwl.c
|
|
@ -505,6 +505,7 @@ arrange(Monitor *m)
|
|||
else if (m->fullscreenclient)
|
||||
maximizeclient(m->fullscreenclient);
|
||||
/* TODO recheck pointer focus here... or in resize()? */
|
||||
wlr_output_damage_add_whole(m->damage);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -2028,7 +2029,6 @@ setmon(Client *c, Monitor *m, unsigned int newtags)
|
|||
if (oldmon) {
|
||||
wlr_surface_send_leave(client_surface(c), oldmon->wlr_output);
|
||||
arrange(oldmon);
|
||||
wlr_output_damage_add_whole(oldmon->damage);
|
||||
}
|
||||
if (m) {
|
||||
/* Make sure window actually overlaps with the monitor */
|
||||
|
|
@ -2036,7 +2036,6 @@ setmon(Client *c, Monitor *m, unsigned int newtags)
|
|||
wlr_surface_send_enter(client_surface(c), m->wlr_output);
|
||||
c->tags = newtags ? newtags : m->tagset[m->seltags]; /* assign tags of target monitor */
|
||||
arrange(m);
|
||||
wlr_output_damage_add_whole(m->damage);
|
||||
}
|
||||
focusclient(focustop(selmon), 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue