internal: include headers from protocols/

This commit is contained in:
vaxerski 2023-04-27 13:40:38 +01:00
parent 72d2f33b34
commit 550700bed0
9 changed files with 10 additions and 10 deletions

View file

@ -2,7 +2,7 @@
#include "../events/Events.hpp" #include "../events/Events.hpp"
#include "../defines.hpp" #include "../defines.hpp"
#include "wlr-layer-shell-unstable-v1-protocol.h" #include "protocols/wlr-layer-shell-unstable-v1-protocol.h"
#include "../Window.hpp" #include "../Window.hpp"
#include "SubsurfaceTree.hpp" #include "SubsurfaceTree.hpp"
#include "AnimatedVariable.hpp" #include "AnimatedVariable.hpp"

View file

@ -144,4 +144,4 @@ extern "C" {
#include "helpers/Vector2D.hpp" #include "helpers/Vector2D.hpp"
#include "ext-workspace-unstable-v1-protocol.h" #include "protocols/ext-workspace-unstable-v1-protocol.h"

View file

@ -1,7 +1,7 @@
#pragma once #pragma once
#include "../defines.hpp" #include "../defines.hpp"
#include "fractional-scale-v1-protocol.h" #include "protocols/fractional-scale-v1-protocol.h"
#include <vector> #include <vector>
#include <algorithm> #include <algorithm>

View file

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "../defines.hpp" #include "../defines.hpp"
#include "hyprland-global-shortcuts-v1-protocol.h" #include "protocols/hyprland-global-shortcuts-v1-protocol.h"
#include <vector> #include <vector>
struct SShortcut { struct SShortcut {

View file

@ -1,7 +1,7 @@
#pragma once #pragma once
#include "../defines.hpp" #include "../defines.hpp"
#include "wlr-screencopy-unstable-v1-protocol.h" #include "protocols/wlr-screencopy-unstable-v1-protocol.h"
#include <list> #include <list>
#include <vector> #include <vector>

View file

@ -1,7 +1,7 @@
#pragma once #pragma once
#include "../defines.hpp" #include "../defines.hpp"
#include "text-input-unstable-v1-protocol.h" #include "protocols/text-input-unstable-v1-protocol.h"
#include <vector> #include <vector>

View file

@ -1,8 +1,8 @@
#pragma once #pragma once
#include "../defines.hpp" #include "../defines.hpp"
#include "wlr-foreign-toplevel-management-unstable-v1-protocol.h" #include "protocols/wlr-foreign-toplevel-management-unstable-v1-protocol.h"
#include "hyprland-toplevel-export-v1-protocol.h" #include "protocols/hyprland-toplevel-export-v1-protocol.h"
#include "Screencopy.hpp" #include "Screencopy.hpp"
#include <list> #include <list>

View file

@ -1,6 +1,6 @@
#include "Renderer.hpp" #include "Renderer.hpp"
#include "../Compositor.hpp" #include "../Compositor.hpp"
#include "linux-dmabuf-unstable-v1-protocol.h" #include "protocols/linux-dmabuf-unstable-v1-protocol.h"
void renderSurface(struct wlr_surface* surface, int x, int y, void* data) { void renderSurface(struct wlr_surface* surface, int x, int y, void* data) {
const auto TEXTURE = wlr_surface_get_texture(surface); const auto TEXTURE = wlr_surface_get_texture(surface);

View file

@ -1,6 +1,6 @@
#include "../includes.hpp" #include "../includes.hpp"
#include "../helpers/MiscFunctions.hpp" #include "../helpers/MiscFunctions.hpp"
#include "ext-workspace-unstable-v1-protocol.h" #include "protocols/ext-workspace-unstable-v1-protocol.h"
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>