Skip to content

Commit

Permalink
fixes indentation in a couple more places
Browse files Browse the repository at this point in the history
  • Loading branch information
ileGITimo committed Nov 27, 2018
1 parent 57fea4d commit 6956ff7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions src/cursor.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ void cursor_hide(void) {
}

void cursor_find(Window *child, int *root_x, int *root_y) {
Window root;
int win_x, win_y;
unsigned int mask;
int screen;
Window root;
int win_x, win_y;
unsigned int mask;
int screen;

for (screen = 0; screen < num_screens; screen++) {
if (XQueryPointer(display, roots[screen], &root, child, root_x, root_y, &win_x, &win_y, &mask)) {
active_screen = screen;
active_root = roots[screen];
break;
for (screen = 0; screen < num_screens; screen++) {
if (XQueryPointer(display, roots[screen], &root, child, root_x, root_y, &win_x, &win_y, &mask)) {
active_screen = screen;
active_root = roots[screen];
break;
}
}
}
}
2 changes: 1 addition & 1 deletion src/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static void x_check_cb(EV_P_ ev_check *w, int revents) {

XGenericEventCookie *cookie = &ev.xcookie;
if (cookie->type != GenericEvent || cookie->extension != xi_ext_opcode ||
!XGetEventData(display, cookie)) {
!XGetEventData(display, cookie)) {
continue;
}

Expand Down

0 comments on commit 6956ff7

Please sign in to comment.