### Godot version

Godot 4 Beta 16

### System information

Ubuntu 22.04 Running on Vulkan Mesa Intel® UHD Graphics 620 (WHL GT2)

### Issue description


https://user-images.githubusercontent.com/63069499/215583979-e525a1fd-930f-4650-8e9f-3752100cdb72.mp4

Godot keeps clicking out of the color editor

EDIT: I did a test it seems to be single window mode

### Steps to reproduce

Go in editor settings and search for single window mode 

Enable it

Try using the color editor on any color field with single window mode

### Minimal reproduction project

N/A 
String ret;
	Window selection_owner = XGetSelectionOwner(x11_display, p_source);
	if (selection_owner == x11_window) {
		static const char *target_type = "PRIMARY";
		if (p_source != None && get_atom_name(x11_display, p_source) == target_type) {
			return internal_clipboard_primary;
		} else {
			return internal_clipboard;
		}
	}
	if (selection_owner != None) {
		
		MutexLock mutex_lock(events_mutex);
		Atom selection = XA_PRIMARY;
		XConvertSelection(x11_display, p_source, target, selection,
				x11_window, CurrentTime);
		XFlush(x11_display);
		
		XEvent event;
		XIfEvent(x11_display, &event, _predicate_clipboard_selection, (XPointer)&x11_window);
		
		Atom type;
		int format, result;
		unsigned long len, bytes_left, dummy;
		unsigned char *data;
		XGetWindowProperty(x11_display, x11_window,
				selection,