Merge pull request #208 from Fierelier/master

Fix thick black border on CSD windows when not using composition
This commit is contained in:
grassmunk 2021-12-15 08:53:07 -08:00 committed by GitHub
commit c9b0ad9da5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

@ -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) */