aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/layout/IHyprLayout.cpp
diff options
context:
space:
mode:
authordjvs <[email protected]>2024-03-12 23:38:32 -0400
committerGitHub <[email protected]>2024-03-13 03:38:32 +0000
commit893c55217b15cf0e5fe7eb3eb2d88183df410b9a (patch)
tree3dc7c307d1c6accac9e4947d35256a12c2c073d2 /src/layout/IHyprLayout.cpp
parentc58fcfbce2c2e9f12cad7771555ce38b515a3389 (diff)
downloadHyprland-893c55217b15cf0e5fe7eb3eb2d88183df410b9a.tar.gz
Hyprland-893c55217b15cf0e5fe7eb3eb2d88183df410b9a.zip
input: only override dragging corner on floating (#5092)
Co-authored-by: djvs <[email protected]>
Diffstat (limited to 'src/layout/IHyprLayout.cpp')
-rw-r--r--src/layout/IHyprLayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp
index d2ec1ab1..f992899d 100644
--- a/src/layout/IHyprLayout.cpp
+++ b/src/layout/IHyprLayout.cpp
@@ -218,7 +218,7 @@ void IHyprLayout::onBeginDragWindow() {
// get the grab corner
static auto RESIZECORNER = CConfigValue<Hyprlang::INT>("general:resize_corner");
- if (*RESIZECORNER != 0 && *RESIZECORNER <= 4) {
+ if (*RESIZECORNER != 0 && *RESIZECORNER <= 4 && DRAGGINGWINDOW->m_bIsFloating) {
switch (*RESIZECORNER) {
case 1:
m_eGrabbedCorner = CORNER_TOPLEFT;