Commit Diff


commit - 7ef37ee0e788ed5532eb59ac3b08b9d1a7dea5b0
commit + 55bd6842b38cbb9c1046e9b551dae9a8f5ff3180
blob - 2f32f904b039999a88cc1c679e9fa8377e95f539
blob + c12b7c81b07b17b7b58857debef424305c523d34
--- mymenu.c
+++ mymenu.c
@@ -812,6 +812,7 @@ int main() {
 
   // create the window
   XSetWindowAttributes attr;
+  attr.override_redirect = true;
 
   Window w = XCreateWindow(d,                                   // display
                            DefaultRootWindow(d),                // parent
@@ -821,7 +822,7 @@ int main() {
                            DefaultDepth(d, DefaultScreen(d)),   // depth
                            InputOutput,                         // class
                            DefaultVisual(d, DefaultScreen(d)),  // visual
-                           0,                                   // value mask
+                           CWOverrideRedirect,                  // value mask
                            &attr);
 
   set_win_atoms_hints(d, w, width, height);