Searched refs:hmovement (Results 1 – 1 of 1) sorted by relevance
378 int hmovement; member2340 sc->movement = sc->hmovement = 0; in r_vscroll_detect()2394 sc->hmovement += act->dx; in r_vscroll()2395 if ((u_int)abs(sc->hmovement) > sc->threshold) in r_vscroll()2399 sc->movement = sc->hmovement = 0; in r_vscroll()2417 sc->hmovement += act->dx; in r_vscroll()2418 debug("HORIZONTAL SCROLL: %d", sc->hmovement); in r_vscroll()2420 if (sc->hmovement < -(int)sc->speed) { in r_vscroll()2422 sc->hmovement = 0; in r_vscroll()2424 else if (sc->hmovement > (int)sc->speed) { in r_vscroll()[all …]