]> source.dussan.org Git - tigervnc.git/commitdiff
Add FIXME comment regarding macOS minimise fix 1825/head
authorLinn Mattsson <linma@cendio.se>
Tue, 27 Aug 2024 08:39:10 +0000 (10:39 +0200)
committerLinn Mattsson <linma@cendio.se>
Tue, 27 Aug 2024 08:39:10 +0000 (10:39 +0200)
An issue with minimise not working when in fullscreen on macOS was
workaround in Pull Request #1813. The underlaying issue is currently
unknown.

macOS native fullscreen mode was looked into, but no clear answer was
given. See #1813 for details.

vncviewer/Viewport.cxx

index ed5f98997b03795fdd12ba686b37485b4e0447c2..ad7a6e8de8a478265079ffafc8d79910b253b139 100644 (file)
@@ -1316,6 +1316,8 @@ void Viewport::popupContextMenu()
     break;
   case ID_MINIMIZE:
 #ifdef __APPLE__
+    // FIXME: Workaround for not being able to minimize in fullscreen
+    // https://github.com/TigerVNC/tigervnc/pull/1813
     if (window()->fullscreen_active())
       window()->fullscreen_off();
 #endif