forge
Explore
Log in

Don't you dare go Hollow

Redraw cursor if hidden during screenshot

Browse files at this commit

d31a90edb0d475e35ef113c260bc1d346d70498dArijanJParent: 8eeb7dd
src/niri.rsmodified+6 -0
@@ -1826,6 +1826,12 @@ impl State {
18261826 return;
18271827 }
18281828
1829+ // Redraw the pointer if hidden through cursor{} options
1830+ if self.niri.pointer_visibility == PointerVisibility::Hidden {
1831+ self.niri.pointer_visibility = PointerVisibility::Visible;
1832+ self.niri.queue_redraw_all();
1833+ }
1834+
18291835 let default_output = self
18301836 .niri
18311837 .output_under_cursor()