summaryrefslogtreecommitdiffstats
path: root/vncviewer/Viewport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer/Viewport.cxx')
-rw-r--r--vncviewer/Viewport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx
index a80b8efe..43b39d4f 100644
--- a/vncviewer/Viewport.cxx
+++ b/vncviewer/Viewport.cxx
@@ -920,7 +920,7 @@ void Viewport::popupContextMenu()
if (window()->fullscreen_active())
window()->fullscreen_off();
else
- window()->fullscreen();
+ ((DesktopWindow*)window())->fullscreen_on();
break;
#endif
case ID_RESIZE: