mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 09:13:08 +03:00
Don't track windows after destruction.
svn path=/trunk/netsurf/; revision=2914
This commit is contained in:
parent
6d36d39a56
commit
5a9af92cd1
@ -385,6 +385,12 @@ void gui_window_destroy(struct gui_window *g)
|
||||
|
||||
assert(g);
|
||||
|
||||
/* stop any tracking */
|
||||
if (gui_track_gui_window == g) {
|
||||
gui_track_gui_window = NULL;
|
||||
gui_current_drag_type = GUI_DRAG_NONE;
|
||||
}
|
||||
|
||||
/* remove from list */
|
||||
if (g->prev)
|
||||
g->prev->next = g->next;
|
||||
|
Loading…
Reference in New Issue
Block a user