Skip to content

Commit

Permalink
fix getting state when in remote app mode
Browse files Browse the repository at this point in the history
  • Loading branch information
meosborne committed Feb 27, 2012
1 parent a6a7a9f commit 12eba8e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion client/X11/xf_keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,11 @@ int xf_kbd_read_keyboard_state(xfInfo* xfi)
XQueryPointer(xfi->display, xfi->window->handle,
&wdummy, &wdummy, &dummy, &dummy, &dummy, &dummy, &state);
}

else
{
XQueryPointer(xfi->display, DefaultRootWindow(xfi->display),
&wdummy, &wdummy, &dummy, &dummy, &dummy, &dummy, &state);
}
return state;
}

Expand Down

0 comments on commit 12eba8e

Please sign in to comment.