only set focus on clients which are visible during client eval
authorMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 21 Sep 2015 22:19:03 +0000 (18:19 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 21 Sep 2015 23:19:01 +0000 (19:19 -0400)
commit4a33cd7ba0c51b911b1d7845411d2b70e01a3d55
treeca2eb0223114373f42a21b7abe3d9d5fbc5a8876
parent7056d598c4fb9d4bbf552537314ecaa8782eb4ac
only set focus on clients which are visible during client eval

focusing a client will automatically uniconify and desk flip, so
setting focus on a hidden client should be avoided during eval since
these focus-sets are not "user triggered"

this fixes issues where clients could randomly grab focus from other
desks and also restores expected behavior when restarting e on an
empty vdesk
src/bin/e_client.c