Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When using Xlib, how do I create a borderless window?

Borderless create window Xlib
0
Posted

When using Xlib, how do I create a borderless window?

0

Essentially you can create the window with override-redirect (see man xcreatewindow) which is the sledgehammer approach or you can change the _MOTIF_WM_HINTS property to tell the window manager to leave your windows undecorated. Also of note is that the window manager decorations of any client can be turned off by putting something like the following in the .Xdefaults file in your home directory – assuming you aren’t overriding them in your app: 4Dwm*ClientAppOrClassName*clientDecoration: none ( see the 4Dwm / mwm man pages for a full description of this resource ) ( you must restart the window manager or logout/login for 4Dwm resources to take effect ) “none” will remove all of the window manager decorations – border, title bar etc.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123