dylanaraps / sowm

An itsy bitsy floating window manager (220~ sloc!).
MIT License
915 stars 73 forks source link

question: when is map_request called? #92

Closed Unixsys closed 4 years ago

Unixsys commented 4 years ago

Please tell me what map_request does, and when is it called? I'm want to try to make focused windows a different color than regular windows. Thanks in advance.

Unixsys commented 4 years ago

Whoops, md can't be used in title :(

dylanaraps commented 4 years ago

map_request is called when a window is mapped to the screen, specifically when sowm responds to the MapRequest event from the Xorg server.

Unixsys commented 4 years ago

Thanks.