while (p) {
if (p->key)
grab_key(p->key, p->state, RootWindow(ob_display, ob_screen),
- GrabModeSync);
+ GrabModeAsync);
p = p->next_sibling;
}
if (curpos)
grab_key(config_keyboard_reset_keycode,
config_keyboard_reset_state,
- RootWindow(ob_display, ob_screen), GrabModeSync);
+ RootWindow(ob_display, ob_screen), GrabModeAsync);
}
}
g_free(oldtext);
}
- a = screen_physical_area_active();
+ a = screen_physical_area_primary();
popup_position(popup, NorthWestGravity, a->x + 10, a->y + 10);
/* 1 second delay for the popup to show */
popup_delay_show(popup, G_USEC_PER_SEC, text);
}
p = p->next_sibling;
}
-
- XAllowEvents(ob_display, AsyncKeyboard, event_curtime);
}
static void node_rebind(KeyBindingTree *node)