Wayland: use frame_cb before redrawing GL subwins - cont'd (#967)
This commit is contained in:
parent
b726211b9b
commit
dea8a93bc2
@ -495,6 +495,7 @@ void Fl_Wayland_Window_Driver::hide() {
|
||||
if (Fl_Wayland_Window_Driver::wld_window == wld_win) {
|
||||
Fl_Wayland_Window_Driver::wld_window = NULL;
|
||||
}
|
||||
if (wld_win->frame_cb) wl_callback_destroy(wld_win->frame_cb); // useful for GL subwins
|
||||
free(wld_win);
|
||||
}
|
||||
delete ip;
|
||||
|
Loading…
Reference in New Issue
Block a user