Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Egil committed Apr 28, 2024
1 parent d348033 commit 92d4298
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions glass-lib/InfiniteGlass/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,11 @@ def wrapper(fn):
e = event
m = mask
if fn.__name__.endswith("Mask"):
m = fn.__name__
if m is None:
m = fn.__name__
else:
e = fn.__name__
if e is None:
e = fn.__name__
if m is None:
m = eventmask.event_mask_map[e]
self.change_attributes(event_mask=self.get_attributes().your_event_mask | getattr(Xlib.X, m))
Expand Down

0 comments on commit 92d4298

Please sign in to comment.