Skip to content

Commit 7eabfab

Browse files
committed
Merge pull request godotengine#106836 from Riteo/return-is-missing
Wayland: Add missing return in selection logic
2 parents 3376863 + 67c317c commit 7eabfab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

platform/linuxbsd/wayland/wayland_thread.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4566,6 +4566,7 @@ void WaylandThread::selection_set_text(const String &p_text) {
45664566

45674567
if (ss->wl_data_device == nullptr) {
45684568
DEBUG_LOG_WAYLAND_THREAD("Couldn't set selection, seat doesn't have wl_data_device.");
4569+
return;
45694570
}
45704571

45714572
ss->selection_data = p_text.to_utf8_buffer();

0 commit comments

Comments
 (0)