mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
Add toggle-window-rule-opacity action
This commit is contained in:
+1
-1
@@ -720,7 +720,7 @@ impl<W: LayoutElement> Tile<W> {
|
||||
) -> impl Iterator<Item = TileRenderElement<R>> + 'a {
|
||||
let _span = tracy_client::span!("Tile::render_inner");
|
||||
|
||||
let alpha = if self.is_fullscreen {
|
||||
let alpha = if self.is_fullscreen || self.window.is_ignoring_opacity_window_rule() {
|
||||
1.
|
||||
} else {
|
||||
self.window.rules().opacity.unwrap_or(1.).clamp(0., 1.)
|
||||
|
||||
Reference in New Issue
Block a user