Window manager question - Disable move drag

Raghavendra Prabhu rrprabhu at gmail.com
Sun Aug 30 08:07:57 CEST 2009


Thank you Olivier.
I think i missed this response of yours.

I have been working along the same lines and this should prove very helpful.

Prabhu

On Wed, Aug 12, 2009 at 3:42 AM, Olivier Fourdan <fourdan at gmail.com> wrote:

> On Wed, Aug 12, 2009 at 12:54 AM, Raghavendra Prabhu<rrprabhu at gmail.com>
> wrote:
> > Thank you very much  Olivier.
> > I will give this a shot. This was very much helpful/
> > Regards,
>
> For more details, check the function clientGetMWMHints() in xfwm4
> source code in src/client.c, look for the flag  MWM_FUNC_MOVE
>
> That gets translated to an internal flag XFWM_FLAG_HAS_MOVE which, if
> set prevents moving:
>
> In src/moveresize.c, look in clientMove():
>
> void
> clientMove (Client * c, XEvent * ev)
> {
>    ...
>    if (!FLAG_TEST (c->xfwm_flags, XFWM_FLAG_HAS_MOVE))
>    {
>        return;
>    }
>    ...
> }
>
> So that should work just as expected :)
>
> Cheers,
> Olivier.
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce
> http://www.xfce.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20090830/4bdfb5cd/attachment.html>


More information about the Xfce mailing list