check WM_CLIENT_LEADER for dialogs, if WM_TRANSIENT_FOR is not set

This commit is contained in:
seanpringle
2012-09-11 14:01:15 +10:00
parent 1d93b2edb2
commit 91cac07077
3 changed files with 46 additions and 19 deletions

View File

@@ -8,6 +8,7 @@ int window_get_atom_prop(Window w, Atom atom, Atom *list, int count);
void window_set_atom_prop(Window w, Atom prop, Atom *atoms, int count);
int window_get_cardinal_prop(Window w, Atom atom, unsigned long *list, int count);
void window_set_cardinal_prop(Window w, Atom prop, unsigned long *values, int count);
int window_get_window_prop(Window w, Atom atom, Window *list, int count);
void window_set_window_prop(Window w, Atom prop, Window *values, int count);
void ewmh_client_list();
client* window_build_client(Window win);
@@ -19,7 +20,7 @@ void query_visible_windows(stack *s);
int window_send_clientmessage(Window target, Window subject, Atom atom, unsigned long protocol, unsigned long mask);
int client_send_wm_protocol(client *c, Atom protocol);
void client_close(client *c);
void client_place_spot(client *c, int spot, int force);
void client_place_spot(client *c, int spot, int mon, int force);
void client_spot_cycle(client *c);
Window spot_focus_top_window(int spot, int mon, Window except);
void client_stack_family(client *c, stack *all, stack *raise);