aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMihai Fufezan <[email protected]>2023-01-14 15:26:12 +0200
committerMihai Fufezan <[email protected]>2023-01-14 15:36:49 +0200
commitce28d8a51736d308282de6b233c704b137dba540 (patch)
tree9114398267dcc8c1313229646de9f5bdc6b9611f
parentba3d358424b8819e3c947287b272a9d80af03180 (diff)
downloadHyprland-ce28d8a51736d308282de6b233c704b137dba540.tar.gz
Hyprland-ce28d8a51736d308282de6b233c704b137dba540.zip
fix scaling -> scale
-rw-r--r--CMakeLists.txt2
-rw-r--r--Makefile8
-rw-r--r--src/protocols/FractionalScale.hpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 43623fb2..88f60038 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -130,5 +130,5 @@ target_link_libraries(Hyprland
${CMAKE_SOURCE_DIR}/ext-workspace-unstable-v1-protocol.o
${CMAKE_SOURCE_DIR}/wlr-foreign-toplevel-management-unstable-v1-protocol.o
${CMAKE_SOURCE_DIR}/hyprland-toplevel-export-v1-protocol.o
- ${CMAKE_SOURCE_DIR}/fractional-scaling-v1-protocol.o
+ ${CMAKE_SOURCE_DIR}/fractional-scale-v1-protocol.o
)
diff --git a/Makefile b/Makefile
index f9aa0440..47a27d00 100644
--- a/Makefile
+++ b/Makefile
@@ -121,15 +121,15 @@ wlr-foreign-toplevel-management-unstable-v1-protocol.c:
wlr-foreign-toplevel-management-unstable-v1-protocol.o: wlr-foreign-toplevel-management-unstable-v1-protocol.h
-fractional-scaling-v1-protocol.h:
+fractional-scale-v1-protocol.h:
$(WAYLAND_SCANNER) server-header \
$(WAYLAND_PROTOCOLS)/staging/fractional-scale/fractional-scale-v1.xml $@
-fractional-scaling-v1-protocol.c:
+fractional-scale-v1-protocol.c:
$(WAYLAND_SCANNER) private-code \
$(WAYLAND_PROTOCOLS)/staging/fractional-scale/fractional-scale-v1.xml $@
-fractional-scaling-v1-protocol.o: fractional-scaling-v1-protocol.h
+fractional-scale-v1-protocol.o: fractional-scale-v1-protocol.h
legacyrenderer:
mkdir -p build && cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DLEGACY_RENDERER:STRING=true -H./ -B./build -G Ninja
@@ -194,7 +194,7 @@ uninstall:
rm -f ${PREFIX}/share/man/man1/Hyprland.1
rm -f ${PREFIX}/share/man/man1/hyprctl.1
-protocols: xdg-shell-protocol.o wlr-layer-shell-unstable-v1-protocol.o wlr-screencopy-unstable-v1-protocol.o idle-protocol.o ext-workspace-unstable-v1-protocol.o pointer-constraints-unstable-v1-protocol.o tablet-unstable-v2-protocol.o wlr-output-power-management-unstable-v1-protocol.o linux-dmabuf-unstable-v1-protocol.o hyprland-toplevel-export-v1-protocol.o wlr-foreign-toplevel-management-unstable-v1-protocol.o fractional-scaling-v1-protocol.o
+protocols: xdg-shell-protocol.o wlr-layer-shell-unstable-v1-protocol.o wlr-screencopy-unstable-v1-protocol.o idle-protocol.o ext-workspace-unstable-v1-protocol.o pointer-constraints-unstable-v1-protocol.o tablet-unstable-v2-protocol.o wlr-output-power-management-unstable-v1-protocol.o linux-dmabuf-unstable-v1-protocol.o hyprland-toplevel-export-v1-protocol.o wlr-foreign-toplevel-management-unstable-v1-protocol.o fractional-scale-v1-protocol.o
fixwlr:
sed -i -E 's/(soversion = 12)([^032]|$$)/soversion = 12032/g' subprojects/wlroots/meson.build
diff --git a/src/protocols/FractionalScale.hpp b/src/protocols/FractionalScale.hpp
index b2941a5e..71b2c858 100644
--- a/src/protocols/FractionalScale.hpp
+++ b/src/protocols/FractionalScale.hpp
@@ -1,7 +1,7 @@
#pragma once
#include "../defines.hpp"
-#include "fractional-scaling-v1-protocol.h"
+#include "fractional-scale-v1-protocol.h"
#include <vector>
#include <algorithm>