Skip to content

Commit

Permalink
gtk3: Disable shadows for fullscreen and maximized windows
Browse files Browse the repository at this point in the history
This should improve performance. Based on upstream:
https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3173
  • Loading branch information
jnsh committed Feb 8, 2022
1 parent e9b5fe0 commit a27a379
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions common/gtk-3.0/sass/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3274,13 +3274,16 @@ decoration {

transition: $backdrop_transition;
}
.maximized &,
.fullscreen & {
border-radius: 0;
box-shadow: none;
}
.tiled &,
.tiled-top &,
.tiled-right &,
.tiled-bottom &,
.tiled-left &,
.maximized &,
.fullscreen & {
.tiled-left & {
border-radius: 0;
}
.popup & {
Expand Down

0 comments on commit a27a379

Please sign in to comment.