mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-09 08:31:54 -07:00
input: only override dragging corner on floating (#5092)
Co-authored-by: djvs <djvs@users.noreply.github.com>
This commit is contained in:
@@ -218,7 +218,7 @@ void IHyprLayout::onBeginDragWindow() {
|
|||||||
|
|
||||||
// get the grab corner
|
// get the grab corner
|
||||||
static auto RESIZECORNER = CConfigValue<Hyprlang::INT>("general:resize_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) {
|
switch (*RESIZECORNER) {
|
||||||
case 1:
|
case 1:
|
||||||
m_eGrabbedCorner = CORNER_TOPLEFT;
|
m_eGrabbedCorner = CORNER_TOPLEFT;
|
||||||
|
Reference in New Issue
Block a user