Border resizing by dragging.
Thanks to Axel Belinfante.
This commit is contained in:
parent
d99b2f34e6
commit
1cb3fa8093
10 changed files with 268 additions and 45 deletions
|
|
@ -198,6 +198,15 @@ ScreenInfo *s;
|
|||
s->root_pixmap = XCreatePixmapFromBitmapData(dpy,
|
||||
s->root, grey_bits, grey_width, grey_height,
|
||||
s->black, s->white, DefaultDepth(dpy, s->num));
|
||||
|
||||
s->bordcurs[BorderN] = XCreateFontCursor(dpy, 138);
|
||||
s->bordcurs[BorderS] = XCreateFontCursor(dpy, 16);
|
||||
s->bordcurs[BorderW] = XCreateFontCursor(dpy, 70);
|
||||
s->bordcurs[BorderE] = XCreateFontCursor(dpy, 96);
|
||||
s->bordcurs[BorderNW] = XCreateFontCursor(dpy, 134);
|
||||
s->bordcurs[BorderSW] = XCreateFontCursor(dpy, 12);
|
||||
s->bordcurs[BorderNE] = XCreateFontCursor(dpy, 136);
|
||||
s->bordcurs[BorderSE] = XCreateFontCursor(dpy, 14);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue