diff options
author | okan | 2013-12-13 15:56:44 +0000 |
---|---|---|
committer | okan | 2013-12-13 15:56:44 +0000 |
commit | 22d7038270c5648ab3848b3d3b0f191fe4d68d0f (patch) | |
tree | 4ca7855dc5b8cfc372d02008da0a84fbf6c2bb03 | |
parent | d5b1f447fbd3043ec0c045acaa885cfad4ce6174 (diff) | |
download | cwm-22d7038270c5648ab3848b3d3b0f191fe4d68d0f.tar.gz |
we need the save-set when re-exec'ing so as to not lose State on our hidden clients
-rw-r--r-- | client.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: client.c,v 1.161 2013/12/13 14:40:52 okan Exp $ + * $OpenBSD: client.c,v 1.162 2013/12/13 15:56:44 okan Exp $ */ #include <sys/param.h> @@ -103,6 +103,8 @@ client_init(Window win, struct screen_ctx *sc, int mapped) XSelectInput(X_Dpy, cc->win, ColormapChangeMask | EnterWindowMask | PropertyChangeMask | KeyReleaseMask); + XAddToSaveSet(X_Dpy, cc->win); + client_transient(cc); /* Notify client of its configuration. */ |