summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
52d4433)
RevertToNone so that when the fallback stuff goes the window wont already have focus cuz it has the pointer in to
w = client_startup_stack_order[i-1];
c = g_hash_table_lookup(client_map, &w);
w = client_startup_stack_order[i-1];
c = g_hash_table_lookup(client_map, &w);
- g_message("0x%lx %d", c->window, c->iconic);
+ g_message("0x%lx %d %d", c->window, c->iconic, c->shaded);
if (c) stacking_lower(c);
}
g_free(client_startup_stack_order);
if (c) stacking_lower(c);
}
g_free(client_startup_stack_order);
dispatch_client(Event_Client_Unmapped, client, 0, 0);
g_assert(client != NULL);
dispatch_client(Event_Client_Unmapped, client, 0, 0);
g_assert(client != NULL);
- /* unfocus the client (dispatchs the focus event) (we're out of the
- transient lists already, so being modal doesn't matter) */
- if (client_focused(client))
- client_unfocus(client);
-
/* give the client its border back */
client_toggle_border(client, TRUE);
/* give the client its border back */
client_toggle_border(client, TRUE);
- XSetInputFocus(ob_display, self->window, RevertToPointerRoot,
+ /* RevertToNone is used so that windows dont get focused inadvertantly
+ by having the pointer in them, and then FocusIn events go missing */
+ XSetInputFocus(ob_display, self->window, RevertToNone,
event_lasttime);
if (self->focus_notify) {
event_lasttime);
if (self->focus_notify) {