forked from AuroraMiddleware/gtk
[broadway] Only allow one input session
This commit is contained in:
parent
a4fc901c07
commit
0b6265b76a
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user