Fix client covering new bar at reload

This commit is contained in:
Martin Duquesnoy 2012-01-29 16:42:12 +01:00
parent 7777dba930
commit 00c6cfebd2
2 changed files with 5 additions and 1 deletions

View File

@ -23,6 +23,7 @@
#include "config.h" #include "config.h"
#include "client.h" #include "client.h"
#include "fifo.h" #include "fifo.h"
#include "layout.h"
int int
wmfs_error_handler(Display *d, XErrorEvent *event) wmfs_error_handler(Display *d, XErrorEvent *event)
@ -344,6 +345,9 @@ wmfs_scan(void)
if((fc = client_gb_win(focus)) && fc != W->client) if((fc = client_gb_win(focus)) && fc != W->client)
client_focus(fc); client_focus(fc);
SLIST_FOREACH(c, &W->h.client, next)
layout_fix_hole(c);
W->flags &= ~WMFS_SCAN; W->flags &= ~WMFS_SCAN;
if(tret) if(tret)