Re: [dwm] feature freeze, please test

From: yy <yiyu.jgl_AT_gmail.com>
Date: Sat, 14 Jun 2008 14:21:23 +0200

About the mouse warping issue we have discussed in #dwm, forget it, I
can get the desired behavior with a little config.h modifications.
I add:

void
warptosel(const Arg *arg) {
        if(sel)
                XWarpPointer(dpy, None, sel->win, 0, 0, 0, 0, 0, 0);
}

and then, in buttons definitions:

        { ClkWinTitle, 0, Button1, warptosel, {0} },
        { ClkWinTitle, 0, Button1, movemouse, {0} },
        { ClkWinTitle, 0, Button3, resizemouse, {0} },
        { ClkWinTitle, 0, Button4, focusstack,
  {.i = -1 } },
        { ClkWinTitle, 0, Button5, focusstack,
  {.i = +1 } },

and that's all. So I'd suggest to not touch dwm.c any more, and this
message will stay here as a reference for other people if they are
interested.

greets,

-- 
- yiyus || JGL .
Received on Sat Jun 14 2008 - 14:21:24 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:49:12 UTC