Should "getPointer" be Slow?

Hmm… Could it be that it’s not truly slow, but that it’s appearing slow due to waiting for sync? That is, that its apparent duration is simply whatever time is “left” in the frame…?

That would explain the fact that its duration seemed to vary…

Ah, I’m actually not making that sort of game!

Specifically, I’m making a top-down game, with the mouse being used to control a cursor for aiming relative to the player-character. I thus want to get the mouse-position in the 2D playfield in order to determine where the player is aiming.

(I think that I switched from “getMouse” to “getPointer” based on this forum post, and never really saw a reason to switch back.)

Hmm… You know, I don’t really know.

Okay, so, having done some quick searching, if “echo $XDG_SESSION_TYPE” is to be believed, I appear to be using x11.