zacharycarter / zengine

2D | 3D Game development library
157 stars 13 forks source link

Mouse stuck within client window #9

Closed define-private-public closed 6 years ago

define-private-public commented 6 years ago

This is happening for examples 01 and 02 right now. I can visibly see the mouse pointer, but I can't move it outside of the client window. Thus, I can't click the X button, move the window, etc.

I'm trying to figure out why this is happening, but I can't seem to figure it out. Isn't the default behavior of SDL to let the mouse move freely?