Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • About Bonfire
Ivan Molodetskikh
Ivan Molodetskikh
@YaLTeR@mastodon.online  ·  activity timestamp 7 days ago

Alright, getting somewhere! I think I've figured out a good code structure for the xray blur. It now correctly works even inside offscreens (opening animation, and when you drag a window targeting the tiling layout), and it should also work properly with the upcoming screen magnifier (that we have in pull requests).

Still not a single blur re-render in this entire video!

#niri

Your browser does not support the video tag.
GIF
GIF
Open
GIF
  • Copy link
  • Flag this post
  • Block
Ivan Molodetskikh
Ivan Molodetskikh
@YaLTeR@mastodon.online replied  ·  activity timestamp 7 days ago

Alright, getting somewhere! I think I've figured out a good code structure for the xray blur. It now correctly works even inside offscreens (opening animation, and when you drag a window targeting the tiling layout), and it should also work properly with the upcoming screen magnifier (that we have in pull requests).

Still not a single blur re-render in this entire video!

#niri

Your browser does not support the video tag.
GIF
GIF
Open
GIF
  • Copy link
  • Flag this comment
  • Block
Ivan Molodetskikh
Ivan Molodetskikh
@YaLTeR@mastodon.online replied  ·  activity timestamp 7 days ago

you know it's serious when you have to pull out a notebook to figure out the coordinate transforms

#niri

Notebook with pencil drawings of workspace and window positions in the overview
Notebook with pencil drawings of workspace and window positions in the overview
Notebook with pencil drawings of workspace and window positions in the overview
  • Copy link
  • Flag this comment
  • Block
Ivan Molodetskikh
Ivan Molodetskikh
@YaLTeR@mastodon.online replied  ·  activity timestamp 6 days ago

Today, got xray working on the closing window animations. The reason this needs special treatment is that when a window closes, niri renders a snapshot of its last visible contents to use for the animation. This happens outside the normal rendering path so I needed to thread through the xray background rendering logic as well as the correct window coordinates (since the xray background needs to know where the window is to draw the correct thing).

#niri

Your browser does not support the video tag.
GIF
GIF
Open
GIF
  • Copy link
  • Flag this comment
  • Block
Ivan Molodetskikh
Ivan Molodetskikh
@YaLTeR@mastodon.online replied  ·  activity timestamp 5 days ago

Today: implemented (a limited but useful subset of) both ext-background-effect and org-kde-kwin-blur protocols. Clients use these to request blur on their surfaces without having to configure anything in the compositor. These protocols also allow clients to blur only parts of their surfaces, for example here excluding client-side decoration bars and shadows.

Here are three terminals all with their org-kde-kwin-blur setting enabled.

#niri

Alacritty, Ghostty and Kitty windows with blurred backgrounds.
Alacritty, Ghostty and Kitty windows with blurred backgrounds.
Alacritty, Ghostty and Kitty windows with blurred backgrounds.
  • Copy link
  • Flag this comment
  • Block
Ivan Molodetskikh
Ivan Molodetskikh
@YaLTeR@mastodon.online replied  ·  activity timestamp 4 days ago

I moved the niri repo from my personal GitHub to a new org: https://github.com/niri-wm/niri

I set up a redirect for GitHub Pages, so hopefully all old links keep working

The primary reason to move to an org is giving granular repo permissions, e.g. let Semper triage and manage issues (who's been doing a fantastic work helping with issues, thanks a ton!). This is unfortunately only possible in organizations and not in personal repos

We'll also add more related repos like awesome-niri to the org

#niri

GitHub

GitHub - niri-wm/niri: A scrollable-tiling Wayland compositor.

A scrollable-tiling Wayland compositor. Contribute to niri-wm/niri development by creating an account on GitHub.
  • Copy link
  • Flag this comment
  • Block

BT Free Social

BT Free is a non-profit organization founded by @ozoned@btfree.social . It's goal is for digital privacy rights, advocacy and consulting. This goal will be attained by hosting open platforms to allow others to seamlessly join the Fediverse on moderated instances or by helping others join the Fediverse.

BT Free Social: About · Code of conduct · Privacy ·
Bonfire social · 1.0.1 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Code of Conduct