### 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 
DisplayServerX11 *display_server = static_cast<DisplayServerX11 *>(ud);
	display_server->_poll_events();
}
Bool DisplayServerX11::_predicate_all_events(Display *display, XEvent *event, XPointer arg) {
	
	return True;
}
bool DisplayServerX11::_wait_for_events() const {
	int x11_fd = ConnectionNumber(x11_display);
	fd_set in_fds;
	XFlush(x11_display);
	FD_ZERO(&in_fds);
	FD_SET(x11_fd, &in_fds);
	struct timeval tv;
	tv.tv_usec = 0;
	tv.tv_sec = 1;
	
	int num_ready_fds = select(x11_fd + 1, &in_fds, nullptr, nullptr, &tv);
	if (num_ready_fds > 0) {
		
		return true;
	} else {
		
		if (num_ready_fds < 0) {
			ERR_PRINT("_wait_for_events: select error: " + itos(errno));
		}
		return false;
	}
}
void DisplayServerX11::_poll_events() {