aboutsummaryrefslogtreecommitdiff
path: root/src/LuaRuntime.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/LuaRuntime.hpp')
-rw-r--r--src/LuaRuntime.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/LuaRuntime.hpp b/src/LuaRuntime.hpp
index 58362af..0f46eab 100644
--- a/src/LuaRuntime.hpp
+++ b/src/LuaRuntime.hpp
@@ -3,10 +3,12 @@
#include <QtCore>
#include <functional>
#include <lua.hpp>
+#include <optional>
#include "AsyncEventLoop.hpp"
#include "lua.h"
#include "utils.hpp"
+#include "widgets/BrowserWindow.hpp"
#include "widgets/Decorations.hpp"
#include "widgets/WebViewStack.hpp"
@@ -60,7 +62,7 @@ signals:
void webview_scroll_requested(WebViewId webview_id, int deltax, int deltay);
void webview_scroll_top_requested(WebViewId webview_id);
void webview_scroll_bottom_requested(WebViewId webview_id);
- void decoration_set_enabled(DecorationType type, bool enabled);
+ void decoration_set_enabled(DecorationType type, bool enabled, std::optional<WindowId> win_id);
protected:
LuaRuntime();