]> Dogcows Code - chaz/openbox/commitdiff
dont bother making a copy of the event to change its type
authorDana Jansens <danakj@orodu.net>
Fri, 10 Jan 2003 19:31:44 +0000 (19:31 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 10 Jan 2003 19:31:44 +0000 (19:31 +0000)
src/actions.cc

index 309323cca6281c323e027a2bd093e7d066b27597..15a3e6c2667f0b9c88cd5a700f3d6fd9619c9709 100644 (file)
@@ -95,9 +95,9 @@ void OBActions::buttonPressHandler(const XButtonEvent &e)
       ButtonRelease events, so instead we simply manufacture them here, so that
       clicks/doubleclicks etc still work.
     */
-    XButtonEvent ev = e;
-    ev.type = ButtonRelease;
-    buttonReleaseHandler(ev);
+    //XButtonEvent ev = e;
+    //ev.type = ButtonRelease;
+    buttonReleaseHandler(e);
   }
 }
   
This page took 0.028045 seconds and 4 git commands to generate.