I am trying to create a simple panel for Openbox in Arch Linux using c++, but I cannot figure out how to remove the title bar from a window.
I am creating the window
Since I found the solution, I figured I'd post the solution here if anyone else needs it.
As @JoachimPileborg mentioned, I needed to alter the Openbox settings in ~/.config/openbox/rc.xml. Inside the tag, I added the following code:
no
The class="*" means that all applications will follow these rules, you could fill in the class name of the application instead. The removes the title bar, and ensures that my own script is able to handle the positioning. You could also add another tag after this one to make exceptions to this rule.
Also, the window_attributes.override_redirect = True; is not needed anymore.