x11: Manage xserver focus better
diff --git a/compositor/shell.c b/compositor/shell.c
index 2dfe95b..05ba7b7 100644
--- a/compositor/shell.c
+++ b/compositor/shell.c
@@ -892,6 +892,9 @@
 
 	wlsc_surface_activate(es, device, time);
 
+	if (compositor->wxs)
+		wlsc_xserver_surface_activate(es);
+
 	if (es == shell->background) {
 		wl_list_remove(&es->link);
 		wl_list_insert(compositor->surface_list.prev, &es->link);