Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

A dirty, dirty hack to allow WMs using xpybutil to actually get the M…

…apRequestEvents they subscribe to.
  • Loading branch information...
commit b9394a2d80d248c3d0023db9b617266a2c8f38ad 1 parent dd7326d
@whitelynx whitelynx authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  xpybutil/
2  xpybutil/
@@ -130,6 +130,8 @@ def main():
w = None
if isinstance(e, xproto.MappingNotifyEvent):
w = None
+ elif isinstance(e, xproto.MapRequestEvent):
+ w = root
elif hasattr(e, 'window'):
w = e.window
elif hasattr(e, 'event'):
Please sign in to comment.
Something went wrong with that request. Please try again.