I've been using VNC for a while now.  Originally on Windows and now on
Linux.  In many cases I've found the option of switching to Fullscreen
invaluable.  

During a recent period of heavy development for my preferred window
manager (Blackbox), I meantioned a minor annoyance I'd noticed when using
VNC.  At that time if a connection had been established initially in
Windowed mode, an attempt to switch to Fullscreen would result in the
window simple disappearing.  The VNC session would remain active, but
inaccessible.  If the connection was initially made with the -fullscreen
option, everything was fine (unless you switch from Fullscreen to Windowed
and back again).

The maintainer for blackbox looked into this and corrected the problem
with switching from Windowed to Fullscreen.  However at this point a
problem with keyboard input surfaced.  A good solution to the keyboard
input problem doesn't seem to be available and the following section of
the VNC viewer code was pointed out:

  /* We want to stop the window manager from managing our toplevel window.
     This is not really a nice thing to do, so may not work properly with
every
     window manager.  We do this simply by setting overrideRedirect and
     reparenting our window to the root.  The window manager will get a
     ReparentNotify and hopefully clean up its frame window. */

  XtVaSetValues(toplevel, XtNoverrideRedirect, True, NULL);

  XReparentWindow(dpy, XtWindow(toplevel), DefaultRootWindow(dpy), 0, 0);

The above comment clearly indicates that the actions being taken are not
the nicest.  I'm wondering if there isn't a better way of going about a
switch to Fullscreen mode that would work with more/all compliant window
managers.  One reason I'm asking is that there appear to be quite a few
other applications that provide Fullscreen modes and yet work flawlessly
with Blackbox and other window managers.

Just wondering.
 
-- 
Jamin W. Collins
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to