n4n0GH/hello

[REQ] Show main buttons when titlebar is hidden

Closed this issue · 2 comments

Describe the feature you'd like to see
When using the "Hide titlebar" feature, it should be possible to optionally force draw the buttons for "Close", "Minimize" and "Maximize" on top of the window client. This would allow for a huge degree of customization, allowing CSD-like appearance for applications.

Additional context
Seeing how it's possible to arbitrarily draw things on top of the window content with the handlebars, this function should be relatively simple to integrate.

How to create a forced seperation though? I think the best approach would be to draw a rectangular area that's using either the window or titlebar color palette and put the buttons on top of that. That way the decoration will overlap content, which is something to consider, specifically for things like webbrowsers where the buttons would cover tabs.

Scrapped. In case of hidden titlebars it'll be a better choice to either not use buttons at all or use psfidotos' window button applet.