diff -ur ScummVM-cvs20031215/scummvm/backends/sdl/sdl-common.cpp ScummVM-cvs20031215+hack/scummvm/backends/sdl/sdl-common.cpp
old
|
new
|
|
1020 | 1020 | |
1021 | 1021 | case PROP_GET_SAMPLE_RATE: |
1022 | 1022 | return SAMPLES_PER_SEC; |
| 1023 | |
| 1024 | case PROP_TOGGLE_MOUSE_GRAB: |
| 1025 | if (SDL_WM_GrabInput(SDL_GRAB_QUERY) == SDL_GRAB_OFF) |
| 1026 | SDL_WM_GrabInput(SDL_GRAB_ON); |
| 1027 | else |
| 1028 | SDL_WM_GrabInput(SDL_GRAB_OFF); |
| 1029 | break; |
1023 | 1030 | } |
1024 | 1031 | |
1025 | 1032 | return 0; |
diff -ur ScummVM-cvs20031215/scummvm/common/system.h ScummVM-cvs20031215+hack/scummvm/common/system.h
old
|
new
|
|
98 | 98 | PROP_GET_FMOPL_ENV_BITS, |
99 | 99 | PROP_GET_FMOPL_EG_ENT, |
100 | 100 | PROP_TOGGLE_ASPECT_RATIO, |
| 101 | PROP_TOGGLE_MOUSE_GRAB, |
101 | 102 | PROP_WANT_RECT_OPTIM |
102 | 103 | }; |
103 | 104 | union Property { |