gtk: fix dumb css workaround

This commit is contained in:
LordMZTE 2024-09-16 19:42:16 +02:00
parent 867fdf0cbc
commit ed2381f2c4
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
<! if opt.wayland_compositor == "river" then !> <! if opt.wayland_compositor == "river" then !>
/* GTK is to retarded to realize that some compositors that don't implement deprecated /* GTK is to retarded to realize that some compositors that don't implement deprecated
* protocols do not want client-side decoration. We completely disable titlebars here to compensate. */ * protocols do not want client-side decoration. We completely disable titlebars here to compensate. */
headerbar.titlebar.default-decoration, headerbar * { headerbar.titlebar.default-decoration, headerbar windowcontrols * {
background: transparent; background: transparent;
padding: 0; padding: 0;
margin: 0 0 -17px 0; margin: 0 0 -17px 0;

View file

@ -1,7 +1,7 @@
<! if opt.wayland_compositor == "river" then !> <! if opt.wayland_compositor == "river" then !>
/* GTK is to retarded to realize that some compositors that don't implement deprecated /* GTK is to retarded to realize that some compositors that don't implement deprecated
* protocols do not want client-side decoration. We completely disable titlebars here to compensate. */ * protocols do not want client-side decoration. We completely disable titlebars here to compensate. */
headerbar.titlebar.default-decoration, headerbar * { headerbar.titlebar.default-decoration, headerbar windowcontrols * {
background: transparent; background: transparent;
padding: 0; padding: 0;
margin: 0 0 -17px 0; margin: 0 0 -17px 0;