As per your feedback i've dropped the per client list of resources stored in array indexed by a new client ID and replaced that with logic that munges the focussed resources from each list. The first three patches in the series were common with the previous solution.
Unfortunately this last patch must be seen as a WIP as: 1. There are lots of long lines! 2. Some common code could probable be factored into its own function (like sending modifiers out) 3. When starting a client it doesn't seem to get focus I'm posting this patch set as it's very close to behaving as before and perhaps yourself and others can find the problems before I get the time to do so! Rob _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel