Browse Source

replace short var name

Fabian Peter Hammerle 4 years ago
parent
commit
c99ec453bd
1 changed files with 3 additions and 3 deletions
  1. 3 3
      rescriptoon/_actions.py

+ 3 - 3
rescriptoon/_actions.py

@@ -74,10 +74,10 @@ class CenterClickAction(EngineAction):
             same_screen=xkeyevent.same_screen,
         )
         if isinstance(xkeyevent, Xlib.protocol.event.KeyPress):
-            e = Xlib.protocol.event.ButtonPress(**attr)
+            button_event = Xlib.protocol.event.ButtonPress(**attr)
         else:
-            e = Xlib.protocol.event.ButtonRelease(**attr)
-        engine_window.send_event(e)
+            button_event = Xlib.protocol.event.ButtonRelease(**attr)
+        engine_window.send_event(button_event)
 
 
 class SelectGagAction(CenterClickAction):