diff options
| author | vaxerski <vaxry@vaxry.net> | 2023-06-23 21:14:04 +0200 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2023-06-23 21:42:44 +0200 |
| commit | 01f85a09a981eb6c8784d459f729d418c0dd19e3 (patch) | |
| tree | 7539008648c010ec5e188f5104ebc94e4ccb0690 /src/helpers/Monitor.cpp | |
| parent | 69fae18e636ed154798c21ed5c1127672127c6ac (diff) | |
xwayland: send zero scaling to xwayland if enabled
Diffstat (limited to 'src/helpers/Monitor.cpp')
| -rw-r--r-- | src/helpers/Monitor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index 0f8dddd4..0691cd37 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -23,12 +23,14 @@ void CMonitor::onConnect(bool noRule) { hyprListener_monitorDamage.removeCallback(); hyprListener_monitorNeedsFrame.removeCallback(); hyprListener_monitorCommit.removeCallback(); + hyprListener_monitorBind.removeCallback(); hyprListener_monitorFrame.initCallback(&output->events.frame, &Events::listener_monitorFrame, this); hyprListener_monitorDestroy.initCallback(&output->events.destroy, &Events::listener_monitorDestroy, this); hyprListener_monitorStateRequest.initCallback(&output->events.request_state, &Events::listener_monitorStateRequest, this); hyprListener_monitorDamage.initCallback(&output->events.damage, &Events::listener_monitorDamage, this); hyprListener_monitorNeedsFrame.initCallback(&output->events.needs_frame, &Events::listener_monitorNeedsFrame, this); hyprListener_monitorCommit.initCallback(&output->events.commit, &Events::listener_monitorCommit, this); + hyprListener_monitorBind.initCallback(&output->events.bind, &Events::listener_monitorBind, this); if (m_bEnabled) { wlr_output_enable(output, 1); |
