Skip to content

Commit

Permalink
Add comment for focus_in handling
Browse files Browse the repository at this point in the history
  • Loading branch information
baskerville committed Sep 20, 2013
1 parent 0d1a111 commit 1ef4d4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions events.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ void focus_in(xcb_generic_event_t *evt)
if (e->mode == XCB_NOTIFY_MODE_GRAB
|| e->mode == XCB_NOTIFY_MODE_UNGRAB)
return;
/* prevent focus stealing */
if ((e->detail == XCB_NOTIFY_DETAIL_ANCESTOR ||
e->detail == XCB_NOTIFY_DETAIL_INFERIOR ||
e->detail == XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL ||
Expand Down

0 comments on commit 1ef4d4f

Please sign in to comment.