Changeset 6990 in orxonox.OLD for trunk/src/lib/event
- Timestamp:
- Feb 2, 2006, 10:31:56 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/event/event_handler.cc
r6813 r6990 260 260 this->eventsGrabbed = grabEvents; 261 261 if(!grabEvents) 262 { 263 SDL_ShowCursor(SDL_ENABLE); 262 264 SDL_WM_GrabInput(SDL_GRAB_OFF); 263 else 265 } 266 else 267 { 264 268 SDL_WM_GrabInput(SDL_GRAB_ON); 269 SDL_ShowCursor(SDL_DISABLE); 270 } 265 271 } 266 272
Note: See TracChangeset
for help on using the changeset viewer.