So I wrote a piece of code below and it works great on a
mac and windows but not correctly on linux. On linux the pointer seems to stop at the edges of the pygame window (it doesn't even get to the edges of the screen). At the edges it just keeps reporting (0,0) for dx, dy. Any idea why this might be happening when everything works fine on win/mac??
import pygame pygame.init() pygame.display.set_mode((300,200)) runThread = True
pygame.mouse.set_visible(False) pygame.event.set_grab(True)