aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2023-10-02 18:48:41 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2023-10-02 18:48:41 +0400
commit382c049b5a67194761b75181bcd0506791602060 (patch)
treecb16a2fd6fbca493dcc09db6f484fce6173dc31b /src/main.rs
parent9168f08038b1e3d7b643519191e9c70eac639ddc (diff)
downloadniri-382c049b5a67194761b75181bcd0506791602060.tar.gz
niri-382c049b5a67194761b75181bcd0506791602060.tar.bz2
niri-382c049b5a67194761b75181bcd0506791602060.zip
Send output enter/leave to pointer and DnD surfaces
This allows them to apply the right scale factor.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 4e994d9f..e8b4350b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -116,6 +116,7 @@ fn main() {
// These should be called periodically, before flushing the clients.
state.niri.monitor_set.refresh();
+ state.niri.refresh_pointer_outputs();
state.niri.popups.cleanup();
state.update_focus();