fixed the type declarations

This commit is contained in:
guttermonk
2025-10-17 19:58:43 -05:00
parent d68f168e09
commit 3e2ea1a870
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -10,7 +10,7 @@ namespace waybar::modules {
class IdleInhibitor : public ALabel {
sigc::connection timeout_;
struct ::ext_idle_notification_v1* idle_notification_;
ext_idle_notification_v1* idle_notification_;
uint32_t idle_timeout_ms_;
public:
@@ -26,8 +26,8 @@ class IdleInhibitor : public ALabel {
void toggleStatus();
void setupIdleNotification();
void teardownIdleNotification();
static void handleIdled(void* data, struct ::ext_idle_notification_v1* notification);
static void handleResumed(void* data, struct ::ext_idle_notification_v1* notification);
static void handleIdled(void* data, ext_idle_notification_v1* notification);
static void handleResumed(void* data, ext_idle_notification_v1* notification);
const Bar& bar_;
struct zwp_idle_inhibitor_v1* idle_inhibitor_;