mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Effective DisplayServer separation, rename X11 -> LinuxBSD
This commit is contained in:
parent
4396e98834
commit
f8a79a97c7
83 changed files with 1304 additions and 5378 deletions
|
|
@ -44,6 +44,7 @@
|
|||
#include "import_dock.h"
|
||||
#include "scene/main/viewport.h"
|
||||
#include "scene/resources/packed_scene.h"
|
||||
#include "servers/display_server.h"
|
||||
|
||||
Ref<Texture2D> FileSystemDock::_get_tree_item_icon(EditorFileSystemDirectory *p_dir, int p_idx) {
|
||||
Ref<Texture2D> file_icon;
|
||||
|
|
@ -1765,7 +1766,7 @@ void FileSystemDock::_file_option(int p_option, const Vector<String> &p_selected
|
|||
case FILE_COPY_PATH: {
|
||||
if (!p_selected.empty()) {
|
||||
String fpath = p_selected[0];
|
||||
OS::get_singleton()->set_clipboard(fpath);
|
||||
DisplayServer::get_singleton()->clipboard_set(fpath);
|
||||
}
|
||||
} break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue