From 9cdc7c3ef9adfc0563977d94e3debc52e8f8b7e3 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 15 Sep 2007 20:24:40 +0200 Subject: [PATCH] fix vlc bug --- awesome.c | 3 ++- client.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/awesome.c b/awesome.c index df55780b..da49d533 100644 --- a/awesome.c +++ b/awesome.c @@ -105,7 +105,8 @@ scan(Display *disp, DC *drawcontext, awesome_config *awesomeconf) for(i = 0; i < num; i++) { if(!XGetWindowAttributes(disp, wins[i], &wa) - || wa.override_redirect || XGetTransientForHint(disp, wins[i], &d1)) + || wa.override_redirect + || XGetTransientForHint(disp, wins[i], &d1)) continue; if(wa.map_state == IsViewable || getstate(disp, wins[i]) == IconicState) manage(disp, drawcontext, wins[i], &wa, awesomeconf); diff --git a/client.c b/client.c index 6a415dde..7dd1a5b4 100644 --- a/client.c +++ b/client.c @@ -413,7 +413,7 @@ manage(Display * disp, DC *drawcontext, Window w, XWindowAttributes * wa, awesom attach(c); attachstack(c); XMoveResizeWindow(disp, c->win, c->x, c->y, c->w, c->h); /* some windows require this */ - ban(c); + c->isbanned = True; arrange(disp, drawcontext, awesomeconf); }