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/HyprNotificationOverlay.hpp"
#include "helpers/Monitor.hpp"
#include "helpers/Workspace.hpp"
#include "desktop/Workspace.hpp"
#include "Window.hpp"
#include "render/Renderer.hpp"
#include "render/OpenGL.hpp"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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