mirror of
https://github.com/hyprwm/Hyprland
synced 2025-01-24 06:09:49 +01:00
core: cleanup header includes (#9088)
Cleanup some unneeded includes to speed up compilation
This commit is contained in:
parent
0dc7367a70
commit
2bad73354a
97 changed files with 224 additions and 72 deletions
|
@ -42,6 +42,25 @@
|
||||||
#include "helpers/ByteOperations.hpp"
|
#include "helpers/ByteOperations.hpp"
|
||||||
#include "render/decorations/CHyprGroupBarDecoration.hpp"
|
#include "render/decorations/CHyprGroupBarDecoration.hpp"
|
||||||
|
|
||||||
|
#include "managers/KeybindManager.hpp"
|
||||||
|
#include "managers/SessionLockManager.hpp"
|
||||||
|
#include "managers/ThreadManager.hpp"
|
||||||
|
#include "managers/XWaylandManager.hpp"
|
||||||
|
|
||||||
|
#include "config/ConfigManager.hpp"
|
||||||
|
#include "render/OpenGL.hpp"
|
||||||
|
#include "managers/input/InputManager.hpp"
|
||||||
|
#include "managers/AnimationManager.hpp"
|
||||||
|
#include "managers/EventManager.hpp"
|
||||||
|
#include "managers/HookSystemManager.hpp"
|
||||||
|
#include "managers/ProtocolManager.hpp"
|
||||||
|
#include "managers/LayoutManager.hpp"
|
||||||
|
#include "plugins/PluginSystem.hpp"
|
||||||
|
#include "helpers/Watchdog.hpp"
|
||||||
|
#include "hyprerror/HyprError.hpp"
|
||||||
|
#include "debug/HyprNotificationOverlay.hpp"
|
||||||
|
#include "debug/HyprDebugOverlay.hpp"
|
||||||
|
|
||||||
#include <hyprutils/string/String.hpp>
|
#include <hyprutils/string/String.hpp>
|
||||||
#include <aquamarine/input/Input.hpp>
|
#include <aquamarine/input/Input.hpp>
|
||||||
|
|
||||||
|
|
|
@ -5,30 +5,12 @@
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
|
|
||||||
#include "defines.hpp"
|
#include "defines.hpp"
|
||||||
#include "debug/Log.hpp"
|
|
||||||
#include "events/Events.hpp"
|
|
||||||
#include "config/ConfigManager.hpp"
|
|
||||||
#include "managers/ThreadManager.hpp"
|
#include "managers/ThreadManager.hpp"
|
||||||
#include "managers/XWaylandManager.hpp"
|
#include "managers/XWaylandManager.hpp"
|
||||||
#include "managers/input/InputManager.hpp"
|
|
||||||
#include "managers/LayoutManager.hpp"
|
|
||||||
#include "managers/KeybindManager.hpp"
|
#include "managers/KeybindManager.hpp"
|
||||||
#include "managers/AnimationManager.hpp"
|
|
||||||
#include "managers/EventManager.hpp"
|
|
||||||
#include "managers/ProtocolManager.hpp"
|
|
||||||
#include "managers/SessionLockManager.hpp"
|
#include "managers/SessionLockManager.hpp"
|
||||||
#include "managers/HookSystemManager.hpp"
|
|
||||||
#include "debug/HyprDebugOverlay.hpp"
|
|
||||||
#include "debug/HyprNotificationOverlay.hpp"
|
|
||||||
#include "helpers/Monitor.hpp"
|
|
||||||
#include "desktop/Workspace.hpp"
|
|
||||||
#include "desktop/Window.hpp"
|
#include "desktop/Window.hpp"
|
||||||
#include "protocols/types/ColorManagement.hpp"
|
#include "protocols/types/ColorManagement.hpp"
|
||||||
#include "render/Renderer.hpp"
|
|
||||||
#include "render/OpenGL.hpp"
|
|
||||||
#include "hyprerror/HyprError.hpp"
|
|
||||||
#include "plugins/PluginSystem.hpp"
|
|
||||||
#include "helpers/Watchdog.hpp"
|
|
||||||
|
|
||||||
#include <aquamarine/backend/Backend.hpp>
|
#include <aquamarine/backend/Backend.hpp>
|
||||||
#include <aquamarine/output/Output.hpp>
|
#include <aquamarine/output/Output.hpp>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <any>
|
#include <any>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <algorithm>
|
||||||
#include <hyprutils/math/Box.hpp>
|
#include <hyprutils/math/Box.hpp>
|
||||||
|
|
||||||
enum eIcons : uint8_t {
|
enum eIcons : uint8_t {
|
||||||
|
|
|
@ -11,8 +11,19 @@
|
||||||
#include "../protocols/LayerShell.hpp"
|
#include "../protocols/LayerShell.hpp"
|
||||||
#include "../xwayland/XWayland.hpp"
|
#include "../xwayland/XWayland.hpp"
|
||||||
#include "../protocols/OutputManagement.hpp"
|
#include "../protocols/OutputManagement.hpp"
|
||||||
#include "managers/AnimationManager.hpp"
|
#include "../managers/AnimationManager.hpp"
|
||||||
|
#include "../desktop/LayerSurface.hpp"
|
||||||
|
#include "defaultConfig.hpp"
|
||||||
|
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
#include "../hyprerror/HyprError.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
|
#include "../managers/LayoutManager.hpp"
|
||||||
|
#include "../managers/EventManager.hpp"
|
||||||
|
#include "../debug/HyprNotificationOverlay.hpp"
|
||||||
|
#include "../plugins/PluginSystem.hpp"
|
||||||
|
|
||||||
|
#include "managers/HookSystemManager.hpp"
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <hyprutils/path/Path.hpp>
|
#include <hyprutils/path/Path.hpp>
|
||||||
|
|
|
@ -4,23 +4,24 @@
|
||||||
#define CONFIG_MANAGER_H
|
#define CONFIG_MANAGER_H
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include "../debug/Log.hpp"
|
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include "../defines.hpp"
|
#include "../defines.hpp"
|
||||||
#include <variant>
|
#include <variant>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <algorithm>
|
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <xf86drmMode.h>
|
#include <xf86drmMode.h>
|
||||||
#include "../helpers/WLClasses.hpp"
|
|
||||||
#include "../helpers/Monitor.hpp"
|
#include "../helpers/Monitor.hpp"
|
||||||
#include "../helpers/varlist/VarList.hpp"
|
|
||||||
#include "../desktop/Window.hpp"
|
#include "../desktop/Window.hpp"
|
||||||
#include "../desktop/LayerSurface.hpp"
|
#include "../desktop/LayerRule.hpp"
|
||||||
|
|
||||||
#include "defaultConfig.hpp"
|
|
||||||
#include "ConfigDataValues.hpp"
|
#include "ConfigDataValues.hpp"
|
||||||
|
#include "SharedDefs.hpp"
|
||||||
|
#include "helpers/Color.hpp"
|
||||||
|
#include "desktop/DesktopTypes.hpp"
|
||||||
|
#include "helpers/memory/Memory.hpp"
|
||||||
|
#include "desktop/WindowRule.hpp"
|
||||||
|
#include "managers/XWaylandManager.hpp"
|
||||||
|
|
||||||
#include <hyprlang.hpp>
|
#include <hyprlang.hpp>
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <typeindex>
|
#include <typeindex>
|
||||||
#include <hyprlang.hpp>
|
#include <hyprlang.hpp>
|
||||||
#include "../debug/Log.hpp"
|
|
||||||
#include "../macros.hpp"
|
#include "../macros.hpp"
|
||||||
#include "ConfigManager.hpp"
|
#include "ConfigManager.hpp"
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
|
#include "../helpers/MiscFunctions.hpp"
|
||||||
|
|
||||||
#include "../plugins/PluginSystem.hpp"
|
#include "../plugins/PluginSystem.hpp"
|
||||||
#include "../signal-safe.hpp"
|
#include "../signal-safe.hpp"
|
||||||
|
|
|
@ -39,8 +39,18 @@ using namespace Hyprutils::String;
|
||||||
#include "debug/RollingLogFollow.hpp"
|
#include "debug/RollingLogFollow.hpp"
|
||||||
#include "config/ConfigManager.hpp"
|
#include "config/ConfigManager.hpp"
|
||||||
#include "helpers/MiscFunctions.hpp"
|
#include "helpers/MiscFunctions.hpp"
|
||||||
|
#include "../desktop/LayerSurface.hpp"
|
||||||
#include "../version.h"
|
#include "../version.h"
|
||||||
|
|
||||||
|
#include "../Compositor.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
|
#include "../managers/XWaylandManager.hpp"
|
||||||
|
#include "../managers/LayoutManager.hpp"
|
||||||
|
#include "../plugins/PluginSystem.hpp"
|
||||||
|
#include "../managers/AnimationManager.hpp"
|
||||||
|
#include "../debug/HyprNotificationOverlay.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
|
||||||
static void trimTrailingComma(std::string& str) {
|
static void trimTrailingComma(std::string& str) {
|
||||||
if (!str.empty() && str.back() == ',')
|
if (!str.empty() && str.back() == ',')
|
||||||
str.pop_back();
|
str.pop_back();
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../Compositor.hpp"
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include "../helpers/MiscFunctions.hpp"
|
#include "../helpers/MiscFunctions.hpp"
|
||||||
|
#include "../desktop/Window.hpp"
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|
||||||
// exposed for main.cpp
|
// exposed for main.cpp
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
#include "../Compositor.hpp"
|
#include "../Compositor.hpp"
|
||||||
#include "../render/pass/TexPassElement.hpp"
|
#include "../render/pass/TexPassElement.hpp"
|
||||||
#include "../render/Renderer.hpp"
|
#include "../render/Renderer.hpp"
|
||||||
|
#include "../managers/AnimationManager.hpp"
|
||||||
|
|
||||||
CHyprDebugOverlay::CHyprDebugOverlay() {
|
CHyprDebugOverlay::CHyprDebugOverlay() {
|
||||||
m_pTexture = makeShared<CTexture>();
|
m_pTexture = makeShared<CTexture>();
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../defines.hpp"
|
#include "../defines.hpp"
|
||||||
#include "../helpers/Monitor.hpp"
|
|
||||||
#include "../render/Texture.hpp"
|
#include "../render/Texture.hpp"
|
||||||
#include <cairo/cairo.h>
|
#include <cairo/cairo.h>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
|
@ -5,6 +5,10 @@
|
||||||
#include "../config/ConfigValue.hpp"
|
#include "../config/ConfigValue.hpp"
|
||||||
#include "../render/pass/TexPassElement.hpp"
|
#include "../render/pass/TexPassElement.hpp"
|
||||||
|
|
||||||
|
#include "../managers/AnimationManager.hpp"
|
||||||
|
#include "../managers/HookSystemManager.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
|
||||||
static inline auto iconBackendFromLayout(PangoLayout* layout) {
|
static inline auto iconBackendFromLayout(PangoLayout* layout) {
|
||||||
// preference: Nerd > FontAwesome > text
|
// preference: Nerd > FontAwesome > text
|
||||||
auto eIconBackendChecks = std::array<eIconBackend, 2>{ICONS_BACKEND_NF, ICONS_BACKEND_FA};
|
auto eIconBackendChecks = std::array<eIconBackend, 2>{ICONS_BACKEND_NF, ICONS_BACKEND_FA};
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
#include "../defines.hpp"
|
#include "../defines.hpp"
|
||||||
#include "../helpers/Timer.hpp"
|
#include "../helpers/Timer.hpp"
|
||||||
#include "../helpers/Monitor.hpp"
|
|
||||||
#include "../render/Texture.hpp"
|
#include "../render/Texture.hpp"
|
||||||
#include "../SharedDefs.hpp"
|
#include "../SharedDefs.hpp"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#include "Log.hpp"
|
#include "Log.hpp"
|
||||||
#include "../defines.hpp"
|
#include "../defines.hpp"
|
||||||
#include "../Compositor.hpp"
|
|
||||||
#include "RollingLogFollow.hpp"
|
#include "RollingLogFollow.hpp"
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include "../includes.hpp"
|
|
||||||
#include "../helpers/MiscFunctions.hpp"
|
|
||||||
|
|
||||||
#define LOGMESSAGESIZE 1024
|
#define LOGMESSAGESIZE 1024
|
||||||
#define ROLLING_LOG_SIZE 4096
|
#define ROLLING_LOG_SIZE 4096
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include "includes.hpp"
|
#include "includes.hpp"
|
||||||
#include "debug/Log.hpp"
|
#include "debug/Log.hpp"
|
||||||
#include "helpers/Color.hpp"
|
#include "helpers/Color.hpp"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "../macros.hpp"
|
#include "helpers/memory/Memory.hpp"
|
||||||
class CWorkspace;
|
class CWorkspace;
|
||||||
class CWindow;
|
class CWindow;
|
||||||
class CLayerSurface;
|
class CLayerSurface;
|
||||||
|
|
|
@ -5,6 +5,12 @@
|
||||||
#include "../protocols/core/Compositor.hpp"
|
#include "../protocols/core/Compositor.hpp"
|
||||||
#include "../managers/SeatManager.hpp"
|
#include "../managers/SeatManager.hpp"
|
||||||
#include "../managers/AnimationManager.hpp"
|
#include "../managers/AnimationManager.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
#include "../config/ConfigManager.hpp"
|
||||||
|
#include "../helpers/Monitor.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
|
#include "../managers/HookSystemManager.hpp"
|
||||||
|
#include "../managers/EventManager.hpp"
|
||||||
|
|
||||||
PHLLS CLayerSurface::create(SP<CLayerShellResource> resource) {
|
PHLLS CLayerSurface::create(SP<CLayerShellResource> resource) {
|
||||||
PHLLS pLS = SP<CLayerSurface>(new CLayerSurface(resource));
|
PHLLS pLS = SP<CLayerSurface>(new CLayerSurface(resource));
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
#include "../defines.hpp"
|
#include "../defines.hpp"
|
||||||
#include "WLSurface.hpp"
|
#include "WLSurface.hpp"
|
||||||
#include "../helpers/AnimatedVariable.hpp"
|
#include "../helpers/AnimatedVariable.hpp"
|
||||||
#include "LayerRule.hpp"
|
|
||||||
|
|
||||||
class CLayerShellResource;
|
class CLayerShellResource;
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,10 @@
|
||||||
#include "../protocols/core/Compositor.hpp"
|
#include "../protocols/core/Compositor.hpp"
|
||||||
#include "../managers/SeatManager.hpp"
|
#include "../managers/SeatManager.hpp"
|
||||||
#include "../managers/eventLoop/EventLoopManager.hpp"
|
#include "../managers/eventLoop/EventLoopManager.hpp"
|
||||||
|
#include "../desktop/LayerSurface.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
#include "../render/OpenGL.hpp"
|
||||||
#include <ranges>
|
#include <ranges>
|
||||||
|
|
||||||
CPopup::CPopup(PHLWINDOW pOwner) : m_pWindowOwner(pOwner) {
|
CPopup::CPopup(PHLWINDOW pOwner) : m_pWindowOwner(pOwner) {
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
#include "../config/ConfigValue.hpp"
|
#include "../config/ConfigValue.hpp"
|
||||||
#include "../protocols/core/Compositor.hpp"
|
#include "../protocols/core/Compositor.hpp"
|
||||||
#include "../protocols/core/Subcompositor.hpp"
|
#include "../protocols/core/Subcompositor.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
|
|
||||||
CSubsurface::CSubsurface(PHLWINDOW pOwner) : m_pWindowParent(pOwner) {
|
CSubsurface::CSubsurface(PHLWINDOW pOwner) : m_pWindowParent(pOwner) {
|
||||||
initSignals();
|
initSignals();
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
#include "WLSurface.hpp"
|
#include "WLSurface.hpp"
|
||||||
#include "../Compositor.hpp"
|
#include "LayerSurface.hpp"
|
||||||
|
#include "../desktop/Window.hpp"
|
||||||
#include "../protocols/core/Compositor.hpp"
|
#include "../protocols/core/Compositor.hpp"
|
||||||
#include "../protocols/LayerShell.hpp"
|
#include "../protocols/LayerShell.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
|
||||||
void CWLSurface::assign(SP<CWLSurfaceResource> pSurface) {
|
void CWLSurface::assign(SP<CWLSurfaceResource> pSurface) {
|
||||||
m_pResource = pSurface;
|
m_pResource = pSurface;
|
||||||
|
|
|
@ -17,6 +17,13 @@
|
||||||
#include "../protocols/core/Compositor.hpp"
|
#include "../protocols/core/Compositor.hpp"
|
||||||
#include "../xwayland/XWayland.hpp"
|
#include "../xwayland/XWayland.hpp"
|
||||||
#include "../helpers/Color.hpp"
|
#include "../helpers/Color.hpp"
|
||||||
|
#include "../events/Events.hpp"
|
||||||
|
#include "../managers/XWaylandManager.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
#include "../managers/LayoutManager.hpp"
|
||||||
|
#include "../managers/HookSystemManager.hpp"
|
||||||
|
#include "../managers/EventManager.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
|
|
||||||
#include <hyprutils/string/String.hpp>
|
#include <hyprutils/string/String.hpp>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "../config/ConfigDataValues.hpp"
|
#include "../config/ConfigDataValues.hpp"
|
||||||
#include "../defines.hpp"
|
|
||||||
#include "../helpers/AnimatedVariable.hpp"
|
#include "../helpers/AnimatedVariable.hpp"
|
||||||
#include "../helpers/math/Math.hpp"
|
#include "../helpers/math/Math.hpp"
|
||||||
#include "../helpers/signal/Signal.hpp"
|
#include "../helpers/signal/Signal.hpp"
|
||||||
|
@ -12,6 +11,7 @@
|
||||||
#include "../macros.hpp"
|
#include "../macros.hpp"
|
||||||
#include "../managers/XWaylandManager.hpp"
|
#include "../managers/XWaylandManager.hpp"
|
||||||
#include "../render/decorations/IHyprWindowDecoration.hpp"
|
#include "../render/decorations/IHyprWindowDecoration.hpp"
|
||||||
|
#include "../render/Transformer.hpp"
|
||||||
#include "DesktopTypes.hpp"
|
#include "DesktopTypes.hpp"
|
||||||
#include "Popup.hpp"
|
#include "Popup.hpp"
|
||||||
#include "Subsurface.hpp"
|
#include "Subsurface.hpp"
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
#include "../config/ConfigValue.hpp"
|
#include "../config/ConfigValue.hpp"
|
||||||
#include "config/ConfigManager.hpp"
|
#include "config/ConfigManager.hpp"
|
||||||
#include "managers/AnimationManager.hpp"
|
#include "managers/AnimationManager.hpp"
|
||||||
|
#include "../managers/EventManager.hpp"
|
||||||
|
#include "../managers/HookSystemManager.hpp"
|
||||||
|
|
||||||
#include <hyprutils/animation/AnimatedVariable.hpp>
|
#include <hyprutils/animation/AnimatedVariable.hpp>
|
||||||
#include <hyprutils/string/String.hpp>
|
#include <hyprutils/string/String.hpp>
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#include "Keyboard.hpp"
|
#include "Keyboard.hpp"
|
||||||
#include "../defines.hpp"
|
#include "../defines.hpp"
|
||||||
#include "../Compositor.hpp"
|
|
||||||
|
|
||||||
#include <aquamarine/input/Input.hpp>
|
#include <aquamarine/input/Input.hpp>
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,11 @@
|
||||||
#include "../xwayland/XSurface.hpp"
|
#include "../xwayland/XSurface.hpp"
|
||||||
#include "managers/AnimationManager.hpp"
|
#include "managers/AnimationManager.hpp"
|
||||||
#include "managers/PointerManager.hpp"
|
#include "managers/PointerManager.hpp"
|
||||||
|
#include "../desktop/LayerSurface.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
|
#include "../managers/LayoutManager.hpp"
|
||||||
|
#include "../managers/EventManager.hpp"
|
||||||
|
#include "../managers/AnimationManager.hpp"
|
||||||
|
|
||||||
#include <hyprutils/string/String.hpp>
|
#include <hyprutils/string/String.hpp>
|
||||||
using namespace Hyprutils::String;
|
using namespace Hyprutils::String;
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <hyprgraphics/color/Color.hpp>
|
#include <hyprgraphics/color/Color.hpp>
|
||||||
#include "../debug/Log.hpp"
|
|
||||||
#include "../macros.hpp"
|
#include "../macros.hpp"
|
||||||
|
|
||||||
class CHyprColor {
|
class CHyprColor {
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "../Compositor.hpp"
|
#include "../Compositor.hpp"
|
||||||
#include "../managers/TokenManager.hpp"
|
#include "../managers/TokenManager.hpp"
|
||||||
|
#include "Monitor.hpp"
|
||||||
|
#include "../config/ConfigManager.hpp"
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <string>
|
|
||||||
#include <wayland-server.h>
|
#include <wayland-server.h>
|
||||||
#include "math/Math.hpp"
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <format>
|
#include <format>
|
||||||
#include <expected>
|
#include <expected>
|
||||||
|
|
|
@ -17,9 +17,15 @@
|
||||||
#include "../managers/PointerManager.hpp"
|
#include "../managers/PointerManager.hpp"
|
||||||
#include "../managers/eventLoop/EventLoopManager.hpp"
|
#include "../managers/eventLoop/EventLoopManager.hpp"
|
||||||
#include "../protocols/core/Compositor.hpp"
|
#include "../protocols/core/Compositor.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
#include "../managers/EventManager.hpp"
|
||||||
|
#include "../managers/LayoutManager.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
#include "sync/SyncTimeline.hpp"
|
#include "sync/SyncTimeline.hpp"
|
||||||
|
#include "../desktop/LayerSurface.hpp"
|
||||||
#include <aquamarine/output/Output.hpp>
|
#include <aquamarine/output/Output.hpp>
|
||||||
#include "debug/Log.hpp"
|
#include "debug/Log.hpp"
|
||||||
|
#include "debug/HyprNotificationOverlay.hpp"
|
||||||
#include <hyprutils/string/String.hpp>
|
#include <hyprutils/string/String.hpp>
|
||||||
#include <hyprutils/utils/ScopeGuard.hpp>
|
#include <hyprutils/utils/ScopeGuard.hpp>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
#include <stack>
|
#include <stack>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "../SharedDefs.hpp"
|
#include "../SharedDefs.hpp"
|
||||||
|
#include "MiscFunctions.hpp"
|
||||||
#include "WLClasses.hpp"
|
#include "WLClasses.hpp"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../events/Events.hpp"
|
|
||||||
#include "../defines.hpp"
|
#include "../defines.hpp"
|
||||||
#include "../desktop/Window.hpp"
|
|
||||||
#include "../desktop/Subsurface.hpp"
|
#include "../desktop/Subsurface.hpp"
|
||||||
#include "../desktop/Popup.hpp"
|
#include "../desktop/Popup.hpp"
|
||||||
#include "../desktop/WLSurface.hpp"
|
#include "../desktop/WLSurface.hpp"
|
||||||
|
#include "macros.hpp"
|
||||||
|
#include "desktop/DesktopTypes.hpp"
|
||||||
|
#include "helpers/memory/Memory.hpp"
|
||||||
#include "signal/Signal.hpp"
|
#include "signal/Signal.hpp"
|
||||||
#include "math/Math.hpp"
|
|
||||||
|
|
||||||
class CMonitor;
|
class CMonitor;
|
||||||
class IPointer;
|
class IPointer;
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
#include "../config/ConfigValue.hpp"
|
#include "../config/ConfigValue.hpp"
|
||||||
#include "../render/pass/TexPassElement.hpp"
|
#include "../render/pass/TexPassElement.hpp"
|
||||||
#include "../managers/AnimationManager.hpp"
|
#include "../managers/AnimationManager.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
#include "../managers/HookSystemManager.hpp"
|
||||||
|
|
||||||
#include <hyprutils/utils/ScopeGuard.hpp>
|
#include <hyprutils/utils/ScopeGuard.hpp>
|
||||||
using namespace Hyprutils::Animation;
|
using namespace Hyprutils::Animation;
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
#include "../Compositor.hpp"
|
#include "../Compositor.hpp"
|
||||||
#include "../config/ConfigValue.hpp"
|
#include "../config/ConfigValue.hpp"
|
||||||
#include "../render/decorations/CHyprGroupBarDecoration.hpp"
|
#include "../render/decorations/CHyprGroupBarDecoration.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
|
#include "../managers/LayoutManager.hpp"
|
||||||
|
#include "../managers/EventManager.hpp"
|
||||||
|
|
||||||
void SDwindleNodeData::recalcSizePosRecursive(bool force, bool horizontalOverride, bool verticalOverride) {
|
void SDwindleNodeData::recalcSizePosRecursive(bool force, bool horizontalOverride, bool verticalOverride) {
|
||||||
if (children[0]) {
|
if (children[0]) {
|
||||||
|
|
|
@ -7,6 +7,11 @@
|
||||||
#include "../protocols/XDGShell.hpp"
|
#include "../protocols/XDGShell.hpp"
|
||||||
#include "../protocols/core/Compositor.hpp"
|
#include "../protocols/core/Compositor.hpp"
|
||||||
#include "../xwayland/XSurface.hpp"
|
#include "../xwayland/XSurface.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
|
#include "../managers/LayoutManager.hpp"
|
||||||
|
#include "../managers/EventManager.hpp"
|
||||||
|
#include "../managers/HookSystemManager.hpp"
|
||||||
|
|
||||||
void IHyprLayout::onWindowCreated(PHLWINDOW pWindow, eDirection direction) {
|
void IHyprLayout::onWindowCreated(PHLWINDOW pWindow, eDirection direction) {
|
||||||
CBox desiredGeometry = {};
|
CBox desiredGeometry = {};
|
||||||
|
|
|
@ -4,6 +4,10 @@
|
||||||
#include "config/ConfigDataValues.hpp"
|
#include "config/ConfigDataValues.hpp"
|
||||||
#include <ranges>
|
#include <ranges>
|
||||||
#include "../config/ConfigValue.hpp"
|
#include "../config/ConfigValue.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
|
#include "../managers/LayoutManager.hpp"
|
||||||
|
#include "../managers/EventManager.hpp"
|
||||||
|
|
||||||
SMasterNodeData* CHyprMasterLayout::getNodeFromWindow(PHLWINDOW pWindow) {
|
SMasterNodeData* CHyprMasterLayout::getNodeFromWindow(PHLWINDOW pWindow) {
|
||||||
for (auto& nd : m_lMasterNodesData) {
|
for (auto& nd : m_lMasterNodesData) {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
#include "IHyprLayout.hpp"
|
#include "IHyprLayout.hpp"
|
||||||
#include "../desktop/DesktopTypes.hpp"
|
#include "../desktop/DesktopTypes.hpp"
|
||||||
#include "../config/ConfigManager.hpp"
|
#include "../helpers/varlist/VarList.hpp"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#include "helpers/memory/Memory.hpp"
|
#include "helpers/memory/Memory.hpp"
|
||||||
|
#include "debug/Log.hpp"
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
#ifdef HYPRLAND_DEBUG
|
#ifdef HYPRLAND_DEBUG
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#include "../desktop/LayerSurface.hpp"
|
#include "../desktop/LayerSurface.hpp"
|
||||||
#include "eventLoop/EventLoopManager.hpp"
|
#include "eventLoop/EventLoopManager.hpp"
|
||||||
#include "../helpers/varlist/VarList.hpp"
|
#include "../helpers/varlist/VarList.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
|
||||||
#include <hyprgraphics/color/Color.hpp>
|
#include <hyprgraphics/color/Color.hpp>
|
||||||
#include <hyprutils/animation/AnimatedVariable.hpp>
|
#include <hyprutils/animation/AnimatedVariable.hpp>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
#include "../config/ConfigValue.hpp"
|
#include "../config/ConfigValue.hpp"
|
||||||
#include "PointerManager.hpp"
|
#include "PointerManager.hpp"
|
||||||
#include "../xwayland/XWayland.hpp"
|
#include "../xwayland/XWayland.hpp"
|
||||||
|
#include "../managers/HookSystemManager.hpp"
|
||||||
|
|
||||||
static int cursorAnimTimer(SP<CEventLoopTimer> self, void* data) {
|
static int cursorAnimTimer(SP<CEventLoopTimer> self, void* data) {
|
||||||
const auto cursorMgr = reinterpret_cast<CCursorManager*>(data);
|
const auto cursorMgr = reinterpret_cast<CCursorManager*>(data);
|
||||||
|
|
|
@ -13,6 +13,12 @@
|
||||||
#include "debug/Log.hpp"
|
#include "debug/Log.hpp"
|
||||||
#include "helpers/varlist/VarList.hpp"
|
#include "helpers/varlist/VarList.hpp"
|
||||||
#include "../helpers/signal/Signal.hpp"
|
#include "../helpers/signal/Signal.hpp"
|
||||||
|
#include "../managers/HookSystemManager.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
|
#include "../managers/LayoutManager.hpp"
|
||||||
|
#include "../managers/EventManager.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
#include "../hyprerror/HyprError.hpp"
|
||||||
|
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
|
|
|
@ -9,6 +9,10 @@
|
||||||
#include "../protocols/core/Seat.hpp"
|
#include "../protocols/core/Seat.hpp"
|
||||||
#include "eventLoop/EventLoopManager.hpp"
|
#include "eventLoop/EventLoopManager.hpp"
|
||||||
#include "../render/pass/TexPassElement.hpp"
|
#include "../render/pass/TexPassElement.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
|
#include "../managers/HookSystemManager.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
#include "../render/OpenGL.hpp"
|
||||||
#include "SeatManager.hpp"
|
#include "SeatManager.hpp"
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <gbm.h>
|
#include <gbm.h>
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../defines.hpp"
|
#include "../defines.hpp"
|
||||||
#include "../helpers/Monitor.hpp"
|
|
||||||
#include "../helpers/memory/Memory.hpp"
|
#include "../helpers/memory/Memory.hpp"
|
||||||
#include "../helpers/signal/Signal.hpp"
|
#include "../helpers/signal/Signal.hpp"
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
|
@ -6,6 +6,9 @@
|
||||||
#include "../protocols/core/Compositor.hpp"
|
#include "../protocols/core/Compositor.hpp"
|
||||||
#include "../Compositor.hpp"
|
#include "../Compositor.hpp"
|
||||||
#include "../devices/IKeyboard.hpp"
|
#include "../devices/IKeyboard.hpp"
|
||||||
|
#include "../desktop/LayerSurface.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
|
#include "../managers/HookSystemManager.hpp"
|
||||||
#include "wlr-layer-shell-unstable-v1.hpp"
|
#include "wlr-layer-shell-unstable-v1.hpp"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <ranges>
|
#include <ranges>
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <wayland-server-protocol.h>
|
#include <wayland-server-protocol.h>
|
||||||
#include "../macros.hpp"
|
|
||||||
#include "../helpers/signal/Signal.hpp"
|
#include "../helpers/signal/Signal.hpp"
|
||||||
#include "../helpers/math/Math.hpp"
|
#include "../helpers/math/Math.hpp"
|
||||||
#include "../protocols/types/DataDevice.hpp"
|
#include "../protocols/types/DataDevice.hpp"
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
#include "../protocols/FractionalScale.hpp"
|
#include "../protocols/FractionalScale.hpp"
|
||||||
#include "../protocols/SessionLock.hpp"
|
#include "../protocols/SessionLock.hpp"
|
||||||
#include "../managers/SeatManager.hpp"
|
#include "../managers/SeatManager.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <ranges>
|
#include <ranges>
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
#include <ranges>
|
#include <ranges>
|
||||||
#include "../../config/ConfigValue.hpp"
|
#include "../../config/ConfigValue.hpp"
|
||||||
#include "../../desktop/Window.hpp"
|
#include "../../desktop/Window.hpp"
|
||||||
|
#include "../../desktop/LayerSurface.hpp"
|
||||||
#include "../../protocols/CursorShape.hpp"
|
#include "../../protocols/CursorShape.hpp"
|
||||||
#include "../../protocols/IdleInhibit.hpp"
|
#include "../../protocols/IdleInhibit.hpp"
|
||||||
#include "../../protocols/RelativePointer.hpp"
|
#include "../../protocols/RelativePointer.hpp"
|
||||||
|
@ -29,6 +30,10 @@
|
||||||
#include "../../managers/PointerManager.hpp"
|
#include "../../managers/PointerManager.hpp"
|
||||||
#include "../../managers/SeatManager.hpp"
|
#include "../../managers/SeatManager.hpp"
|
||||||
#include "../../managers/KeybindManager.hpp"
|
#include "../../managers/KeybindManager.hpp"
|
||||||
|
#include "../../render/Renderer.hpp"
|
||||||
|
#include "../../managers/HookSystemManager.hpp"
|
||||||
|
#include "../../managers/EventManager.hpp"
|
||||||
|
#include "../../managers/LayoutManager.hpp"
|
||||||
|
|
||||||
#include <aquamarine/input/Input.hpp>
|
#include <aquamarine/input/Input.hpp>
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
#include "../../protocols/FractionalScale.hpp"
|
#include "../../protocols/FractionalScale.hpp"
|
||||||
#include "../../protocols/InputMethodV2.hpp"
|
#include "../../protocols/InputMethodV2.hpp"
|
||||||
#include "../../protocols/core/Compositor.hpp"
|
#include "../../protocols/core/Compositor.hpp"
|
||||||
|
#include "../../helpers/Monitor.hpp"
|
||||||
|
#include "../../render/Renderer.hpp"
|
||||||
|
|
||||||
CInputPopup::CInputPopup(SP<CInputMethodPopupV2> popup_) : popup(popup_) {
|
CInputPopup::CInputPopup(SP<CInputMethodPopupV2> popup_) : popup(popup_) {
|
||||||
listeners.commit = popup_->events.commit.registerListener([this](std::any d) { onCommit(); });
|
listeners.commit = popup_->events.commit.registerListener([this](std::any d) { onCommit(); });
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
#include "../../protocols/TextInputV1.hpp"
|
#include "../../protocols/TextInputV1.hpp"
|
||||||
#include "../../protocols/InputMethodV2.hpp"
|
#include "../../protocols/InputMethodV2.hpp"
|
||||||
#include "../../protocols/core/Compositor.hpp"
|
#include "../../protocols/core/Compositor.hpp"
|
||||||
|
#include "../../managers/HookSystemManager.hpp"
|
||||||
|
|
||||||
CInputMethodRelay::CInputMethodRelay() {
|
CInputMethodRelay::CInputMethodRelay() {
|
||||||
static auto P =
|
static auto P =
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
#include "InputManager.hpp"
|
#include "InputManager.hpp"
|
||||||
#include "../../Compositor.hpp"
|
#include "../../Compositor.hpp"
|
||||||
|
#include "../../desktop/LayerSurface.hpp"
|
||||||
#include "../../config/ConfigValue.hpp"
|
#include "../../config/ConfigValue.hpp"
|
||||||
|
#include "../../managers/HookSystemManager.hpp"
|
||||||
|
#include "../../render/Renderer.hpp"
|
||||||
|
|
||||||
void CInputManager::onSwipeBegin(IPointer::SSwipeBeginEvent e) {
|
void CInputManager::onSwipeBegin(IPointer::SSwipeBeginEvent e) {
|
||||||
static auto PSWIPE = CConfigValue<Hyprlang::INT>("gestures:workspace_swipe");
|
static auto PSWIPE = CConfigValue<Hyprlang::INT>("gestures:workspace_swipe");
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "InputManager.hpp"
|
#include "InputManager.hpp"
|
||||||
#include "../../Compositor.hpp"
|
#include "../../desktop/Window.hpp"
|
||||||
#include "../../protocols/Tablet.hpp"
|
#include "../../protocols/Tablet.hpp"
|
||||||
#include "../../devices/Tablet.hpp"
|
#include "../../devices/Tablet.hpp"
|
||||||
#include "../../managers/PointerManager.hpp"
|
#include "../../managers/PointerManager.hpp"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../../macros.hpp"
|
|
||||||
#include "../../helpers/math/Math.hpp"
|
#include "../../helpers/math/Math.hpp"
|
||||||
#include "../../helpers/signal/Signal.hpp"
|
#include "../../helpers/signal/Signal.hpp"
|
||||||
|
#include "../../helpers/memory/Memory.hpp"
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
struct wl_client;
|
struct wl_client;
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
#include "InputManager.hpp"
|
#include "InputManager.hpp"
|
||||||
#include "../../Compositor.hpp"
|
#include "../../Compositor.hpp"
|
||||||
|
#include "../../desktop/LayerSurface.hpp"
|
||||||
#include "../../config/ConfigValue.hpp"
|
#include "../../config/ConfigValue.hpp"
|
||||||
#include "../../devices/ITouch.hpp"
|
#include "../../devices/ITouch.hpp"
|
||||||
#include "../SeatManager.hpp"
|
#include "../SeatManager.hpp"
|
||||||
#include "managers/AnimationManager.hpp"
|
#include "managers/AnimationManager.hpp"
|
||||||
|
#include "../HookSystemManager.hpp"
|
||||||
|
|
||||||
void CInputManager::onTouchDown(ITouch::SDownEvent e) {
|
void CInputManager::onTouchDown(ITouch::SDownEvent e) {
|
||||||
m_bLastInputTouch = true;
|
m_bLastInputTouch = true;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#include "../debug/Log.hpp"
|
#include "../debug/Log.hpp"
|
||||||
#include "../helpers/varlist/VarList.hpp"
|
#include "../helpers/varlist/VarList.hpp"
|
||||||
#include "../managers/TokenManager.hpp"
|
#include "../managers/TokenManager.hpp"
|
||||||
#include "../Compositor.hpp"
|
#include "../helpers/MiscFunctions.hpp"
|
||||||
|
|
||||||
#define register
|
#define register
|
||||||
#include <udis86.h>
|
#include <udis86.h>
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
#include "PluginAPI.hpp"
|
#include "PluginAPI.hpp"
|
||||||
#include "../Compositor.hpp"
|
#include "../Compositor.hpp"
|
||||||
#include "../debug/HyprCtl.hpp"
|
#include "../debug/HyprCtl.hpp"
|
||||||
|
#include "../plugins/PluginSystem.hpp"
|
||||||
|
#include "../managers/HookSystemManager.hpp"
|
||||||
|
#include "../managers/LayoutManager.hpp"
|
||||||
|
#include "../config/ConfigManager.hpp"
|
||||||
|
#include "../debug/HyprNotificationOverlay.hpp"
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#include <ranges>
|
#include <ranges>
|
||||||
#include "../Compositor.hpp"
|
#include "../config/ConfigManager.hpp"
|
||||||
|
#include "../managers/LayoutManager.hpp"
|
||||||
|
#include "../managers/HookSystemManager.hpp"
|
||||||
|
|
||||||
CPluginSystem::CPluginSystem() {
|
CPluginSystem::CPluginSystem() {
|
||||||
g_pFunctionHookSystem = std::make_unique<CHookSystem>();
|
g_pFunctionHookSystem = std::make_unique<CHookSystem>();
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
#include "core/Output.hpp"
|
#include "core/Output.hpp"
|
||||||
#include "../config/ConfigValue.hpp"
|
#include "../config/ConfigValue.hpp"
|
||||||
#include "managers/AnimationManager.hpp"
|
#include "managers/AnimationManager.hpp"
|
||||||
|
#include "../helpers/Monitor.hpp"
|
||||||
|
|
||||||
CHyprlandCTMControlResource::CHyprlandCTMControlResource(SP<CHyprlandCtmControlManagerV1> resource_) : resource(resource_) {
|
CHyprlandCTMControlResource::CHyprlandCTMControlResource(SP<CHyprlandCtmControlManagerV1> resource_) : resource(resource_) {
|
||||||
if (!good())
|
if (!good())
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#include "DRMLease.hpp"
|
#include "DRMLease.hpp"
|
||||||
#include "../Compositor.hpp"
|
#include "../Compositor.hpp"
|
||||||
|
#include "../helpers/Monitor.hpp"
|
||||||
#include "managers/eventLoop/EventLoopManager.hpp"
|
#include "managers/eventLoop/EventLoopManager.hpp"
|
||||||
#include <aquamarine/backend/DRM.hpp>
|
#include <aquamarine/backend/DRM.hpp>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#include "ForeignToplevel.hpp"
|
#include "ForeignToplevel.hpp"
|
||||||
#include "../Compositor.hpp"
|
#include "../Compositor.hpp"
|
||||||
|
#include "../managers/HookSystemManager.hpp"
|
||||||
|
|
||||||
CForeignToplevelHandle::CForeignToplevelHandle(SP<CExtForeignToplevelHandleV1> resource_, PHLWINDOW pWindow_) : resource(resource_), pWindow(pWindow_) {
|
CForeignToplevelHandle::CForeignToplevelHandle(SP<CExtForeignToplevelHandleV1> resource_, PHLWINDOW pWindow_) : resource(resource_), pWindow(pWindow_) {
|
||||||
if (!resource_->resource())
|
if (!resource_->resource())
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
#include "../Compositor.hpp"
|
#include "../Compositor.hpp"
|
||||||
#include "protocols/core/Output.hpp"
|
#include "protocols/core/Output.hpp"
|
||||||
#include "render/Renderer.hpp"
|
#include "render/Renderer.hpp"
|
||||||
|
#include "../managers/HookSystemManager.hpp"
|
||||||
|
|
||||||
CForeignToplevelHandleWlr::CForeignToplevelHandleWlr(SP<CZwlrForeignToplevelHandleV1> resource_, PHLWINDOW pWindow_) : resource(resource_), pWindow(pWindow_) {
|
CForeignToplevelHandleWlr::CForeignToplevelHandleWlr(SP<CZwlrForeignToplevelHandleV1> resource_, PHLWINDOW pWindow_) : resource(resource_), pWindow(pWindow_) {
|
||||||
if (!resource_->resource())
|
if (!resource_->resource())
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include "../helpers/Monitor.hpp"
|
#include "../helpers/Monitor.hpp"
|
||||||
#include "../Compositor.hpp"
|
|
||||||
#include "../protocols/core/Output.hpp"
|
#include "../protocols/core/Output.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
|
||||||
CGammaControl::CGammaControl(SP<CZwlrGammaControlV1> resource_, wl_resource* output) : resource(resource_) {
|
CGammaControl::CGammaControl(SP<CZwlrGammaControlV1> resource_, wl_resource* output) : resource(resource_) {
|
||||||
if (!resource_->resource())
|
if (!resource_->resource())
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#include "GlobalShortcuts.hpp"
|
#include "GlobalShortcuts.hpp"
|
||||||
#include "../Compositor.hpp"
|
|
||||||
|
|
||||||
CShortcutClient::CShortcutClient(SP<CHyprlandGlobalShortcutsManagerV1> resource_) : resource(resource_) {
|
CShortcutClient::CShortcutClient(SP<CHyprlandGlobalShortcutsManagerV1> resource_) : resource(resource_) {
|
||||||
if (!good())
|
if (!good())
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
#include "LayerShell.hpp"
|
#include "LayerShell.hpp"
|
||||||
#include "../Compositor.hpp"
|
#include "../Compositor.hpp"
|
||||||
|
#include "../desktop/LayerSurface.hpp"
|
||||||
#include "XDGShell.hpp"
|
#include "XDGShell.hpp"
|
||||||
#include "core/Compositor.hpp"
|
#include "core/Compositor.hpp"
|
||||||
#include "core/Output.hpp"
|
#include "core/Output.hpp"
|
||||||
|
#include "../helpers/Monitor.hpp"
|
||||||
|
|
||||||
void CLayerShellResource::SState::reset() {
|
void CLayerShellResource::SState::reset() {
|
||||||
anchor = 0;
|
anchor = 0;
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
#include <xf86drm.h>
|
#include <xf86drm.h>
|
||||||
#include "../Compositor.hpp"
|
#include "../Compositor.hpp"
|
||||||
#include "types/WLBuffer.hpp"
|
#include "types/WLBuffer.hpp"
|
||||||
|
#include "../render/OpenGL.hpp"
|
||||||
|
|
||||||
CMesaDRMBufferResource::CMesaDRMBufferResource(uint32_t id, wl_client* client, Aquamarine::SDMABUFAttrs attrs_) {
|
CMesaDRMBufferResource::CMesaDRMBufferResource(uint32_t id, wl_client* client, Aquamarine::SDMABUFAttrs attrs_) {
|
||||||
LOGM(LOG, "Creating a Mesa dmabuf, with id {}: size {}, fmt {}, planes {}", id, attrs_.size, attrs_.format, attrs_.planes);
|
LOGM(LOG, "Creating a Mesa dmabuf, with id {}: size {}, fmt {}, planes {}", id, attrs_.size, attrs_.format, attrs_.planes);
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
#include "OutputManagement.hpp"
|
#include "OutputManagement.hpp"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "../Compositor.hpp"
|
#include "../Compositor.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
|
#include "../managers/HookSystemManager.hpp"
|
||||||
|
#include "../config/ConfigManager.hpp"
|
||||||
|
|
||||||
using namespace Aquamarine;
|
using namespace Aquamarine;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "OutputPower.hpp"
|
#include "OutputPower.hpp"
|
||||||
#include "../Compositor.hpp"
|
|
||||||
#include "core/Output.hpp"
|
#include "core/Output.hpp"
|
||||||
|
#include "../helpers/Monitor.hpp"
|
||||||
|
|
||||||
COutputPower::COutputPower(SP<CZwlrOutputPowerV1> resource_, PHLMONITOR pMonitor_) : resource(resource_), pMonitor(pMonitor_) {
|
COutputPower::COutputPower(SP<CZwlrOutputPowerV1> resource_, PHLMONITOR pMonitor_) : resource(resource_), pMonitor(pMonitor_) {
|
||||||
if (!resource->resource())
|
if (!resource->resource())
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
#include "../config/ConfigValue.hpp"
|
#include "../config/ConfigValue.hpp"
|
||||||
#include "../managers/SeatManager.hpp"
|
#include "../managers/SeatManager.hpp"
|
||||||
#include "core/Compositor.hpp"
|
#include "core/Compositor.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
#include "../helpers/Monitor.hpp"
|
||||||
|
|
||||||
CPointerConstraint::CPointerConstraint(SP<CZwpLockedPointerV1> resource_, SP<CWLSurfaceResource> surf, wl_resource* region_, zwpPointerConstraintsV1Lifetime lifetime_) :
|
CPointerConstraint::CPointerConstraint(SP<CZwpLockedPointerV1> resource_, SP<CWLSurfaceResource> surf, wl_resource* region_, zwpPointerConstraintsV1Lifetime lifetime_) :
|
||||||
resourceL(resource_), locked(true), lifetime(lifetime_) {
|
resourceL(resource_), locked(true), lifetime(lifetime_) {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#include "PointerGestures.hpp"
|
#include "PointerGestures.hpp"
|
||||||
#include "../Compositor.hpp"
|
|
||||||
#include "../managers/SeatManager.hpp"
|
#include "../managers/SeatManager.hpp"
|
||||||
#include "core/Seat.hpp"
|
#include "core/Seat.hpp"
|
||||||
#include "core/Compositor.hpp"
|
#include "core/Compositor.hpp"
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#include "RelativePointer.hpp"
|
#include "RelativePointer.hpp"
|
||||||
#include "../Compositor.hpp"
|
|
||||||
#include "../managers/SeatManager.hpp"
|
#include "../managers/SeatManager.hpp"
|
||||||
#include "core/Seat.hpp"
|
#include "core/Seat.hpp"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
#include "../Compositor.hpp"
|
#include "../Compositor.hpp"
|
||||||
#include "../managers/eventLoop/EventLoopManager.hpp"
|
#include "../managers/eventLoop/EventLoopManager.hpp"
|
||||||
#include "../managers/PointerManager.hpp"
|
#include "../managers/PointerManager.hpp"
|
||||||
|
#include "../managers/EventManager.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
#include "../render/OpenGL.hpp"
|
||||||
|
#include "../helpers/Monitor.hpp"
|
||||||
#include "core/Output.hpp"
|
#include "core/Output.hpp"
|
||||||
#include "types/WLBuffer.hpp"
|
#include "types/WLBuffer.hpp"
|
||||||
#include "types/Buffer.hpp"
|
#include "types/Buffer.hpp"
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
#include "FractionalScale.hpp"
|
#include "FractionalScale.hpp"
|
||||||
#include "core/Compositor.hpp"
|
#include "core/Compositor.hpp"
|
||||||
#include "core/Output.hpp"
|
#include "core/Output.hpp"
|
||||||
|
#include "../helpers/Monitor.hpp"
|
||||||
|
|
||||||
CSessionLockSurface::CSessionLockSurface(SP<CExtSessionLockSurfaceV1> resource_, SP<CWLSurfaceResource> surface_, PHLMONITOR pMonitor_, WP<CSessionLock> owner_) :
|
CSessionLockSurface::CSessionLockSurface(SP<CExtSessionLockSurfaceV1> resource_, SP<CWLSurfaceResource> surface_, PHLMONITOR pMonitor_, WP<CSessionLock> owner_) :
|
||||||
resource(resource_), sessionLock(owner_), pSurface(surface_), pMonitor(pMonitor_) {
|
resource(resource_), sessionLock(owner_), pSurface(surface_), pMonitor(pMonitor_) {
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#include "SinglePixel.hpp"
|
#include "SinglePixel.hpp"
|
||||||
|
#include "../desktop/LayerSurface.hpp"
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include "render/Renderer.hpp"
|
#include "render/Renderer.hpp"
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#include "../devices/Tablet.hpp"
|
#include "../devices/Tablet.hpp"
|
||||||
#include "../Compositor.hpp"
|
#include "../Compositor.hpp"
|
||||||
#include "../managers/SeatManager.hpp"
|
#include "../managers/SeatManager.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
#include "core/Seat.hpp"
|
#include "core/Seat.hpp"
|
||||||
#include "core/Compositor.hpp"
|
#include "core/Compositor.hpp"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
#include "../desktop/Window.hpp"
|
#include "../desktop/Window.hpp"
|
||||||
#include "../Compositor.hpp"
|
#include "../Compositor.hpp"
|
||||||
#include "core/Compositor.hpp"
|
#include "core/Compositor.hpp"
|
||||||
|
#include "../managers/HookSystemManager.hpp"
|
||||||
|
|
||||||
CTearingControlProtocol::CTearingControlProtocol(const wl_interface* iface, const int& ver, const std::string& name) : IWaylandProtocol(iface, ver, name) {
|
CTearingControlProtocol::CTearingControlProtocol(const wl_interface* iface, const int& ver, const std::string& name) : IWaylandProtocol(iface, ver, name) {
|
||||||
static auto P =
|
static auto P =
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#include "TextInputV1.hpp"
|
#include "TextInputV1.hpp"
|
||||||
|
|
||||||
#include "../Compositor.hpp"
|
|
||||||
#include "core/Compositor.hpp"
|
#include "core/Compositor.hpp"
|
||||||
|
|
||||||
CTextInputV1::~CTextInputV1() {
|
CTextInputV1::~CTextInputV1() {
|
||||||
|
|
|
@ -6,6 +6,9 @@
|
||||||
#include "types/WLBuffer.hpp"
|
#include "types/WLBuffer.hpp"
|
||||||
#include "types/Buffer.hpp"
|
#include "types/Buffer.hpp"
|
||||||
#include "../helpers/Format.hpp"
|
#include "../helpers/Format.hpp"
|
||||||
|
#include "../managers/EventManager.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
|
#include "../render/Renderer.hpp"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include "XDGOutput.hpp"
|
#include "XDGOutput.hpp"
|
||||||
#include "../Compositor.hpp"
|
|
||||||
#include "../config/ConfigValue.hpp"
|
#include "../config/ConfigValue.hpp"
|
||||||
#include "../xwayland/XWayland.hpp"
|
#include "../xwayland/XWayland.hpp"
|
||||||
|
#include "../managers/HookSystemManager.hpp"
|
||||||
#include "core/Output.hpp"
|
#include "core/Output.hpp"
|
||||||
|
|
||||||
#define OUTPUT_MANAGER_VERSION 3
|
#define OUTPUT_MANAGER_VERSION 3
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "../Compositor.hpp"
|
#include "../Compositor.hpp"
|
||||||
#include "../managers/SeatManager.hpp"
|
#include "../managers/SeatManager.hpp"
|
||||||
|
#include "../helpers/Monitor.hpp"
|
||||||
#include "core/Seat.hpp"
|
#include "core/Seat.hpp"
|
||||||
#include "core/Compositor.hpp"
|
#include "core/Compositor.hpp"
|
||||||
#include "protocols/core/Output.hpp"
|
#include "protocols/core/Output.hpp"
|
||||||
|
|
|
@ -9,6 +9,10 @@
|
||||||
#include "Compositor.hpp"
|
#include "Compositor.hpp"
|
||||||
#include "../../xwayland/XWayland.hpp"
|
#include "../../xwayland/XWayland.hpp"
|
||||||
#include "../../xwayland/Server.hpp"
|
#include "../../xwayland/Server.hpp"
|
||||||
|
#include "../../managers/input/InputManager.hpp"
|
||||||
|
#include "../../managers/HookSystemManager.hpp"
|
||||||
|
#include "../../helpers/Monitor.hpp"
|
||||||
|
#include "../../render/Renderer.hpp"
|
||||||
|
|
||||||
CWLDataOfferResource::CWLDataOfferResource(SP<CWlDataOffer> resource_, SP<IDataSource> source_) : source(source_), resource(resource_) {
|
CWLDataOfferResource::CWLDataOfferResource(SP<CWlDataOffer> resource_, SP<IDataSource> source_) : source(source_), resource(resource_) {
|
||||||
if (!good())
|
if (!good())
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
#include <drm_fourcc.h>
|
#include <drm_fourcc.h>
|
||||||
#include "../../render/Texture.hpp"
|
#include "../../render/Texture.hpp"
|
||||||
#include "../types/WLBuffer.hpp"
|
#include "../types/WLBuffer.hpp"
|
||||||
#include "../../Compositor.hpp"
|
|
||||||
#include "../../helpers/Format.hpp"
|
#include "../../helpers/Format.hpp"
|
||||||
|
#include "../../render/Renderer.hpp"
|
||||||
|
|
||||||
CWLSHMBuffer::CWLSHMBuffer(SP<CWLSHMPoolResource> pool_, uint32_t id, int32_t offset_, const Vector2D& size_, int32_t stride_, uint32_t fmt_) {
|
CWLSHMBuffer::CWLSHMBuffer(SP<CWLSHMPoolResource> pool_, uint32_t id, int32_t offset_, const Vector2D& size_, int32_t stride_, uint32_t fmt_) {
|
||||||
if (!pool_->pool->data)
|
if (!pool_->pool->data)
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#include "DMABuffer.hpp"
|
#include "DMABuffer.hpp"
|
||||||
#include "WLBuffer.hpp"
|
#include "WLBuffer.hpp"
|
||||||
|
#include "../../desktop/LayerSurface.hpp"
|
||||||
#include "../../render/Renderer.hpp"
|
#include "../../render/Renderer.hpp"
|
||||||
#include "../../helpers/Format.hpp"
|
#include "../../helpers/Format.hpp"
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
#include "../core/Compositor.hpp"
|
#include "../core/Compositor.hpp"
|
||||||
#include "../DRMSyncobj.hpp"
|
#include "../DRMSyncobj.hpp"
|
||||||
#include "../../helpers/sync/SyncTimeline.hpp"
|
#include "../../helpers/sync/SyncTimeline.hpp"
|
||||||
#include "../../Compositor.hpp"
|
|
||||||
#include <xf86drm.h>
|
#include <xf86drm.h>
|
||||||
|
|
||||||
CWLBufferResource::CWLBufferResource(SP<CWlBuffer> resource_) : resource(resource_) {
|
CWLBufferResource::CWLBufferResource(SP<CWlBuffer> resource_) : resource(resource_) {
|
||||||
|
|
|
@ -2,12 +2,15 @@
|
||||||
#include <pango/pangocairo.h>
|
#include <pango/pangocairo.h>
|
||||||
#include "Shaders.hpp"
|
#include "Shaders.hpp"
|
||||||
#include "OpenGL.hpp"
|
#include "OpenGL.hpp"
|
||||||
|
#include "Renderer.hpp"
|
||||||
#include "../Compositor.hpp"
|
#include "../Compositor.hpp"
|
||||||
#include "../helpers/MiscFunctions.hpp"
|
#include "../helpers/MiscFunctions.hpp"
|
||||||
#include "../config/ConfigValue.hpp"
|
#include "../config/ConfigValue.hpp"
|
||||||
#include "../desktop/LayerSurface.hpp"
|
#include "../desktop/LayerSurface.hpp"
|
||||||
#include "../protocols/LayerShell.hpp"
|
#include "../protocols/LayerShell.hpp"
|
||||||
#include "../protocols/core/Compositor.hpp"
|
#include "../protocols/core/Compositor.hpp"
|
||||||
|
#include "../managers/HookSystemManager.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
#include "pass/TexPassElement.hpp"
|
#include "pass/TexPassElement.hpp"
|
||||||
#include "pass/RectPassElement.hpp"
|
#include "pass/RectPassElement.hpp"
|
||||||
#include "pass/PreBlurElement.hpp"
|
#include "pass/PreBlurElement.hpp"
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
#include "Shader.hpp"
|
#include "Shader.hpp"
|
||||||
#include "Texture.hpp"
|
#include "Texture.hpp"
|
||||||
#include "Framebuffer.hpp"
|
#include "Framebuffer.hpp"
|
||||||
#include "Transformer.hpp"
|
|
||||||
#include "Renderbuffer.hpp"
|
#include "Renderbuffer.hpp"
|
||||||
#include "pass/Pass.hpp"
|
#include "pass/Pass.hpp"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#include "Renderbuffer.hpp"
|
#include "Renderbuffer.hpp"
|
||||||
|
#include "Renderer.hpp"
|
||||||
#include "OpenGL.hpp"
|
#include "OpenGL.hpp"
|
||||||
#include "../Compositor.hpp"
|
#include "../Compositor.hpp"
|
||||||
#include "../protocols/types/Buffer.hpp"
|
#include "../protocols/types/Buffer.hpp"
|
||||||
|
|
|
@ -8,6 +8,10 @@
|
||||||
#include "../config/ConfigValue.hpp"
|
#include "../config/ConfigValue.hpp"
|
||||||
#include "../managers/CursorManager.hpp"
|
#include "../managers/CursorManager.hpp"
|
||||||
#include "../managers/PointerManager.hpp"
|
#include "../managers/PointerManager.hpp"
|
||||||
|
#include "../managers/input/InputManager.hpp"
|
||||||
|
#include "../managers/HookSystemManager.hpp"
|
||||||
|
#include "../managers/AnimationManager.hpp"
|
||||||
|
#include "../managers/LayoutManager.hpp"
|
||||||
#include "../desktop/Window.hpp"
|
#include "../desktop/Window.hpp"
|
||||||
#include "../desktop/LayerSurface.hpp"
|
#include "../desktop/LayerSurface.hpp"
|
||||||
#include "../protocols/SessionLock.hpp"
|
#include "../protocols/SessionLock.hpp"
|
||||||
|
@ -19,6 +23,9 @@
|
||||||
#include "../protocols/DRMSyncobj.hpp"
|
#include "../protocols/DRMSyncobj.hpp"
|
||||||
#include "../protocols/LinuxDMABUF.hpp"
|
#include "../protocols/LinuxDMABUF.hpp"
|
||||||
#include "../helpers/sync/SyncTimeline.hpp"
|
#include "../helpers/sync/SyncTimeline.hpp"
|
||||||
|
#include "../hyprerror/HyprError.hpp"
|
||||||
|
#include "../debug/HyprDebugOverlay.hpp"
|
||||||
|
#include "../debug/HyprNotificationOverlay.hpp"
|
||||||
#include "pass/TexPassElement.hpp"
|
#include "pass/TexPassElement.hpp"
|
||||||
#include "pass/ClearPassElement.hpp"
|
#include "pass/ClearPassElement.hpp"
|
||||||
#include "pass/RectPassElement.hpp"
|
#include "pass/RectPassElement.hpp"
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
#include "../defines.hpp"
|
#include "../defines.hpp"
|
||||||
#include <list>
|
#include <list>
|
||||||
#include "../helpers/Monitor.hpp"
|
#include "../helpers/Monitor.hpp"
|
||||||
|
#include "../desktop/LayerSurface.hpp"
|
||||||
#include "OpenGL.hpp"
|
#include "OpenGL.hpp"
|
||||||
#include "Renderbuffer.hpp"
|
#include "Renderbuffer.hpp"
|
||||||
#include "../helpers/Timer.hpp"
|
#include "../helpers/Timer.hpp"
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
#include "../../config/ConfigValue.hpp"
|
#include "../../config/ConfigValue.hpp"
|
||||||
#include "../../managers/eventLoop/EventLoopManager.hpp"
|
#include "../../managers/eventLoop/EventLoopManager.hpp"
|
||||||
#include "../pass/BorderPassElement.hpp"
|
#include "../pass/BorderPassElement.hpp"
|
||||||
|
#include "../Renderer.hpp"
|
||||||
|
#include "../../managers/HookSystemManager.hpp"
|
||||||
|
|
||||||
CHyprBorderDecoration::CHyprBorderDecoration(PHLWINDOW pWindow) : IHyprWindowDecoration(pWindow), m_pWindow(pWindow) {
|
CHyprBorderDecoration::CHyprBorderDecoration(PHLWINDOW pWindow) : IHyprWindowDecoration(pWindow), m_pWindow(pWindow) {
|
||||||
;
|
;
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
#include "../../Compositor.hpp"
|
#include "../../Compositor.hpp"
|
||||||
#include "../../config/ConfigValue.hpp"
|
#include "../../config/ConfigValue.hpp"
|
||||||
#include "../pass/ShadowPassElement.hpp"
|
#include "../pass/ShadowPassElement.hpp"
|
||||||
|
#include "../Renderer.hpp"
|
||||||
|
|
||||||
CHyprDropShadowDecoration::CHyprDropShadowDecoration(PHLWINDOW pWindow) : IHyprWindowDecoration(pWindow), m_pWindow(pWindow) {
|
CHyprDropShadowDecoration::CHyprDropShadowDecoration(PHLWINDOW pWindow) : IHyprWindowDecoration(pWindow), m_pWindow(pWindow) {
|
||||||
;
|
;
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
#include <pango/pangocairo.h>
|
#include <pango/pangocairo.h>
|
||||||
#include "../pass/TexPassElement.hpp"
|
#include "../pass/TexPassElement.hpp"
|
||||||
#include "../pass/RectPassElement.hpp"
|
#include "../pass/RectPassElement.hpp"
|
||||||
|
#include "../Renderer.hpp"
|
||||||
|
#include "../../managers/input/InputManager.hpp"
|
||||||
|
|
||||||
// shared things to conserve VRAM
|
// shared things to conserve VRAM
|
||||||
static SP<CTexture> m_tGradientActive = makeShared<CTexture>();
|
static SP<CTexture> m_tGradientActive = makeShared<CTexture>();
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#include "DecorationPositioner.hpp"
|
#include "DecorationPositioner.hpp"
|
||||||
#include "../../Compositor.hpp"
|
#include "../../desktop/Window.hpp"
|
||||||
|
#include "../../managers/HookSystemManager.hpp"
|
||||||
|
#include "../../managers/LayoutManager.hpp"
|
||||||
|
|
||||||
CDecorationPositioner::CDecorationPositioner() {
|
CDecorationPositioner::CDecorationPositioner() {
|
||||||
static auto P = g_pHookSystem->hookDynamic("closeWindow", [this](void* call, SCallbackInfo& info, std::any data) {
|
static auto P = g_pHookSystem->hookDynamic("closeWindow", [this](void* call, SCallbackInfo& info, std::any data) {
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#include "../../desktop/WLSurface.hpp"
|
#include "../../desktop/WLSurface.hpp"
|
||||||
#include "../../managers/SeatManager.hpp"
|
#include "../../managers/SeatManager.hpp"
|
||||||
#include "../../managers/eventLoop/EventLoopManager.hpp"
|
#include "../../managers/eventLoop/EventLoopManager.hpp"
|
||||||
|
#include "../../render/Renderer.hpp"
|
||||||
#include "../../Compositor.hpp"
|
#include "../../Compositor.hpp"
|
||||||
|
|
||||||
bool CRenderPass::empty() const {
|
bool CRenderPass::empty() const {
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#include "SurfacePassElement.hpp"
|
#include "SurfacePassElement.hpp"
|
||||||
#include "../OpenGL.hpp"
|
#include "../OpenGL.hpp"
|
||||||
#include "../../desktop/WLSurface.hpp"
|
#include "../../desktop/WLSurface.hpp"
|
||||||
|
#include "../../desktop/Window.hpp"
|
||||||
#include "../../protocols/core/Compositor.hpp"
|
#include "../../protocols/core/Compositor.hpp"
|
||||||
#include "../../protocols/DRMSyncobj.hpp"
|
#include "../../protocols/DRMSyncobj.hpp"
|
||||||
#include "../../managers/input/InputManager.hpp"
|
#include "../../managers/input/InputManager.hpp"
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
#ifndef NO_XWAYLAND
|
#ifndef NO_XWAYLAND
|
||||||
|
|
||||||
#include <ranges>
|
#include <ranges>
|
||||||
#include "../Compositor.hpp"
|
|
||||||
|
|
||||||
CXWaylandSurface::CXWaylandSurface(uint32_t xID_, CBox geometry_, bool OR) : xID(xID_), geometry(geometry_), overrideRedirect(OR) {
|
CXWaylandSurface::CXWaylandSurface(uint32_t xID_, CBox geometry_, bool OR) : xID(xID_), geometry(geometry_), overrideRedirect(OR) {
|
||||||
xcb_res_query_client_ids_cookie_t client_id_cookie = {0};
|
xcb_res_query_client_ids_cookie_t client_id_cookie = {0};
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../macros.hpp"
|
|
||||||
#include "XDataSource.hpp"
|
#include "XDataSource.hpp"
|
||||||
#include "Dnd.hpp"
|
#include "Dnd.hpp"
|
||||||
#include "../helpers/memory/Memory.hpp"
|
#include "../helpers/memory/Memory.hpp"
|
||||||
|
|
Loading…
Reference in a new issue