mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 11:05:58 +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
|
// 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;
|
||||||
|
|
Loading…
Reference in a new issue