diff options
author | Juan Linietsky <reduzio@gmail.com> | 2020-03-25 11:16:19 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2020-03-26 15:50:00 +0100 |
commit | 197cb4e7718034aba35832a547477dfc858a7280 (patch) | |
tree | 402336f7eafedcc3b1af2f9cc290c7040383a005 /servers | |
parent | f387b9b4f4ef3ae6eba5199b4089ef591f2d7ba2 (diff) |
Fixes to X11, still pretty broken
Diffstat (limited to 'servers')
-rw-r--r-- | servers/display_server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/display_server.cpp b/servers/display_server.cpp index f2103a2856..29d46b90fd 100644 --- a/servers/display_server.cpp +++ b/servers/display_server.cpp @@ -284,8 +284,8 @@ void DisplayServer::_bind_methods() { ClassDB::bind_method(D_METHOD("window_set_input_text_callback", "callback", "window_id"), &DisplayServer::window_set_input_text_callback, DEFVAL(MAIN_WINDOW_ID)); ClassDB::bind_method(D_METHOD("window_set_drop_files_callback", "callback", "window_id"), &DisplayServer::window_set_drop_files_callback, DEFVAL(MAIN_WINDOW_ID)); - ClassDB::bind_method(D_METHOD("window_attach_instance_id", "instance_id", "window_id"), &DisplayServer::window_get_max_size, DEFVAL(MAIN_WINDOW_ID)); - ClassDB::bind_method(D_METHOD("window_get_attached_instance_id", "window_id"), &DisplayServer::window_get_max_size, DEFVAL(MAIN_WINDOW_ID)); + ClassDB::bind_method(D_METHOD("window_attach_instance_id", "instance_id", "window_id"), &DisplayServer::window_attach_instance_id, DEFVAL(MAIN_WINDOW_ID)); + ClassDB::bind_method(D_METHOD("window_get_attached_instance_id", "window_id"), &DisplayServer::window_get_attached_instance_id, DEFVAL(MAIN_WINDOW_ID)); ClassDB::bind_method(D_METHOD("window_get_max_size", "window_id"), &DisplayServer::window_get_max_size, DEFVAL(MAIN_WINDOW_ID)); ClassDB::bind_method(D_METHOD("window_set_max_size", "max_size", "window_id"), &DisplayServer::window_set_max_size, DEFVAL(MAIN_WINDOW_ID)); |