1
0
Fork 0
forked from wry/wry

Merge pull request #436 from mahkoh/jorth/fix-hardware-cursor-users

cursor: don't invalidate hardware cursor user when detaching cursor user
This commit is contained in:
mahkoh 2025-04-22 23:41:28 +02:00 committed by GitHub
commit fd1e260877
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,6 @@
# Unreleased
- Various bugfixes.
- Floating windows can now be configured to be shown above fullscreen windows
by using the `enable-float-above-fullscreen` action.
- Implement xdg-toplevel-tag-v1.

View file

@ -106,7 +106,6 @@ impl CursorUserGroup {
fn remove_hardware_cursor(&self) {
self.state.hardware_tick_cursor.push(None);
self.state.damage_hardware_cursors(false);
self.state.cursor_user_group_hardware_cursor.take();
}
pub fn detach(&self) {
@ -182,6 +181,7 @@ impl CursorUserGroup {
}
} else {
self.remove_hardware_cursor();
self.state.cursor_user_group_hardware_cursor.take();
}
}