JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
make it so I can still select despite MODE_MOUSE
[st.git] / st.c
diff --git a/st.c b/st.c
index 4a505b5..0632637 100644 (file)
--- 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;