summaryrefslogtreecommitdiffstats
path: root/tests/test_main.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-05-23 08:59:23 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-05-23 08:59:23 +0200
commit7870b28ed39168352ddc2c1ca3c689d6c30680cc (patch)
tree582250f68d627f1f2fdb0d524f4f690bc1ddb3f9 /tests/test_main.cpp
parent55af739d7888e4e0f109776569a66686d76df0b0 (diff)
parenta3769c0edc4633224e6291866d750691e6d9ed36 (diff)
downloadredot-engine-7870b28ed39168352ddc2c1ca3c689d6c30680cc.tar.gz
Merge pull request #92252 from poiati/fix-wayland-window-class
Properly set window class in Wayland
Diffstat (limited to 'tests/test_main.cpp')
-rw-r--r--tests/test_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_main.cpp b/tests/test_main.cpp
index 41fc21b469..dd30003c01 100644
--- a/tests/test_main.cpp
+++ b/tests/test_main.cpp
@@ -252,7 +252,7 @@ struct GodotTestCaseListener : public doctest::IReporter {
OS::get_singleton()->set_has_server_feature_callback(nullptr);
for (int i = 0; i < DisplayServer::get_create_function_count(); i++) {
if (String("mock") == DisplayServer::get_create_function_name(i)) {
- DisplayServer::create(i, "", DisplayServer::WindowMode::WINDOW_MODE_MINIMIZED, DisplayServer::VSyncMode::VSYNC_ENABLED, 0, nullptr, Vector2i(0, 0), DisplayServer::SCREEN_PRIMARY, err);
+ DisplayServer::create(i, "", DisplayServer::WindowMode::WINDOW_MODE_MINIMIZED, DisplayServer::VSyncMode::VSYNC_ENABLED, 0, nullptr, Vector2i(0, 0), DisplayServer::SCREEN_PRIMARY, DisplayServer::CONTEXT_EDITOR, err);
break;
}
}