Searched refs:pointer_x (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavdevice/
H A Dx11grab.c521 int pointer_x, pointer_y, _; local
526 XQueryPointer(dpy, root, &w, &w, &pointer_x, &pointer_y, &_, &_, &_);
529 x_off += pointer_x - s->width / 2 - x_off;
534 if (pointer_x > x_off + s->width - follow_mouse) {
535 x_off += pointer_x - (x_off + s->width - follow_mouse);
536 } else if (pointer_x < x_off + follow_mouse)
537 x_off -= (x_off + follow_mouse) - pointer_x;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavdevice/
H A Dx11grab.c488 int pointer_x, pointer_y, _; local
493 XQueryPointer(dpy, root, &w, &w, &pointer_x, &pointer_y, &_, &_, &_);
496 x_off += pointer_x - s->width / 2 - x_off;
501 if (pointer_x > x_off + s->width - follow_mouse) {
502 x_off += pointer_x - (x_off + s->width - follow_mouse);
503 } else if (pointer_x < x_off + follow_mouse)
504 x_off -= (x_off + follow_mouse) - pointer_x;

Completed in 65 milliseconds