Focus back selected client before reload, add tabbing keybind in rc

This commit is contained in:
Martin Duquesnoy
2011-11-30 19:53:59 +01:00
parent be41fa5de8
commit 73b25fe3c7
8 changed files with 63 additions and 22 deletions

View File

@@ -52,7 +52,10 @@ event_enternotify(XEvent *e)
if(c->flags & CLIENT_IGNORE_ENTER)
c->flags ^= CLIENT_IGNORE_ENTER;
else if(c != W->client)
{
client_focus(c);
puts("ENTER");
}
}
}
@@ -112,10 +115,10 @@ event_destroynotify(XEvent *e)
static void
event_focusin(XEvent *e)
{
if(W->client
/*if(W->client
&& e->xfocus.window != W->client->win
&& e->xfocus.window != W->client->frame)
client_focus(W->client);
client_focus(W->client);*/
}
static void