think i fixed it, i had an activity in kde with a slideshow for a wallpaper, and set it to change every 59 seconds. every time a wallpaper changes x uses a lot of cpu for a nice fade effect, so that was what was causing the mouse lagging. sorry to bother you all.
