Fix while client_gb_titlebar

This commit is contained in:
Martin Duquesnoy 2012-03-08 16:28:47 +01:00
parent 0d0cb3190a
commit fe7cf64407
2 changed files with 2 additions and 2 deletions

View File

@ -160,7 +160,7 @@ client_gb_titlebar(Window w)
if(!c->titlebar)
return NULL;
while(c && c->titlebar->win != w)
while(c)
{
if(c->titlebar->win == w)
return c;