diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-23 01:21:59 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-23 01:28:45 +0100 |
| commit | fb80cbe415835a7e0c64e2038d0fc56e8aba0ab4 (patch) | |
| tree | 15058bb43121adf14735c4e551064716de92a8a8 /src/Compositor.hpp | |
| parent | 1b48642fd15c433c53876f1b933dcd46265caf8f (diff) | |
input: properly track mouse focus on drag operations
Diffstat (limited to 'src/Compositor.hpp')
| -rw-r--r-- | src/Compositor.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp index 9102bac4..27a27e3b 100644 --- a/src/Compositor.hpp +++ b/src/Compositor.hpp @@ -28,7 +28,8 @@ #include "hyprerror/HyprError.hpp" #include "plugins/PluginSystem.hpp" -enum eManagersInitStage { +enum eManagersInitStage +{ STAGE_PRIORITY = 0, STAGE_LATE }; @@ -138,6 +139,7 @@ class CCompositor { CWindow* vectorToWindowTiled(const Vector2D&); wlr_surface* vectorToLayerSurface(const Vector2D&, std::vector<std::unique_ptr<SLayerSurface>>*, Vector2D*, SLayerSurface**); wlr_surface* vectorWindowToSurface(const Vector2D&, CWindow*, Vector2D& sl); + Vector2D vectorToSurfaceLocal(const Vector2D&, CWindow*, wlr_surface*); CWindow* windowFromCursor(); CWindow* windowFloatingFromCursor(); CMonitor* getMonitorFromOutput(wlr_output*); |
