Skip to content

Commit

Permalink
Add FIXME comment regarding macOS minimise fix
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
LMattsson committed Aug 27, 2024
1 parent 3979e3c commit 7a70ced
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vncviewer/Viewport.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a70ced

Please sign in to comment.