Fix blurry cursor on Wayland at a scale other than 100% (#17496)
Closes #13258 Release Notes: - Fixed blurry mouse cursor on wayland when the screen scale is other than 100% Before:  After: 
This commit is contained in:
parent
f92d0de58d
commit
c1193875e8
2 changed files with 28 additions and 8 deletions
|
@ -476,7 +476,8 @@ impl WaylandClient {
|
|||
.as_ref()
|
||||
.map(|primary_selection_manager| primary_selection_manager.get_device(&seat, &qh, ()));
|
||||
|
||||
let mut cursor = Cursor::new(&conn, &globals, 24);
|
||||
// FIXME: Determine the scaling factor dynamically by the compositor
|
||||
let mut cursor = Cursor::new(&conn, &globals, 24, 2);
|
||||
|
||||
handle
|
||||
.insert_source(XDPEventSource::new(&common.background_executor), {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue