X-Git-Url: https://jasonwoof.com/gitweb/?p=st.git;a=blobdiff_plain;f=st.c;h=0632637ded20984a3bd02e9f67c5edea2499d0bb;hp=4a505b528fb562e3487402bbd77675852062cbc2;hb=be3a6193b8d21b484fab5fda08ba474915bf3758;hpb=d945d7093d1822bf249e2e38ce97e5b37f695fdb diff --git a/st.c b/st.c index 4a505b5..0632637 100644 --- a/st.c +++ b/st.c @@ -889,10 +889,10 @@ bpress(XEvent *e) { struct timespec now; Mousekey *mk; - if(IS_SET(MODE_MOUSE) && !(e->xbutton.state & forceselmod)) { - mousereport(e); - return; - } + // Jasonif(IS_SET(MODE_MOUSE) && !(e->xbutton.state & forceselmod)) { + // Jason mousereport(e); + // Jason return; + // Jason} for(mk = mshortcuts; mk < mshortcuts + LEN(mshortcuts); mk++) { if(e->xbutton.button == mk->b @@ -1141,10 +1141,10 @@ xsetsel(char *str) { void brelease(XEvent *e) { - if(IS_SET(MODE_MOUSE) && !(e->xbutton.state & forceselmod)) { - mousereport(e); - return; - } + //Jasonif(IS_SET(MODE_MOUSE) && !(e->xbutton.state & forceselmod)) { + //Jason mousereport(e); + //Jason return; + //Jason} if(e->xbutton.button == Button2) { selpaste(NULL); @@ -1164,10 +1164,10 @@ void bmotion(XEvent *e) { int oldey, oldex, oldsby, oldsey; - if(IS_SET(MODE_MOUSE) && !(e->xbutton.state & forceselmod)) { - mousereport(e); - return; - } + //Jasonif(IS_SET(MODE_MOUSE) && !(e->xbutton.state & forceselmod)) { + //Jason mousereport(e); + //Jason return; + //Jason} if(!sel.mode) return;