refactor: move a few things to desktop/

This commit is contained in:
Vaxry 2024-02-29 13:03:38 +00:00
parent 4bff762d97
commit b39dcfa497
10 changed files with 10 additions and 8 deletions

View file

@ -21,7 +21,7 @@
#include "debug/HyprDebugOverlay.hpp" #include "debug/HyprDebugOverlay.hpp"
#include "debug/HyprNotificationOverlay.hpp" #include "debug/HyprNotificationOverlay.hpp"
#include "helpers/Monitor.hpp" #include "helpers/Monitor.hpp"
#include "helpers/Workspace.hpp" #include "desktop/Workspace.hpp"
#include "Window.hpp" #include "Window.hpp"
#include "render/Renderer.hpp" #include "render/Renderer.hpp"
#include "render/OpenGL.hpp" #include "render/OpenGL.hpp"

View file

@ -1,13 +1,13 @@
#pragma once #pragma once
#include "defines.hpp" #include "defines.hpp"
#include "helpers/Subsurface.hpp" #include "desktop/Subsurface.hpp"
#include "helpers/AnimatedVariable.hpp" #include "helpers/AnimatedVariable.hpp"
#include "render/decorations/IHyprWindowDecoration.hpp" #include "render/decorations/IHyprWindowDecoration.hpp"
#include <deque> #include <deque>
#include "config/ConfigDataValues.hpp" #include "config/ConfigDataValues.hpp"
#include "helpers/Vector2D.hpp" #include "helpers/Vector2D.hpp"
#include "helpers/WLSurface.hpp" #include "desktop/WLSurface.hpp"
#include "macros.hpp" #include "macros.hpp"
#include "managers/XWaylandManager.hpp" #include "managers/XWaylandManager.hpp"

View file

@ -5,6 +5,7 @@
#include "WLSurface.hpp" #include "WLSurface.hpp"
class CWindow; class CWindow;
struct SXDGPopup;
class CSubsurface { class CSubsurface {
public: public:
@ -28,6 +29,7 @@ class CSubsurface {
void recheckDamageForSubsurfaces(); void recheckDamageForSubsurfaces();
private: private:
DYNLISTENER(destroySubsurface); DYNLISTENER(destroySubsurface);
DYNLISTENER(commitSubsurface); DYNLISTENER(commitSubsurface);
DYNLISTENER(newSubsurface); DYNLISTENER(newSubsurface);

View file

@ -1,7 +1,7 @@
#pragma once #pragma once
#include "../defines.hpp" #include "../defines.hpp"
#include "Region.hpp" #include "../helpers/Region.hpp"
class CWindow; class CWindow;

View file

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "AnimatedVariable.hpp" #include "../helpers/AnimatedVariable.hpp"
#include <string> #include <string>
#include "../defines.hpp" #include "../defines.hpp"

View file

@ -4,9 +4,9 @@
#include "../defines.hpp" #include "../defines.hpp"
#include "wlr-layer-shell-unstable-v1-protocol.h" #include "wlr-layer-shell-unstable-v1-protocol.h"
#include "../Window.hpp" #include "../Window.hpp"
#include "Subsurface.hpp" #include "../desktop/Subsurface.hpp"
#include "AnimatedVariable.hpp" #include "AnimatedVariable.hpp"
#include "WLSurface.hpp" #include "../desktop/WLSurface.hpp"
#include "Region.hpp" #include "Region.hpp"
struct SLayerRule { struct SLayerRule {

View file

@ -3,7 +3,6 @@
#include "../defines.hpp" #include "../defines.hpp"
#include <list> #include <list>
#include "../helpers/Monitor.hpp" #include "../helpers/Monitor.hpp"
#include "../helpers/Workspace.hpp"
#include "../Window.hpp" #include "../Window.hpp"
#include "OpenGL.hpp" #include "OpenGL.hpp"
#include "Renderbuffer.hpp" #include "Renderbuffer.hpp"
@ -11,6 +10,7 @@
#include "../helpers/Region.hpp" #include "../helpers/Region.hpp"
struct SMonitorRule; struct SMonitorRule;
class CWorkspace;
// TODO: add fuller damage tracking for updating only parts of a window // TODO: add fuller damage tracking for updating only parts of a window
enum DAMAGETRACKINGMODES { enum DAMAGETRACKINGMODES {