Switching clients while dragging is a nice idea, I can use it too.

> then. It would be nice to check if button 1 is pressed, but I don't
> know how to do this. Anyone?

Only way I can think of:
    xinput query-state DEVICE | sed -n '/button\[1\]/{s/^.*=//;p}'
where DEVICE is id or name of desired device as shown by `xinput`,
which returns "down" or "up".

If there is a more awesome way, I also would like to know.

-- 
Can Altıparmak

--
To unsubscribe, send mail to [email protected].

Reply via email to