aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Compositor.hpp
diff options
context:
space:
mode:
authorVaxry <[email protected]>2023-10-22 16:58:06 +0100
committerVaxry <[email protected]>2023-10-22 16:58:06 +0100
commit59f27e7f570170783ac01fb46a0ff90e14de53e6 (patch)
treec3435a57d4c1b06515e40f43e28b813c523af182 /src/Compositor.hpp
parentedb26e03063d8001f69712a6aa82d30610589bcb (diff)
downloadHyprland-59f27e7f570170783ac01fb46a0ff90e14de53e6.tar.gz
Hyprland-59f27e7f570170783ac01fb46a0ff90e14de53e6.zip
compositor: send preferred scale and transform events to surfaces
fixes #3635
Diffstat (limited to 'src/Compositor.hpp')
-rw-r--r--src/Compositor.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp
index 86460211..fdbac136 100644
--- a/src/Compositor.hpp
+++ b/src/Compositor.hpp
@@ -207,6 +207,8 @@ class CCompositor {
void arrangeMonitors();
void enterUnsafeState();
void leaveUnsafeState();
+ void setPreferredScaleForSurface(wlr_surface* pSurface, double scale);
+ void setPreferredTransformForSurface(wlr_surface* pSurface, wl_output_transform transform);
std::string explicitConfigPath;