Skip to content

Commit c97fd14

Browse files
committed
Added a comment explaining the MapRequestEvents change from b9394a2.
1 parent 2a6abd4 commit c97fd14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xpybutil/event.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ def main():
131131
if isinstance(e, xproto.MappingNotifyEvent):
132132
w = None
133133
elif isinstance(e, xproto.MapRequestEvent):
134+
# Force all MapRequestEvents to go to the root window so
135+
# a window manager using xpybutil can get them.
134136
w = root
135137
elif hasattr(e, 'window'):
136138
w = e.window

0 commit comments

Comments
 (0)