Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
thjaeger committed Nov 5, 2008
1 parent bd140d7 commit 8d44005
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions grabber.cc
Original file line number Diff line number Diff line change
Expand Up @@ -434,12 +434,12 @@ void Grabber::select_proximity() {
XEventClass evs[2*xi_devs_n+1];
int n = 0;
evs[n++] = presence_class;
for (int i = 0; i < xi_devs_n; i++) {
if (proximity_selected && xi_devs[i]->supports_proximity) {
evs[n++] = xi_devs[i]->events[PROX_IN];
evs[n++] = xi_devs[i]->events[PROX_OUT];
}
for (int i = 0; i < xi_devs_n; i++) {
if (proximity_selected && xi_devs[i]->supports_proximity) {
evs[n++] = xi_devs[i]->events[PROX_IN];
evs[n++] = xi_devs[i]->events[PROX_OUT];
}
}
// NB: Unselecting doesn't actually work!
XSelectExtensionEvent(dpy, ROOT, evs, n);
}
Expand Down

0 comments on commit 8d44005

Please sign in to comment.