Fix issue 165: MS Windows no longer opens the program window at arbitrary (wrong) position, it restores instead the last position you used.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@810 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
3
graph.c
3
graph.c
@@ -533,7 +533,8 @@ int Init_mode_video(int width, int height, int fullscreen, int pix_ratio)
|
||||
Mouse_Y=absolute_mouse_y/Pixel_height;
|
||||
if (Mouse_Y>=Screen_height)
|
||||
Mouse_Y=Screen_height-1;
|
||||
Set_mouse_position();
|
||||
if (fullscreen)
|
||||
Set_mouse_position();
|
||||
|
||||
Spare_offset_X=0; // | Il faut penser à éviter les incohérences
|
||||
Spare_offset_Y=0; // |- de décalage du brouillon par rapport à
|
||||
|
||||
Reference in New Issue
Block a user