summaryrefslogtreecommitdiffstats
path: root/servers/display_server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'servers/display_server.cpp')
-rw-r--r--servers/display_server.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/servers/display_server.cpp b/servers/display_server.cpp
index bb28bc0eb8..a587f72d02 100644
--- a/servers/display_server.cpp
+++ b/servers/display_server.cpp
@@ -596,6 +596,10 @@ DisplayServer::VSyncMode DisplayServer::window_get_vsync_mode(WindowID p_window)
return VSyncMode::VSYNC_ENABLED;
}
+DisplayServer::WindowID DisplayServer::get_focused_window() const {
+ return MAIN_WINDOW_ID; // Proper value for single windows.
+}
+
void DisplayServer::set_context(Context p_context) {
}