mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 21:09:48 +01:00
input: only override dragging corner on floating (#5092)
Co-authored-by: djvs <djvs@users.noreply.github.com>
This commit is contained in:
parent
c58fcfbce2
commit
893c55217b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue