Browse Source

Update fullscreen window if changing fullScreenAllMonitors option

tags/v1.8.90
Peter Åstrand (astrand) 6 years ago
parent
commit
a890572b8d
1 changed files with 5 additions and 2 deletions
  1. 5
    2
      vncviewer/DesktopWindow.cxx

+ 5
- 2
vncviewer/DesktopWindow.cxx View File

fullscreen_screens(top, bottom, left, right); fullscreen_screens(top, bottom, left, right);
} }


fullscreen();
if (!fullscreen_active())
fullscreen();
} }


void DesktopWindow::grabKeyboard() void DesktopWindow::grabKeyboard()
else else
self->ungrabKeyboard(); self->ungrabKeyboard();


if (fullScreen && !self->fullscreen_active())
// Call fullscreen_on even if active since it handles
// fullScreenAllMonitors
if (fullScreen)
self->fullscreen_on(); self->fullscreen_on();
else if (!fullScreen && self->fullscreen_active()) else if (!fullScreen && self->fullscreen_active())
self->fullscreen_off(); self->fullscreen_off();

Loading…
Cancel
Save