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

@ -557,7 +557,7 @@ uicb_layout_hmirror(Uicb cmd)
layout_save_set(W->screen->seltag);
}
#define LAYOUT_INTEGRATE_DIR(D)\
#define LAYOUT_INTEGRATE_DIR(D) \
void uicb_layout_integrate_##D(Uicb cmd) \
{ \
(void)cmd; \

View File

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