Skip to content

Commit 4eda34d

Browse files
authored
Prevent actual main window fullscreening
* Prevent actual main window fullscreen, just shrink down hostlist and others to make more room. Fullscreening the main window was causing weird issues with macOS and Windows.
1 parent 968d2e4 commit 4eda34d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/vnc.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,9 +1294,9 @@ void VncViewer::sendCorrectedKeyEvent (const char * strIn, const int, HostItem *
12941294

12951295

12961296
/* enable fullscreen */
1297-
void VncViewer::setFullScreen ()
1297+
void VncViewer::setFullScreen ()
12981298
{
1299-
app->mainWin->fullscreen();
1299+
//app->mainWin->fullscreen();
13001300
app->vncViewer->fullscreen = true;
13011301

13021302
app->hostList->resize(-3, app->hostList->y(), 0, app->hostList->h());
@@ -1319,7 +1319,7 @@ void VncViewer::setFullScreen ()
13191319
/* disable fullscreen */
13201320
void VncViewer::unsetFullScreen ()
13211321
{
1322-
app->mainWin->fullscreen_off();
1322+
//app->mainWin->fullscreen_off();
13231323
app->vncViewer->fullscreen = false;
13241324

13251325
app->hostList->resize(0, app->hostList->y(), app->requestedListWidth, app->hostList->h());

0 commit comments

Comments
 (0)