Fix while client_gb_titlebar
This commit is contained in:
parent
0d0cb3190a
commit
fe7cf64407
@ -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;
|
||||
|
||||
@ -114,7 +114,7 @@ struct status_ctx
|
||||
{
|
||||
struct barwin *barwin;
|
||||
struct theme *theme;
|
||||
#define STATUS_BLOCK_REFRESH 0x01
|
||||
#define STATUS_BLOCK_REFRESH 0x01
|
||||
Flags flags;
|
||||
char *status;
|
||||
bool update;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user