From ca0b54b43a5bacda9ed3773066a3757bdd7e2fe7 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 14 Oct 2019 19:41:05 +0300 Subject: [PATCH] docs: update --- sowm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sowm.c b/sowm.c index 63c2eaa..f0557ec 100644 --- a/sowm.c +++ b/sowm.c @@ -104,8 +104,8 @@ void notify_motion(XEvent *e) { while(XCheckTypedEvent(d, MotionNotify, e)); XMoveResizeWindow(d, mouse.subwindow, - attr.x + (mouse.button==1 ? xd : 0), - attr.y + (mouse.button==1 ? yd : 0), + attr.x + (mouse.button==1 ? xd : 0), + attr.y + (mouse.button==1 ? yd : 0), attr.width + (mouse.button==3 ? xd : 0), attr.height + (mouse.button==3 ? yd : 0)); }