Implement the window::close event
The window::close event should be emitted when a window closes.
This commit is contained in:
committed by
Michael Stapelberg
parent
0df172fd05
commit
25ca78bbba
@ -255,6 +255,7 @@ bool tree_close(Con *con, kill_window_t kill_window, bool dont_kill_parent, bool
|
||||
* X11 Errors are returned when the window was already destroyed */
|
||||
add_ignore_event(cookie.sequence, 0);
|
||||
}
|
||||
ipc_send_window_event("close", con);
|
||||
FREE(con->window->class_class);
|
||||
FREE(con->window->class_instance);
|
||||
i3string_free(con->window->name);
|
||||
|
Reference in New Issue
Block a user