mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 10:05:58 +01:00
internal: minor include fixes and missed format
This commit is contained in:
parent
f9c13b614c
commit
9242b03317
4 changed files with 16 additions and 16 deletions
|
@ -24,6 +24,14 @@ enum eRenderStage {
|
||||||
RENDER_POST_WINDOW, /* After rendering a window (any pass) */
|
RENDER_POST_WINDOW, /* After rendering a window (any pass) */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum eInputType {
|
||||||
|
INPUT_TYPE_AXIS = 0,
|
||||||
|
INPUT_TYPE_BUTTON,
|
||||||
|
INPUT_TYPE_DRAG_START,
|
||||||
|
INPUT_TYPE_DRAG_END,
|
||||||
|
INPUT_TYPE_MOTION
|
||||||
|
};
|
||||||
|
|
||||||
struct SCallbackInfo {
|
struct SCallbackInfo {
|
||||||
bool cancelled = false; /* on cancellable events, will cancel the event. */
|
bool cancelled = false; /* on cancellable events, will cancel the event. */
|
||||||
};
|
};
|
||||||
|
|
|
@ -32,14 +32,6 @@ enum eBorderIconDirection {
|
||||||
BORDERICON_DOWN_RIGHT,
|
BORDERICON_DOWN_RIGHT,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum eInputType {
|
|
||||||
INPUT_TYPE_AXIS = 0,
|
|
||||||
INPUT_TYPE_BUTTON,
|
|
||||||
INPUT_TYPE_DRAG_START,
|
|
||||||
INPUT_TYPE_DRAG_END,
|
|
||||||
INPUT_TYPE_MOTION
|
|
||||||
};
|
|
||||||
|
|
||||||
struct STouchData {
|
struct STouchData {
|
||||||
CWindow* touchFocusWindow = nullptr;
|
CWindow* touchFocusWindow = nullptr;
|
||||||
SLayerSurface* touchFocusLS = nullptr;
|
SLayerSurface* touchFocusLS = nullptr;
|
||||||
|
|
|
@ -76,13 +76,13 @@ class CHyprRenderer {
|
||||||
bool beginRender(CMonitor* pMonitor, CRegion& damage, eRenderMode mode = RENDER_MODE_NORMAL, wlr_buffer* buffer = nullptr, CFramebuffer* fb = nullptr);
|
bool beginRender(CMonitor* pMonitor, CRegion& damage, eRenderMode mode = RENDER_MODE_NORMAL, wlr_buffer* buffer = nullptr, CFramebuffer* fb = nullptr);
|
||||||
void endRender();
|
void endRender();
|
||||||
|
|
||||||
bool m_bBlockSurfaceFeedback = false;
|
bool m_bBlockSurfaceFeedback = false;
|
||||||
bool m_bRenderingSnapshot = false;
|
bool m_bRenderingSnapshot = false;
|
||||||
CWindow* m_pLastScanout = nullptr;
|
CWindow* m_pLastScanout = nullptr;
|
||||||
CMonitor* m_pMostHzMonitor = nullptr;
|
CMonitor* m_pMostHzMonitor = nullptr;
|
||||||
bool m_bDirectScanoutBlocked = false;
|
bool m_bDirectScanoutBlocked = false;
|
||||||
bool m_bSoftwareCursorsLocked = false;
|
bool m_bSoftwareCursorsLocked = false;
|
||||||
bool m_bTearingEnvSatisfied = false;
|
bool m_bTearingEnvSatisfied = false;
|
||||||
|
|
||||||
DAMAGETRACKINGMODES
|
DAMAGETRACKINGMODES
|
||||||
damageTrackingModeFromStr(const std::string&);
|
damageTrackingModeFromStr(const std::string&);
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <any>
|
||||||
#include "../../defines.hpp"
|
#include "../../defines.hpp"
|
||||||
#include "../../helpers/Region.hpp"
|
#include "../../helpers/Region.hpp"
|
||||||
#include "../../managers/input/InputManager.hpp"
|
|
||||||
#include "DecorationPositioner.hpp"
|
#include "DecorationPositioner.hpp"
|
||||||
|
|
||||||
enum eDecorationType {
|
enum eDecorationType {
|
||||||
|
|
Loading…
Reference in a new issue