aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2021-09-06 10:14:23 +0200
committerPierre Ossman <ossman@cendio.se>2021-09-06 10:14:23 +0200
commitaadd42a9b499e2c8a082c6fb8be914b2982e2681 (patch)
tree14684386f8a3aec44d756f93959ad6ba5850b698
parent238a309aa1a94cb19fd1c364a58f40dec38d49b6 (diff)
downloadtigervnc-aadd42a9b499e2c8a082c6fb8be914b2982e2681.tar.gz
tigervnc-aadd42a9b499e2c8a082c6fb8be914b2982e2681.zip
Restore FLTK event dispatcher on exit
-rw-r--r--vncviewer/DesktopWindow.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx
index ef023a5b..d2a0d4c1 100644
--- a/vncviewer/DesktopWindow.cxx
+++ b/vncviewer/DesktopWindow.cxx
@@ -235,6 +235,8 @@ DesktopWindow::~DesktopWindow()
staticSelf = NULL;
+ Fl::event_dispatch(Fl::handle_);
+
// FLTK automatically deletes all child widgets, so we shouldn't touch
// them ourselves here
}