Solve compile warnings

This commit is contained in:
Iwan Timmer
2017-05-28 14:46:21 +02:00
parent 91d9aef6ff
commit 343e3992c1
5 changed files with 8 additions and 5 deletions

View File

@@ -60,7 +60,7 @@ static int x11_handler(int fd) {
if (event.xkey.keycode >= 8 && event.xkey.keycode < (sizeof(keyCodes)/sizeof(keyCodes[0]) + 8)) {
if ((keyboard_modifiers & MODIFIERS) == MODIFIERS && event.type == KeyRelease) {
grabbed = !grabbed;
XDefineCursor(display, window, grabbed ? cursor : NULL);
XDefineCursor(display, window, grabbed ? cursor : 0);
}
int modifier = 0;