mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-24 23:25:58 +01:00
input-capture: code cleanup
This commit is contained in:
parent
6851f0cce0
commit
497a2ce308
7 changed files with 4 additions and 21 deletions
|
@ -63,7 +63,6 @@ pkg_check_modules(
|
|||
libspa-0.2
|
||||
libdrm
|
||||
libeis-1.0
|
||||
dbus-1
|
||||
gbm
|
||||
hyprlang>=0.2.0
|
||||
hyprutils
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
#include "PortalManager.hpp"
|
||||
#include "../helpers/Log.hpp"
|
||||
#include "../helpers/MiscFunctions.hpp"
|
||||
#include "wayland.hpp"
|
||||
|
||||
#include <hyprutils/memory/SharedPtr.hpp>
|
||||
#include <memory>
|
||||
#include <pipewire/pipewire.h>
|
||||
#include <poll.h>
|
||||
#include <sys/mman.h>
|
||||
|
@ -12,7 +9,6 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#include <thread>
|
||||
#include <vector>
|
||||
|
||||
SOutput::SOutput(SP<CCWlOutput> output_) : output(output_) {
|
||||
output->setName([this](CCWlOutput* o, const char* name_) {
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <sdbus-c++/sdbus-c++.h>
|
||||
|
||||
#include <hyprlang.hpp>
|
||||
|
||||
#include "wayland.hpp"
|
||||
|
|
|
@ -2,14 +2,11 @@
|
|||
|
||||
#include "../core/PortalManager.hpp"
|
||||
#include "../helpers/Log.hpp"
|
||||
#include "../shared/Session.hpp"
|
||||
#include "hyprland-input-capture-v1.hpp"
|
||||
#include "shared/Session.hpp"
|
||||
#include "src/shared/Eis.hpp"
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <sdbus-c++/IConnection.h>
|
||||
#include <sdbus-c++/Types.h>
|
||||
#include <string>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#pragma once
|
||||
#include "hyprland-input-capture-v1.hpp"
|
||||
#include "shared/Eis.hpp"
|
||||
#include <cstdint>
|
||||
#include <sdbus-c++/Types.h>
|
||||
#include <sdbus-c++/sdbus-c++.h>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <wayland-client-protocol.h>
|
||||
#include "../shared/Eis.hpp"
|
||||
#include "../includes.hpp"
|
||||
#include "../shared/Session.hpp"
|
||||
#include <sdbus-c++/Types.h>
|
||||
|
||||
typedef int ClientStatus;
|
||||
const ClientStatus CREATED = 0; //Is ready to be activated
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#include "Eis.hpp"
|
||||
#include "core/PortalManager.hpp"
|
||||
#include "../core/PortalManager.hpp"
|
||||
#include "src/helpers/Log.hpp"
|
||||
#include <libeis.h>
|
||||
#include <string>
|
||||
#include <sys/poll.h>
|
||||
#include <thread>
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#include <libeis.h>
|
||||
#include <string>
|
||||
#include <sys/socket.h>
|
||||
|
||||
struct EisClient {
|
||||
struct eis_client* handle;
|
||||
|
|
Loading…
Reference in a new issue