Hello,

please give the attached patch a spin and report the results.

Greets
-- 
Christian Helmuth
Genode Labs

http://www.genode-labs.com/ · http://genode.org/
https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
+++ b/repos/os/src/drivers/framebuffer/sdl/fb_sdl.cc
@@ -175,8 +175,12 @@ extern "C" int main(int, char**)
 	env()->parent()->announce(ep.manage(&fb_root));
 	env()->parent()->announce(ep.manage(&input_root));
 
-	for (;;)
-		input_session.submit(wait_for_event());
+	for (;;) {
+		Input::Event event = wait_for_event();
+		/* prevent flooding of client with invalid events */
+		if (event.type() != Input::Event::INVALID)
+			input_session.submit(event);
+	}
 
 	return 0;
 }
------------------------------------------------------------------------------
_______________________________________________
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main

Reply via email to