mirror of
https://github.com/dylanaraps/sowm.git
synced 2025-05-19 09:30:24 -07:00
docs: update
This commit is contained in:
parent
957b5d6492
commit
ca0b54b43a
4
sowm.c
4
sowm.c
@ -104,8 +104,8 @@ void notify_motion(XEvent *e) {
|
|||||||
while(XCheckTypedEvent(d, MotionNotify, e));
|
while(XCheckTypedEvent(d, MotionNotify, e));
|
||||||
|
|
||||||
XMoveResizeWindow(d, mouse.subwindow,
|
XMoveResizeWindow(d, mouse.subwindow,
|
||||||
attr.x + (mouse.button==1 ? xd : 0),
|
attr.x + (mouse.button==1 ? xd : 0),
|
||||||
attr.y + (mouse.button==1 ? yd : 0),
|
attr.y + (mouse.button==1 ? yd : 0),
|
||||||
attr.width + (mouse.button==3 ? xd : 0),
|
attr.width + (mouse.button==3 ? xd : 0),
|
||||||
attr.height + (mouse.button==3 ? yd : 0));
|
attr.height + (mouse.button==3 ? yd : 0));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user