Skip to content

Commit

Permalink
Added a comment explaining the MapRequestEvents change from b9394a2.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitelynx committed Jan 15, 2013
1 parent 2a6abd4 commit c97fd14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xpybutil/event.py
Expand Up @@ -131,6 +131,8 @@ def main():
if isinstance(e, xproto.MappingNotifyEvent):
w = None
elif isinstance(e, xproto.MapRequestEvent):
# Force all MapRequestEvents to go to the root window so
# a window manager using xpybutil can get them.
w = root
elif hasattr(e, 'window'):
w = e.window
Expand Down

0 comments on commit c97fd14

Please sign in to comment.