[Qt-interest] DragMove Charm and _NET_WM_MOVERESIZE

qzvjtml02 at sneakemail.com qzvjtml02 at sneakemail.com
Sat Jul 4 21:35:29 CEST 2009


Hello all.

	I have an application that uses the window flags "Qt::Window |  
Qt::CustomizeWindowHint." I use this to specify exactly how the window  
should act rather than use the titlebar and associated buttons. This  
resulted in me needing to use code like the DragMove charm (http://labs.trolltech.com/blogs/2009/03/20/moving-top-level-window-by-dragging/ 
) in order to actually have my application movable. Unfortunately,  
this had some side effects I did not anticipate. For example, I am  
running an Ubuntu installation with a compiz wobbly windows effect. My  
window now does not wobble, as I've removed all window manager control  
from it (other than resizing). I noticed a blurb on the bottom of the  
previously linked blog post on how I should use _NET_WM_MOVERESIZE on  
X11 rather than the DragMove charm. However... I have no idea how to  
do so. Can anyone help me? Looking at the link he referenced it's  
exactly what I need, I just don't know how to do it! I'd appreciate  
any assistance!

		Kyle Fazzari



More information about the Qt-interest-old mailing list