Client: Add frame_update({c1, c2}) to draw the right title
This commit is contained in:
parent
96cc645788
commit
29bc1bc2f1
@ -671,7 +671,7 @@ client_size_hints(Client *c)
|
||||
void
|
||||
client_swap(Client *c1, Client *c2)
|
||||
{
|
||||
/* Swap juste the window */
|
||||
/* Swap only the window */
|
||||
swap_ptr((void**)&c1->win, (void**)&c2->win);
|
||||
swap_ptr((void**)&c1->title, (void**)&c2->title);
|
||||
|
||||
@ -693,6 +693,10 @@ client_swap(Client *c1, Client *c2)
|
||||
if(c1->screen != c2->screen)
|
||||
arrange(c2->screen);
|
||||
|
||||
/* Update frame to draw the right title */
|
||||
frame_update(c1);
|
||||
frame_update(c2);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user