Thomas Adam wrote:
2009/1/30 Matevz Tadel <[email protected]>:
By commenting out parts in my config, I traced this down to the following
lines:

Mouse   1       W       M       FuncFvwmRaiseLowerX Move
Mouse   2       W       M       RaiseLower
Mouse   3       W       M       FuncFvwmRaiseLowerX Resize

I understand that the grab must be called if a function is called ... but in
this case the grab happens even when no modifier keys are pressed.

I doubt this -- I really do.  What is it you're doing to think this
happens?  Remember you're asking for the context to apply to the
*window* -- that's the client window, not the frame FVWM has
repareneted it in/

Sorry, you doubt what? That I get
  LeaveNotify EnterNotify KeymapNotify ButtonPress ButtonRelease
events for mouse-1-click when the above 3 lines are active?

I'm checking with xev - and see the reported events.
Then I comment out the above lines and get buttonpress/release events only.

Yes, I know I'm asking for the event over the client window (as i want to be able to move the window without going for the title bar).

This is working as exepcted (well, as I expect) in fvwm-2.4.19 that I'm using on my laptop.

Is it possible to extend the grab-check to also consider the modifier mask?
I'd
gladly do the first implementation if somebody can help me get started,
please.

No it isn't.

Thanks.

Matevz

Reply via email to