Focus back selected client before reload, add tabbing keybind in rc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user