fix vlc bug
This commit is contained in:
parent
2c3dc9a4dc
commit
9cdc7c3ef9
|
@ -105,7 +105,8 @@ scan(Display *disp, DC *drawcontext, awesome_config *awesomeconf)
|
||||||
for(i = 0; i < num; i++)
|
for(i = 0; i < num; i++)
|
||||||
{
|
{
|
||||||
if(!XGetWindowAttributes(disp, wins[i], &wa)
|
if(!XGetWindowAttributes(disp, wins[i], &wa)
|
||||||
|| wa.override_redirect || XGetTransientForHint(disp, wins[i], &d1))
|
|| wa.override_redirect
|
||||||
|
|| XGetTransientForHint(disp, wins[i], &d1))
|
||||||
continue;
|
continue;
|
||||||
if(wa.map_state == IsViewable || getstate(disp, wins[i]) == IconicState)
|
if(wa.map_state == IsViewable || getstate(disp, wins[i]) == IconicState)
|
||||||
manage(disp, drawcontext, wins[i], &wa, awesomeconf);
|
manage(disp, drawcontext, wins[i], &wa, awesomeconf);
|
||||||
|
|
2
client.c
2
client.c
|
@ -413,7 +413,7 @@ manage(Display * disp, DC *drawcontext, Window w, XWindowAttributes * wa, awesom
|
||||||
attach(c);
|
attach(c);
|
||||||
attachstack(c);
|
attachstack(c);
|
||||||
XMoveResizeWindow(disp, c->win, c->x, c->y, c->w, c->h); /* some windows require this */
|
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);
|
arrange(disp, drawcontext, awesomeconf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue