[broadway] Only allow one input session

This commit is contained in:
Alexander Larsson 2010-11-25 13:25:56 +01:00
parent a4fc901c07
commit 0b6265b76a

View File

@ -236,6 +236,12 @@ start_input (HttpRequest *request)
display_broadway = GDK_DISPLAY_BROADWAY (request->display); display_broadway = GDK_DISPLAY_BROADWAY (request->display);
if (display_broadway->input != NULL)
{
send_error (request, 409, "Input already handled");
return;
}
lines = g_strsplit (request->request->str, "\n", 0); lines = g_strsplit (request->request->str, "\n", 0);
num_key1 = 0; num_key1 = 0;