Emit ScaleFactorChanged event on monitor reconnect (#1963)
When disconnect the only monitor, scale factor is reset to 1.0. We need to set it back when the monitor is reconnected. We previously assume current window must be on an existing monitor, but that's not true in case of reconnecting the only one monitor.
This commit is contained in:
parent
3bfb580d7a
commit
125ee0b446
2 changed files with 43 additions and 44 deletions
|
|
@ -13,7 +13,7 @@
|
|||
- **Breaking:** On Wayland, Theme trait and its support types are dropped.
|
||||
- On Wayland, bump `smithay-client-toolkit` to 0.15.
|
||||
- On Wayland, implement `request_user_attention` with `xdg_activation_v1`.
|
||||
|
||||
- On X11, emit missing `WindowEvent::ScaleFactorChanged` when the only monitor gets reconnected.
|
||||
|
||||
# 0.25.0 (2021-05-15)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue