aboutsummaryrefslogtreecommitdiffstats
path: root/kbfunc.c
diff options
context:
space:
mode:
authorokan2014-09-17 18:09:30 +0000
committerokan2014-09-17 18:09:30 +0000
commitb8f5bceb1e3eb570c672162836c310335254a3dc (patch)
tree0c52736cc8d68b1c232900e13426ba19e5362256 /kbfunc.c
parent1c79eb7168bb6b7736c78f333544624a1d838e57 (diff)
downloadcwm-b8f5bceb1e3eb570c672162836c310335254a3dc.tar.gz
ewmh states _NET_WM_STATE_STICKY should not alter position
Diffstat (limited to '')
-rw-r--r--kbfunc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kbfunc.c b/kbfunc.c
index 1dedc0a..07de207 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -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: kbfunc.c,v 1.101 2014/09/11 16:06:26 okan Exp $
+ * $OpenBSD: kbfunc.c,v 1.102 2014/09/17 18:09:30 okan Exp $
*/
#include <sys/param.h>
@@ -60,7 +60,7 @@ kbfunc_client_moveresize(struct client_ctx *cc, union arg *arg)
int x, y, flags, amt;
unsigned int mx, my;
- if (cc->flags & CLIENT_FREEZE)
+ if (cc->flags & (CLIENT_FREEZE|CLIENT_STICKY))
return;
mx = my = 0;