[vox-tech] VMWare Linux client - how to notice screen resize?

Ken Bloom kbloom at gmail.com
Wed Mar 11 18:51:58 PDT 2009


On Tue, 2009-03-10 at 19:11 -0700, Bryan Richter wrote:
> At work, I'm using CentOS 5.2 running as a VMWare client on a Windows
> XP host. CentOS has Gnome running by default, which runs the window
> manager Metacity by default.
> 
> VMWare, like other virtual machine apps, provides a set of client-side
> functionality that allows things such as client-to-host copy/paste.
> The particular function I am interested in is the bit that handles the
> virtual machine's window being resized. When the window is resized,
> there's some magic that makes X realize it should resize its root
> window.
> 
> This all works. Metacity somehow catches wind of the resizing. When
> the X root window is resized, Metacity resizes all its workspaces. If
> it has to, it moves and resizes its own client windows so everything
> shows up on the resized X root window.
> 
> Of course, I want to be difficult. I don't like Gnome; I use the Ion3
> window manager. Ion3 does not, unfortunately, catch the same hint that
> Metacity catches.
> 
> I assume that the X server is sending some signal that Metacity
> catches. Does anybody have any clue what that signal is? If I can
> figure that out, I can hopefully patch Ion3 to handle it.


If it is XRandR (as I suspect) then somebody's already done the hard
work for you. See
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377306

-- 
Ken (Chanoch) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu/~kbloom1/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.lugod.org/pipermail/vox-tech/attachments/20090311/2d965fa6/attachment.pgp 


More information about the vox-tech mailing list