From: VMware, Inc <> Date: Wed, 24 Feb 2010 22:29:20 +0000 (-0800) Subject: Unity/X11: Populate UnityWindowTracker with initial window state. X-Git-Tag: 2010.02.23-236320~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1fe3dbf538b7e0104ce991389e8a6fafc55fbdf1;p=thirdparty%2Fopen-vm-tools.git Unity/X11: Populate UnityWindowTracker with initial window state. 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 --- diff --git a/open-vm-tools/lib/unity/unityPlatformX11Window.c b/open-vm-tools/lib/unity/unityPlatformX11Window.c index 12978d71a..60e10a756 100644 --- a/open-vm-tools/lib/unity/unityPlatformX11Window.c +++ b/open-vm-tools/lib/unity/unityPlatformX11Window.c @@ -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);