n4n0GH / hello

the complete KDE theme
219 stars 26 forks source link

[REQ] Show main buttons when titlebar is hidden #37

Closed n4n0GH closed 4 years ago

n4n0GH commented 4 years ago

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.

n4n0GH commented 4 years ago

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.

n4n0GH commented 4 years ago

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.