mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-15 20:13:49 -07:00
snap: fix border_overlap
option for monitor snapping (#10987)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "../defines.hpp"
|
||||
#include "../managers/input/InputManager.hpp"
|
||||
#include <any>
|
||||
|
||||
class CWindow;
|
||||
@@ -211,6 +212,11 @@ class IHyprLayout {
|
||||
*/
|
||||
virtual bool updateDragWindow();
|
||||
|
||||
/*
|
||||
Triggers a window snap event
|
||||
*/
|
||||
virtual void performSnap(Vector2D& sourcePos, Vector2D& sourceSize, PHLWINDOW DRAGGINGWINDOW, const eMouseBindMode MODE, const int CORNER, const Vector2D& BEGINSIZE);
|
||||
|
||||
private:
|
||||
int m_mouseMoveEventCount;
|
||||
Vector2D m_beginDragXY;
|
||||
|
Reference in New Issue
Block a user