add a comment
This commit is contained in:
parent
f9f32d9fba
commit
053558dc5f
1 changed files with 2 additions and 2 deletions
|
@ -3230,11 +3230,11 @@ void client_close(ObClient *self)
|
||||||
XKillClient(ob_display, self->window);
|
XKillClient(ob_display, self->window);
|
||||||
else if (self->not_responding)
|
else if (self->not_responding)
|
||||||
client_kill(self);
|
client_kill(self);
|
||||||
else {
|
else
|
||||||
|
/* request the client to close with WM_DELETE_WINDOW */
|
||||||
PROP_MSG_TO(self->window, self->window, wm_protocols,
|
PROP_MSG_TO(self->window, self->window, wm_protocols,
|
||||||
prop_atoms.wm_delete_window, event_curtime, 0, 0, 0,
|
prop_atoms.wm_delete_window, event_curtime, 0, 0, 0,
|
||||||
NoEventMask);
|
NoEventMask);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void client_kill(ObClient *self)
|
void client_kill(ObClient *self)
|
||||||
|
|
Loading…
Reference in a new issue