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:
commit
fd1e260877
2 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
# Unreleased
|
# Unreleased
|
||||||
|
|
||||||
|
- Various bugfixes.
|
||||||
- Floating windows can now be configured to be shown above fullscreen windows
|
- Floating windows can now be configured to be shown above fullscreen windows
|
||||||
by using the `enable-float-above-fullscreen` action.
|
by using the `enable-float-above-fullscreen` action.
|
||||||
- Implement xdg-toplevel-tag-v1.
|
- Implement xdg-toplevel-tag-v1.
|
||||||
|
|
|
||||||
|
|
@ -106,7 +106,6 @@ impl CursorUserGroup {
|
||||||
fn remove_hardware_cursor(&self) {
|
fn remove_hardware_cursor(&self) {
|
||||||
self.state.hardware_tick_cursor.push(None);
|
self.state.hardware_tick_cursor.push(None);
|
||||||
self.state.damage_hardware_cursors(false);
|
self.state.damage_hardware_cursors(false);
|
||||||
self.state.cursor_user_group_hardware_cursor.take();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn detach(&self) {
|
pub fn detach(&self) {
|
||||||
|
|
@ -182,6 +181,7 @@ impl CursorUserGroup {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
self.remove_hardware_cursor();
|
self.remove_hardware_cursor();
|
||||||
|
self.state.cursor_user_group_hardware_cursor.take();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue