virt-viewer/src
Marc-André Lureau 79fd2ea3d0 window: wait until mapped before fullscreen
On RHEL6, when starting virt-viewer --full-screen, metacity will
remaximize & force-fullscreen when leaving fullscreen, which prevents
user from accessing window titlebar, and end up with an incorrect
fullscreen state.

Thanks Owen Taylor for help debugging this:

<owen> elmarco: So the interesting thing here is that the "legacy" isn't
       triggered off a configure request to a particular size, mutter seems to
       constrain the window back to fullscreen size on its own when it sees a
       change to WM_NORMAL_HINTS
<owen> commit 4943d79d6844af3f7fc0a15ceadb69d95c4c5c61
<owen> Author: Peter Bloomfield <PeterBloomfield@BellSouth.net>
<owen> Date:   Wed Jan 20 10:59:07 2010 -0500
<owen>     prevent window self-maximisation
<owen> Is not in rhel6 metacity
<owen> So probably that's the main difference
<owen> can you just make your program not fullscreen initially but wait until
       it's mapped? (gets map-event on the toplevel)
<elmarco> owen that seems to work
<owen> I don't have a better solution to offer - sorry for the ugliness (code and
       initial mapping appearance)

https://bugzilla.redhat.com/show_bug.cgi?id=876445
2013-05-16 21:54:48 +02:00
..
view ovBox: Make get_preferred_width/height differentiate between min and natural 2013-04-23 13:49:24 +02:00
debug-helper.c win32: process message queue in debug-helper 2013-02-11 16:54:01 +01:00
gbinding.c Add back compat for GObject 2.22 which lacks GBinding 2012-02-16 14:52:55 +00:00
gbinding.h Add back compat for GObject 2.22 which lacks GBinding 2012-02-16 14:52:55 +00:00
Makefile.am build-sys: Simplify setting of optional CFLAGS/LDFLAGS 2013-04-12 21:21:15 +02:00
remote-viewer-main.c Add -- to seperate program arguments to server in man / --help 2013-05-13 14:26:45 +02:00
remote-viewer.c spice: forward secure-channels 2013-04-15 16:46:47 +02:00
remote-viewer.h Allow user to set a window title for remote-viewer 2012-10-09 17:25:19 +01:00
virt-glib-compat.c Add missing include of config.h 2013-05-01 16:11:06 +01:00
virt-glib-compat.h Fix compilation with older glib versions 2013-03-20 16:03:28 +01:00
virt-gtk-compat.h Add gtk_widget_get_realized() define for old gtk+ 2013-03-26 15:07:16 +01:00
virt-viewer-about.xml Ensure About dialog has transient hints setup 2012-02-08 17:15:16 +00:00
virt-viewer-app.c Only fullscreen the new window 2013-05-16 21:54:48 +02:00
virt-viewer-app.h Exit virt-viewer when trying to close any window 2013-04-25 22:16:04 +02:00
virt-viewer-auth.c g_{message,warning}: Use printf style 2013-02-04 15:20:28 +01:00
virt-viewer-auth.h vnc: add connection by file 2013-01-18 12:28:58 +01:00
virt-viewer-auth.xml Ensure auth popup windows have correct transient parent 2012-02-08 19:33:40 +00:00
virt-viewer-display-spice.c spice: make sure display ready hint is sync after creation 2013-05-13 14:26:45 +02:00
virt-viewer-display-spice.h Hook up handling of Monitors 2012-07-23 16:27:33 +02:00
virt-viewer-display-vnc.c Fix close of VNC displays 2012-04-04 10:41:32 +01:00
virt-viewer-display-vnc.h Update copyright headers 2012-02-06 12:42:18 +00:00
virt-viewer-display.c gtk-3: Rework window size handling 2013-04-23 13:49:24 +02:00
virt-viewer-display.h Do not enable extra monitors until they are explicitely enabled 2013-03-28 19:36:57 +01:00
virt-viewer-enums.c.etemplate build: generate enums type boilerplate 2012-07-23 16:27:32 +02:00
virt-viewer-enums.h.etemplate build: generate enums type boilerplate 2012-07-23 16:27:32 +02:00
virt-viewer-events.c Add config.h to every source file 2012-02-06 12:42:22 +00:00
virt-viewer-events.h Update copyright headers 2012-02-06 12:42:18 +00:00
virt-viewer-file.c file: add delete-this-file option 2013-04-30 02:26:36 +02:00
virt-viewer-file.h file: add delete-this-file option 2013-04-30 02:26:36 +02:00
virt-viewer-main.c Add -- to seperate program arguments to server in man / --help 2013-05-13 14:26:45 +02:00
virt-viewer-notebook.c Make status widget visible immediately 2012-07-23 16:27:33 +02:00
virt-viewer-notebook.h Update copyright headers 2012-02-06 12:42:18 +00:00
virt-viewer-session-spice.c misc: fix typo 2013-05-13 14:26:45 +02:00
virt-viewer-session-spice.h spice: implement --fullscreen=auto-conf 2012-03-21 16:20:37 +01:00
virt-viewer-session-vnc.c file: add version field, raise an error if incompatibily 2013-03-08 16:54:01 +01:00
virt-viewer-session-vnc.h vnc: add connection by file 2013-01-18 12:28:58 +01:00
virt-viewer-session.c Allow app_initial_connect() to raise an error 2013-03-08 16:54:01 +01:00
virt-viewer-session.h Allow app_initial_connect() to raise an error 2013-03-08 16:54:01 +01:00
virt-viewer-util.c Add virt_viewer_compare_version() 2013-03-08 16:54:01 +01:00
virt-viewer-util.h Add virt_viewer_compare_version() 2013-03-08 16:54:01 +01:00
virt-viewer-window.c window: wait until mapped before fullscreen 2013-05-16 21:54:48 +02:00
virt-viewer-window.h virt_viewer_window_enter_fullscreen: Pass in monitor for fullscreen window 2013-03-20 15:26:47 +01:00
virt-viewer.c Allow app_initial_connect() to raise an error 2013-03-08 16:54:01 +01:00
virt-viewer.h Update copyright headers 2012-02-06 12:42:18 +00:00
virt-viewer.manifest win32: add a few Windows sepecific data 2012-03-30 14:48:13 +02:00
virt-viewer.rc.in win32: add a few Windows sepecific data 2012-03-30 14:48:13 +02:00
virt-viewer.xml Use the accelgroup to define key bindings 2012-02-22 16:45:00 +01:00
windows-cmdline-wrapper.c win32: there is no CONERR$, only CONOUT$ 2012-10-23 11:17:04 +02:00