workaround for focus event loss???

This commit is contained in:
p.kosyh 2009-09-17 18:55:54 +00:00
parent 97fe43b660
commit 826a44be81
2 changed files with 1 additions and 1 deletions

View file

@ -1,4 +1,3 @@
#SUBDIRS = src/sdl-instead stead games themes icon desktop doc
SUBDIRS = src/sdl-instead stead games themes icon desktop doc languages
all:

View file

@ -81,6 +81,7 @@ int input(struct inp_event *inp, int wait)
inp->sym = SDL_GetKeyName(event.key.keysym.sym);
break;
case SDL_MOUSEMOTION:
m_focus = 1;
inp->type = MOUSE_MOTION;
inp->x = event.button.x;
inp->y = event.button.y;