]> source.dussan.org Git - tigervnc.git/commit
Workaround options window appearing behind viewer
authorSamuel Mannehed <samuel@cendio.se>
Wed, 6 Oct 2021 12:06:22 +0000 (14:06 +0200)
committerSamuel Mannehed <samuel@cendio.se>
Wed, 6 Oct 2021 15:21:42 +0000 (17:21 +0200)
commit012c1c4436c20e84f29026443b0e5f172d5b2c41
tree94aa8ca9b42711ab3bd5324fb5eb1bdd40f79eb6
parent296d92d1396a4c6543e002a28959f50cec862eee
Workaround options window appearing behind viewer

FLTK's fullscreen_x() function will always put the window on a high
level (NSStatusWindowLevel = 25), even if the window doesn't have focus.
This causes the OptionsDialog to end up behind the DesktopWindow when
the fullscreen function is called. Until we can rest assured that most
people building TigerVNC will use a fixed version of FLTK, we will need
this workaround.

(cherry picked from commit 9023a2ec1823d473f1cfe0b723c8636d8e994e2c)
vncviewer/DesktopWindow.cxx
vncviewer/cocoa.h
vncviewer/cocoa.mm