From b9537941c9eba041b7afc8b0f4256c73e35c2387 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 28 Jun 2025 04:25:20 +0200 Subject: Restart portal capture if it's paused for 3 seconds or more (can happen if returning from lock screen) Remove dbus server, no longer needed. Just run dbus code directly. --- dbus/portal.h | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 dbus/portal.h (limited to 'dbus/portal.h') diff --git a/dbus/portal.h b/dbus/portal.h deleted file mode 100644 index 6b93aa6..0000000 --- a/dbus/portal.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef GSR_PORTAL_H -#define GSR_PORTAL_H - -typedef enum { - GSR_PORTAL_CAPTURE_TYPE_MONITOR = 1 << 0, - GSR_PORTAL_CAPTURE_TYPE_WINDOW = 1 << 1, - GSR_PORTAL_CAPTURE_TYPE_VIRTUAL = 1 << 2, - GSR_PORTAL_CAPTURE_TYPE_ALL = GSR_PORTAL_CAPTURE_TYPE_MONITOR | GSR_PORTAL_CAPTURE_TYPE_WINDOW | GSR_PORTAL_CAPTURE_TYPE_VIRTUAL -} gsr_portal_capture_type; - -typedef enum { - GSR_PORTAL_CURSOR_MODE_HIDDEN = 1 << 0, - GSR_PORTAL_CURSOR_MODE_EMBEDDED = 1 << 1, - GSR_PORTAL_CURSOR_MODE_METADATA = 1 << 2 -} gsr_portal_cursor_mode; - -#endif /* GSR_PORTAL_H */ -- cgit v1.2.3-70-g09d2