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
f7f925cb36
commit
551374039a
4
sowm.c
4
sowm.c
@ -98,6 +98,8 @@ void notify_enter(XEvent *e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void notify_motion(XEvent *e) {
|
void notify_motion(XEvent *e) {
|
||||||
|
client *c;
|
||||||
|
|
||||||
if (start.subwindow != None) {
|
if (start.subwindow != None) {
|
||||||
int xdiff = e->xbutton.x_root - start.x_root;
|
int xdiff = e->xbutton.x_root - start.x_root;
|
||||||
int ydiff = e->xbutton.y_root - start.y_root;
|
int ydiff = e->xbutton.y_root - start.y_root;
|
||||||
@ -108,6 +110,8 @@ void notify_motion(XEvent *e) {
|
|||||||
attr.width + (start.button==3 ? xdiff : 0),
|
attr.width + (start.button==3 ? xdiff : 0),
|
||||||
attr.height + (start.button==3 ? ydiff : 0));
|
attr.height + (start.button==3 ? ydiff : 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for WIN if (c->win == start.subwindow) c->f = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void key_grab() {
|
void key_grab() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user