diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-04-20 14:14:54 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-04-20 14:19:16 +0100 |
| commit | ea47e8c92ae283c4b41be0aafbdad9b0701a1624 (patch) | |
| tree | 30d064d286864e95c0886cf6177f01d1a41ace64 /src/managers/input/InputMethodPopup.cpp | |
| parent | ea954494024cb596aaf9a40c77c3e0fcaf0e0322 (diff) | |
Fractional-scale: move to new impl
Diffstat (limited to 'src/managers/input/InputMethodPopup.cpp')
| -rw-r--r-- | src/managers/input/InputMethodPopup.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/managers/input/InputMethodPopup.cpp b/src/managers/input/InputMethodPopup.cpp index 7d101e10..3a56d30c 100644 --- a/src/managers/input/InputMethodPopup.cpp +++ b/src/managers/input/InputMethodPopup.cpp @@ -1,6 +1,7 @@ #include "InputMethodPopup.hpp" #include "InputManager.hpp" #include "../../Compositor.hpp" +#include "../../protocols/FractionalScale.hpp" CInputPopup::CInputPopup(wlr_input_popup_surface_v2* surf) : pWlr(surf) { surface.assign(surf->surface); @@ -63,7 +64,7 @@ void CInputPopup::onMap() { if (!PMONITOR) return; - g_pProtocolManager->m_pFractionalScaleProtocolManager->setPreferredScaleForSurface(surface.wlr(), PMONITOR->scale); + PROTO::fractional->sendScale(surface.wlr(), PMONITOR->scale); } void CInputPopup::onUnmap() { |
