nuke cursorSI due to crashes

This commit is contained in:
vaxerski
2023-03-01 22:12:26 +00:00
parent 556c7dd51f
commit 76fc12869d
2 changed files with 26 additions and 29 deletions

View File

@@ -7,21 +7,18 @@
#include "../../helpers/Timer.hpp"
#include "InputMethodRelay.hpp"
enum eClickBehaviorMode
{
enum eClickBehaviorMode {
CLICKMODE_DEFAULT = 0,
CLICKMODE_KILL
};
enum eMouseBindMode
{
enum eMouseBindMode {
MBIND_INVALID = -1,
MBIND_MOVE = 0,
MBIND_RESIZE
};
enum eBorderIconDirection
{
enum eBorderIconDirection {
BORDERICON_NONE,
BORDERICON_UP,
BORDERICON_DOWN,
@@ -214,12 +211,12 @@ class CInputManager {
void setCursorIconOnBorder(CWindow* w);
// cursor surface
struct cursorSI {
wlr_surface* pSurface = nullptr;
Vector2D vHotspot;
bool bUsed = false;
} cursorSurfaceInfo;
DYNLISTENER(CursorSurfaceDestroy);
// struct cursorSI {
// wlr_surface* pSurface = nullptr;
// Vector2D vHotspot;
// bool bUsed = false;
// } cursorSurfaceInfo;
// DYNLISTENER(CursorSurfaceDestroy);
friend class CKeybindManager;
};