diff options
author | Lionel Ulmer | 2002-11-13 15:14:08 +0000 |
---|---|---|
committer | Lionel Ulmer | 2002-11-13 15:14:08 +0000 |
commit | d4fc414937ff72b71a5c5f5321565d353c762978 (patch) | |
tree | d5dc93bb1ab781521fbf89e3b338b22572a101e1 /backends | |
parent | 775adc7a4fbd86ad34a7a1266d1b2fc728d2d9fa (diff) | |
download | scummvm-rg350-d4fc414937ff72b71a5c5f5321565d353c762978.tar.gz scummvm-rg350-d4fc414937ff72b71a5c5f5321565d353c762978.tar.bz2 scummvm-rg350-d4fc414937ff72b71a5c5f5321565d353c762978.zip |
Added some needed initializations.
svn-id: r5534
Diffstat (limited to 'backends')
-rw-r--r-- | backends/x11/x11.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/backends/x11/x11.cpp b/backends/x11/x11.cpp index 75308f06e4..3c0e7ee496 100644 --- a/backends/x11/x11.cpp +++ b/backends/x11/x11.cpp @@ -325,6 +325,13 @@ OSystem_X11::OSystem_X11() num_of_dirty_square = MAX_NUMBER_OF_DIRTY_SQUARES; _overlay_visible = false; _mouse_state_changed = true; + _mouse_visible = true; + cur_state.x = 0; + cur_state.y = 0; + cur_state.hot_x = 0; + cur_state.hot_y = 0; + cur_state.w = 0; + cur_state.h = 0; /* For the window title */ sprintf(buf, "ScummVM"); |