Merge pull request #6 from lieuxnoir/cursor

saner default cursor
This commit is contained in:
dylan 2019-10-14 13:43:39 +00:00 committed by GitHub
commit 957b5d6492
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

2
sowm.c
View File

@ -358,6 +358,8 @@ int main(void) {
ButtonPressMask|ButtonReleaseMask|PointerMotionMask,
GrabModeAsync, GrabModeAsync, None, None);
XDefineCursor(d, root, XCreateFontCursor(d, 68));
while(1 && !XNextEvent(d, &ev))
if (events[ev.type]) events[ev.type](&ev);
}