- if (!ignored) {
- /* found an enter for that leave, ignore it if it's going to
- another window */
- win = g_hash_table_lookup(window_map, &e->xany.window);
- if (win && WINDOW_IS_CLIENT(win))
- ++ignore_enter_focus;
- }
-
- /* add it to the ignored list if there is room */
- if (i < NUM_IGNORE_SERIALS) {
- ignore_enter_serials[i] = e->xany.serial;
- ignore_enter_serials[i+1] = 0;
- }
+ /* found an enter for that leave, ignore it if it's going to
+ another window */
+ win = g_hash_table_lookup(window_map, &e->xany.window);
+ if (win && WINDOW_IS_CLIENT(win))
+ ++ignore_enter_focus;