From 81dcf7de91c1866d565f7aa9eb38f7fbd1cd7ad7 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 25 Jul 2025 20:27:44 +0530 Subject: Add decoration is_enabled api + allowed specifying win_id for enabled --- src/widgets/Decorations.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/widgets/Decorations.hpp') diff --git a/src/widgets/Decorations.hpp b/src/widgets/Decorations.hpp index d58ee7f..30df104 100644 --- a/src/widgets/Decorations.hpp +++ b/src/widgets/Decorations.hpp @@ -20,6 +20,7 @@ public: Decorations(QWidget *content_widget, QWebEngineProfile *profile, QWidget *parent = nullptr); void set_enabled(DecorationType type, bool enabled); + bool get_enabled(DecorationType type); private: EdgeDecoration *decoration_top; -- cgit v1.3.1