mirror of
https://github.com/joel16/SDL2.git
synced 2024-12-13 14:07:38 +00:00
Forgot to initialize maximum position for mouse
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40929
This commit is contained in:
parent
beeb39367a
commit
7df9f8266a
@ -302,6 +302,8 @@ static void do_mouse(_THIS, short mx, short my, short mb, short ks)
|
||||
|
||||
/* Retrieve window coords, and generate mouse events accordingly */
|
||||
x2 = y2 = 0;
|
||||
w2 = VDI_w;
|
||||
h2 = VDI_h;
|
||||
if ((!GEM_fullscreen) && (GEM_handle>=0)) {
|
||||
wind_get (GEM_handle, WF_WORKXYWH, &x2, &y2, &w2, &h2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user