Re: mousebound left release script fires on press, not waiting for release
Dana Jansens <[email protected]> Mon, 9 Oct 2017 15:26:36 -0400
| Newsgroups | gmane.comp.window-managers.openbox |
|---|---|
| Message-ID | <CAP1a_aexpyAy6jc2J7XC1FfcOymDHr36agzfV9dF_2-UgNjZtg@mail.gmail.com> |
--===============2349449457275868149== Content-Type: multipart/alternative; boundary="001a113db4604b8658055b222b24" --001a113db4604b8658055b222b24 Content-Type: text/plain; charset="UTF-8" I believe the "client" area behaves differently than other targets because it needs to pass the mouse click thru to the application. So it ends up being immediately released from the WM point of view. On Oct 9, 2017 12:23 AM, "Plmalternate Plmalternate" <[email protected]> wrote: > context: > Openbox 3.6.1 > running plain under xorg 1:7.7+13ubuntu3 > started with startx from xinit 1.3.4-3ubuntu0.1 > No DE per se, no DM, in a minimalist Ubuntu 16.04, 64 bit. > > I have this in in the mouse bindings section of ~/.config/openbox/rc.xml: > > <context name="Client"> > <mousebind button="Left" action="Release"> > <action name="Execute"> > <command>check_xclip.sh</command> > </action> > </mousebind> > </context> > > but it runs when I press, repeat PRESS, the left button, and doesn't > wait for me to release it. > > Duckduckgo couldn't find a bug like this. Is it a bug? Anything I can > do to help figure it out? Failing that, to work around it? > _______________________________________________ > openbox mailing list > [email protected] > http://icculus.org/mailman/listinfo/openbox --001a113db4604b8658055b222b24 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">I believe the "client" area behaves differently= than other targets because it needs to pass the mouse click thru to the ap= plication. So it ends up being immediately released from the WM point of vi= ew.</div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Oct 9= , 2017 12:23 AM, "Plmalternate Plmalternate" <<a href=3D"mailt= o:[email protected]">[email protected]</a>> wrote:<br type=3D"= attribution"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b= order-left:1px #ccc solid;padding-left:1ex">context:<br> Openbox 3.6.1<br> running plain under xorg 1:7.7+13ubuntu3<br> started with startx from xinit 1.3.4-3ubuntu0.1<br> No DE per se, no DM, in a minimalist Ubuntu 16.04, 64 bit.<br> <br> I have this in in the mouse bindings section of ~/.config/openbox/rc.xml:<b= r> <br> =C2=A0 =C2=A0 <context name=3D"Client"><br> =C2=A0 =C2=A0 =C2=A0 <mousebind button=3D"Left" action=3D"= ;Release"><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <action name=3D"Execute"><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <comm= and>check_xclip.sh</<wbr>command><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 </action><br> =C2=A0 =C2=A0 =C2=A0 </mousebind><br> =C2=A0 =C2=A0</context><br> <br> but it runs when I press, repeat PRESS, the left button, and doesn't<br= > wait for me to release it.<br> <br> Duckduckgo couldn't find a bug like this. Is it a bug? Anything I can<b= r> do to help figure it out? Failing that, to work around it?<br> ______________________________<wbr>_________________<br> openbox mailing list<br> <a href=3D"mailto:[email protected]">[email protected]</a><br> <a href=3D"http://icculus.org/mailman/listinfo/openbox" rel=3D"noreferrer" = target=3D"_blank">http://icculus.org/mailman/<wbr>listinfo/openbox</a></blo= ckquote></div></div> --001a113db4604b8658055b222b24-- --===============2349449457275868149== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18Kb3BlbmJveCBt YWlsaW5nIGxpc3QKb3BlbmJveEBpY2N1bHVzLm9yZwpodHRwOi8vaWNjdWx1cy5vcmcvbWFpbG1h bi9saXN0aW5mby9vcGVuYm94 --===============2349449457275868149==--