break out of the loop after we handled the first matching rel_event.

2004-06-16  Simon Budig  <simon@gimp.org>

	* modules/controller_linux_input.c: break out of the
	loop after we handled the first matching rel_event.
This commit is contained in:
Simon Budig
2004-06-16 18:55:01 +00:00
committed by Simon Budig
parent 3a7f7d54e7
commit a1d67f0ecb
2 changed files with 7 additions and 0 deletions

View File

@ -421,6 +421,8 @@ linux_input_read_event (GIOChannel *io,
for (count = ev.value; count > 0; count--)
gimp_controller_event (controller, &cevent);
break;
}
break;