]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Unity/X11: Populate UnityWindowTracker with initial window state.
authorVMware, Inc <>
Wed, 24 Feb 2010 22:29:20 +0000 (14:29 -0800)
committerMarcelo Vanzin <mvanzin@vmware.com>
Wed, 24 Feb 2010 22:29:20 +0000 (14:29 -0800)
Description says it all.  When investigating why xterms weren't appearing
in Unity, jkasper noted that Tools wasn't indicating a window type.  Turns
out that Unity/X11 wasn't informing UWT of the window's initial type, and
that we were only hella lucky by other events eventually causing us to
update the type.

Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/unity/unityPlatformX11Window.c

index 12978d71af8e8c07e8cde9f9857a60d37acdbd1d..60e10a7566a0a0e8db3b9a43f35188277d1174dc 100644 (file)
@@ -3554,6 +3554,7 @@ UPWindowPushFullUpdate(UnityPlatform *up,            // IN
 #if defined(VM_HAVE_X11_SHAPE_EXT)
    UPWindowUpdateShape(up, upw);
 #endif
+   UPWindowUpdateType(up, upw);
 
    propCount = 0;
    UnityPlatformResetErrorCount(up);