diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-10-23 19:13:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-23 19:13:34 +0200 |
commit | b2ab5cb504cef1ffe229523d63b997d5306afce3 (patch) | |
tree | 9a1ed92c989066c9dd266b7376c49d06b5d09b82 /servers | |
parent | e0f887accdd01fc8bb350b09e1e2b663320ac612 (diff) | |
parent | 8c48b4a7e0dbe724a461bb8a44a7a8b029f9f609 (diff) |
Merge pull request #54045 from ConteZero/primary_clipboard_linux_fix_warning
Diffstat (limited to 'servers')
-rw-r--r-- | servers/display_server.cpp | 1 | ||||
-rw-r--r-- | servers/display_server.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/servers/display_server.cpp b/servers/display_server.cpp index a6101530c8..3fb47e8f05 100644 --- a/servers/display_server.cpp +++ b/servers/display_server.cpp @@ -497,6 +497,7 @@ void DisplayServer::_bind_methods() { BIND_ENUM_CONSTANT(FEATURE_NATIVE_ICON); BIND_ENUM_CONSTANT(FEATURE_ORIENTATION); BIND_ENUM_CONSTANT(FEATURE_SWAP_BUFFERS); + BIND_ENUM_CONSTANT(FEATURE_CLIPBOARD_PRIMARY); BIND_ENUM_CONSTANT(MOUSE_MODE_VISIBLE); BIND_ENUM_CONSTANT(MOUSE_MODE_HIDDEN); diff --git a/servers/display_server.h b/servers/display_server.h index 8af7946a1e..2595cf2eb8 100644 --- a/servers/display_server.h +++ b/servers/display_server.h @@ -114,6 +114,7 @@ public: FEATURE_ORIENTATION, FEATURE_SWAP_BUFFERS, FEATURE_KEEP_SCREEN_ON, + FEATURE_CLIPBOARD_PRIMARY, }; virtual bool has_feature(Feature p_feature) const = 0; |