forked from speedie/spmenu
last commit.. again
This commit is contained in:
parent
eca13f2896
commit
cee83f6677
|
@ -25,7 +25,6 @@ setimagesize(int width, int height)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
calcoffsets();
|
|
||||||
drawmenu();
|
drawmenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -330,7 +329,9 @@ void
|
||||||
jumptoindex(unsigned int index) {
|
jumptoindex(unsigned int index) {
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
sel = curr = matches;
|
sel = curr = matches;
|
||||||
|
|
||||||
calcoffsets();
|
calcoffsets();
|
||||||
|
|
||||||
for (i = 1; i < index; ++i) {
|
for (i = 1; i < index; ++i) {
|
||||||
if(sel && sel->right && (sel = sel->right) == next) {
|
if(sel && sel->right && (sel = sel->right) == next) {
|
||||||
curr = next;
|
curr = next;
|
||||||
|
@ -430,7 +431,6 @@ resizetoimageheight(int imageheight)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//XResizeWindow(dpy, win, mw - 2 * sp - borderwidth, mh);
|
|
||||||
XMoveResizeWindow(dpy, win, x, y, mw - 2 * sp - borderwidth, mh);
|
XMoveResizeWindow(dpy, win, x, y, mw - 2 * sp - borderwidth, mh);
|
||||||
drw_resize(drw, mw - 2 * sp - borderwidth, mh);
|
drw_resize(drw, mw - 2 * sp - borderwidth, mh);
|
||||||
|
|
||||||
|
@ -445,7 +445,6 @@ resizetoimageheight(int imageheight)
|
||||||
jumptoindex(i);
|
jumptoindex(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
calcoffsets();
|
|
||||||
drawmenu();
|
drawmenu();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -52,7 +52,6 @@ keypress(XEvent *e)
|
||||||
allowkeys = !allowkeys;
|
allowkeys = !allowkeys;
|
||||||
}
|
}
|
||||||
|
|
||||||
calcoffsets();
|
|
||||||
drawmenu();
|
drawmenu();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue