diff options
author | okan | 2015-08-23 17:31:20 +0000 |
---|---|---|
committer | okan | 2015-08-23 17:31:20 +0000 |
commit | 0ebf02fd02c5c75c200a0cdb32a7de78ed86a58f (patch) | |
tree | f4d0f8d53ebb202f9a4a9b833c03ae714534c83c /client.c | |
parent | 41f134c21bb512cfc7f33d2147ff9e60dc3de247 (diff) | |
download | cwm-0ebf02fd02c5c75c200a0cdb32a7de78ed86a58f.tar.gz |
Move CLIENT_STICKY logic from client hide/unhide to group hide/unhide;
rationale being that clients should be able to hide/unhide independently
of group switching.
Diffstat (limited to '')
-rw-r--r-- | client.c | 8 |
1 files changed, 1 insertions, 7 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.202 2015/08/21 16:52:37 okan Exp $ + * $OpenBSD: client.c,v 1.203 2015/08/23 17:31:20 okan Exp $ */ #include <sys/types.h> @@ -493,9 +493,6 @@ client_ptrsave(struct client_ctx *cc) void client_hide(struct client_ctx *cc) { - if (cc->flags & CLIENT_STICKY) - return; - XUnmapWindow(X_Dpy, cc->win); cc->flags &= ~CLIENT_ACTIVE; @@ -509,9 +506,6 @@ client_hide(struct client_ctx *cc) void client_unhide(struct client_ctx *cc) { - if (cc->flags & CLIENT_STICKY) - return; - XMapRaised(X_Dpy, cc->win); cc->flags &= ~CLIENT_HIDDEN; |