diff --git a/src/wayland/dispatcher.rs b/src/wayland/dispatcher.rs index 74b96e6..407f1db 100644 --- a/src/wayland/dispatcher.rs +++ b/src/wayland/dispatcher.rs @@ -412,8 +412,8 @@ impl Dispatch for Dispatcher { let layout = ctx.seat.layout(); let mod_state = ctx.seat.mod_state(); - let scale = gfx.display().scale() / 120; - let (width, height) = (width * scale, height * scale); + let scale = gfx.display().scale(); + let (width, height) = (width * scale / 120, height * scale / 120); gfx.resize(layout, mod_state, width, height); let disp = gfx.display();