Skip to content
Browse files

Added a comment explaining the MapRequestEvents change from b9394a2.

  • Loading branch information...
1 parent 2a6abd4 commit c97fd144f51287e46b3ca48e7533d766b3dd3628 @whitelynx whitelynx committed Jan 14, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 xpybutil/event.py
View
2 xpybutil/event.py
@@ -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

0 comments on commit c97fd14

Please sign in to comment.
Something went wrong with that request. Please try again.