mirror of
https://github.com/dylanaraps/sowm.git
synced 2026-10-28 12:40:59 +00:00
docs: update
This commit is contained in:
1 parent
7b876932a7
commit
31589b5e94
1 file changed
+3
-6
@@ -88,6 +88,8 @@ static void (*events[LASTEvent])(XEvent *e) = {
|
||||
|
||||
void notify_destroy(XEvent *e) {
|
||||
win_del(e->xdestroywindow.window);
|
||||
|
||||
if (list) XSetInputFocus(dis, list->win, RevertToParent, CurrentTime);
|
||||
}
|
||||
|
||||
void notify_enter(XEvent *e) {
|
||||
@@ -208,12 +210,7 @@ void win_del(Window w) {
|
||||
void win_kill() {
|
||||
Window cur = win_current();
|
||||
|
||||
if (cur != root) {
|
||||
XKillClient(dis, cur);
|
||||
win_del(cur);
|
||||
|
||||
if (list) XSetInputFocus(dis, list->win, RevertToParent, CurrentTime);
|
||||
}
|
||||
if (cur != root) XKillClient(dis, cur);
|
||||
}
|
||||
|
||||
void win_center(Window w) {
|
||||
|
||||
Reference in new issue
Block a user