matthewmx86 / Redmond97

A WIn9x inspired GTK2/GTK3 theme deveoloped for XFCE4
GNU General Public License v3.0
106 stars 7 forks source link

gtk3 csd no borders #1

Open amasondev opened 5 years ago

amasondev commented 5 years ago

this theme is fantastic - but there may be an issue with client side decorations for gtk3 applications. currently there is no border, so these windows cannot be resized. here is redmond97 NT redmond97 and chicago95 for reference chicago95 i'm seeing this on arch linux with xfce 4.14.1 with the latest commit

matthewmx86 commented 5 years ago

At the moment styling for CSD decorations are removed since the theme was designed to be used with the gtk-nocsd plugin as it would cause double window borders. Since you are using Arch Linux you could use the gtk-ncsd package from the AUR repository, that's what I'm currently using. To install the plugin on Arch you can clone the repository: "git clone https://aur.archlinux.org/gtk3-nocsd-git.git" to download the source and then run "makepkg -si" which will build and install the gtk-nocsd package. After that when you log out and back in, any applications that use GTK CSD will now have a normal titlebar (the CSD menus and text will appear as a toolbar instead).

I plan to make a fork or patch that has CSD styling similar to the Chicago95 example for those who prefer CSD, it shouldn't take long. I'll leave the issue open for now until the fork is complete and the documentation is updated to explain about the CSD issue.

matthewmx86 commented 5 years ago

I've begun adding support for client side decorations, you can try it out with the Redmond97-CSD.tar.xz archive. Once I do more testing to make sure it didn't add any issues it will be pushed to the main branch.