Re: Binding a function to key+mousebutton

"Matthew D. Fuller" <[email protected]>
Newsgroups gmane.comp.window-managers.ctwm
Message-ID <[email protected]>
On Fri, Jun 28, 2019 at 09:48:26AM +0200 I heard the voice of
Frank Steiner, and lo! it spake thus:
> 
> So currently it's not possible to use f.exec for any kind of mouse
> button binding, right? f.exec would need to know if the ungrab is
> neccessary or not but I guess it can't.
> 
> Do you have any clue why we see the ButtonRelease event only on
> every second click? Does ctmw remember a button state somehow?

My guess would be that we get there Grab'd when f.exec is run from a
menu.  Though I wonder a little why that wouldn't be a problem for
twm, if it does cause a problem.  Maybe something odd with things
using $redirect?  Well, if that were the case, it would move me from
THIS --><-- close to removing that crap to THIS <--             -->
close to removing it.

I'd suggest commenting out the Ungrab call and running with it.  See
what happens   :)


-- 
Matthew Fuller     (MF4839)   |  [email protected]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.