Searched refs:pointer_y (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, &_, &_, &_);
530 y_off += pointer_y - s->height / 2 - y_off;
538 if (pointer_y > y_off + s->height - follow_mouse) {
539 y_off += pointer_y - (y_off + s->height - follow_mouse);
540 } else if (pointer_y < y_off + follow_mouse)
541 y_off -= (y_off + follow_mouse) - pointer_y;
/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, &_, &_, &_);
497 y_off += pointer_y - s->height / 2 - y_off;
505 if (pointer_y > y_off + s->height - follow_mouse) {
506 y_off += pointer_y - (y_off + s->height - follow_mouse);
507 } else if (pointer_y < y_off + follow_mouse)
508 y_off -= (y_off + follow_mouse) - pointer_y;

Completed in 62 milliseconds