mirror of
https://github.com/nishiowo/nishbox
synced 2025-04-21 20:24:39 +00:00
have pointer mask
This commit is contained in:
parent
6dc6db1f9c
commit
2258dc1e77
@ -97,7 +97,7 @@ void ne_draw_platform_create(ne_draw_t* draw) {
|
||||
}
|
||||
|
||||
attr.colormap = XCreateColormap(draw->platform->display, root, visual->visual, AllocNone);
|
||||
attr.event_mask = StructureNotifyMask | ExposureMask;
|
||||
attr.event_mask = StructureNotifyMask | ExposureMask | PointerMotionMask;
|
||||
draw->platform->window = XCreateWindow(draw->platform->display, root, draw->width, draw->height, draw->width, draw->height, 0, visual->depth, InputOutput, visual->visual, CWColormap | CWEventMask, &attr);
|
||||
|
||||
hints.x = draw->x;
|
||||
|
Loading…
x
Reference in New Issue
Block a user