aboutsummaryrefslogtreecommitdiff
path: root/src/cursor.rs
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2023-12-27 21:51:42 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2023-12-27 21:51:42 +0400
commitc21805bf705bd36a6eb7f79039b759e9af79dfcb (patch)
treee24213b023c8129320daa782c8b0830ea334d519 /src/cursor.rs
parentbfc24182670a0b3e17f79d66474fd291b7110732 (diff)
downloadniri-c21805bf705bd36a6eb7f79039b759e9af79dfcb.tar.gz
niri-c21805bf705bd36a6eb7f79039b759e9af79dfcb.tar.bz2
niri-c21805bf705bd36a6eb7f79039b759e9af79dfcb.zip
layout: Refactor to support window decorations, add border and fullscreen backdrop
Windows are now wrapped in Tiles, which keep track of window-specific decorations. Particularly, I implemented a black fullscreen backdrop, which finally brings fullscreened windows smaller than the screen in line with how the Wayland protocol says they should look—centered in a black rectangle. I also implemented window borders, which are similar to the focus ring, but always visible (and hence affect the layout and sizing).
Diffstat (limited to 'src/cursor.rs')
0 files changed, 0 insertions, 0 deletions