show X root window name in spot1 title for a custom status bar

This commit is contained in:
Sean Pringle
2013-04-27 23:06:16 +10:00
parent ed2fb6f96b
commit f99ebf1d04
5 changed files with 18 additions and 3 deletions

View File

@@ -150,7 +150,7 @@ void setup()
}
// become the window manager
XSelectInput(display, root, StructureNotifyMask | SubstructureRedirectMask | SubstructureNotifyMask);
XSelectInput(display, root, PropertyChangeMask | StructureNotifyMask | SubstructureRedirectMask | SubstructureNotifyMask);
// ewmh support
unsigned long pid = getpid();