|
@@ -1449,6 +1449,12 @@ void DisplayServerX11::delete_sub_window(WindowID p_id) {
|
|
|
|
|
|
DEBUG_LOG_X11("delete_sub_window: %lu (%u) \n", wd.x11_window, p_id);
|
|
|
|
|
|
+ window_set_rect_changed_callback(Callable(), p_id);
|
|
|
+ window_set_window_event_callback(Callable(), p_id);
|
|
|
+ window_set_input_event_callback(Callable(), p_id);
|
|
|
+ window_set_input_text_callback(Callable(), p_id);
|
|
|
+ window_set_drop_files_callback(Callable(), p_id);
|
|
|
+
|
|
|
while (wd.transient_children.size()) {
|
|
|
window_set_transient(*wd.transient_children.begin(), INVALID_WINDOW_ID);
|
|
|
}
|