Skip to content

Commit

Permalink
Fix thick black border on CSD windows when not using compositoin
Browse files Browse the repository at this point in the history
  • Loading branch information
Fierelier committed Nov 23, 2021
1 parent d1c86db commit 978440a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Binary file modified Theme/Chicago95/gtk-3.0/assets/window_decoration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 4 additions & 5 deletions Theme/Chicago95/gtk-3.0/gtk-window.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@
Make sure that all changes made here are part of the GtkWindow.
*/

/* A large border area for the window client decoration is recommended so that it provides easier interactivity when the user is resizing their application windows from a border edge with the cursor.
* The border image contains a 8px surrounding transparency with an additional non-transparent 2px for the border. This gives the illusion of a 2px border image instead of the full 10px. */
/* A large border area for the window client decoration is recommended so that it provides easier interactivity when the user is resizing their application windows from a border edge with the cursor. */
window decoration,
dialog > decoration {
padding: 2px; /* Padding is required so that there is some space between the window decoration border and any internal components. */
border: 10px solid @border_dark;
padding: 3px; /* Padding is required so that there is some space between the window decoration border and any internal components. */
border: 2px solid @border_dark;
background-color: @bg_color;
border-image: url("assets/window_decoration.png");
border-image-slice: 10 10 10 10;
border-image-slice: 2 2 2 2;
box-shadow: none; }

/* Server-side decoration (SSD) */
Expand Down

0 comments on commit 978440a

Please sign in to comment.