Skip to content

Commit

Permalink
bugfix/fix macos build
Browse files Browse the repository at this point in the history
  • Loading branch information
phedoreanu committed Dec 16, 2024
1 parent 24a8909 commit 9be0983
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vncviewer/DesktopWindow.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ DesktopWindow::DesktopWindow(int w, int h, const char *name,
#ifdef __APPLE__
// On OS X we can do the maximize thing properly before the
// window is showned. Other platforms handled further down...
if (maximize) {
if (::maximize) {
int dummy;
Fl::screen_work_area(dummy, dummy, w, h, geom_x, geom_y);
}
Expand Down Expand Up @@ -208,7 +208,7 @@ DesktopWindow::DesktopWindow(int w, int h, const char *name,
// maximized property on Windows and X11 before showing the window.
// See STR #2083 and STR #2178
#ifndef __APPLE__
if (maximize) {
if (::maximize) {
maximizeWindow();
}
#endif
Expand Down

0 comments on commit 9be0983

Please sign in to comment.