I'm making a small window manager based on:
simplewm.py https://github.com/mpnordland/Mozzarella/blob/master/cheesewm.py~
I'm trying to get firefox working but have been unable to get the unmapped windows (which are the firefox menu/right click options) to appear.
I have tried window.map() however that only makes the menu flicker and disappear again. It also causes an event of "Xlib.X.UnmapNotify"
When I right click (or click the menu) in firefox it causes 2 xlib events:
Xlib.protocol.event.ClientMessage(type = 161, window = <Xlib.display.Window 0x010005a9>, client_type = 343, data = (32, array('I', [0L, 383L, 0L, 0L, 0L])), sequence_number = 3106)
Xlib.protocol.event.UnmapNotify(window = <Xlib.display.Window 0x010005a9>, type = 146, event = <Xlib.display.Window 0x00000292>, sequence_number = 3108, from_configure = 0)
So it would appear Firefox is unmapping the menus I'm trying to map... :/