|
@@ -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):
|