Commit 2b6dbe4f authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

don't give up gatom keyboard focus on "Enter", and remove erroneous debug msg

parent 305dad48
......@@ -3200,7 +3200,6 @@ function gui_gatom_activate(cid, tag, state) {
} else {
g.classList.remove("activated");
}
post("activating gatom: cid is " + cid + " and tag is " + tag + " and t is " + t);
}
function gui_iemgui_dialog(did, attr_array) {
......
......@@ -1039,7 +1039,9 @@ static void gatom_key(void *z, t_floatarg f)
gatom_bang(x);
gatom_retext(x, 1, 1);
x->a_buf[0] = 0;
glist_grab(x->a_glist, 0, 0, 0, 0, 0);
/* We want to keep grabbing the keyboard after hitting "Enter", so
we're commenting the following out */
//glist_grab(x->a_glist, 0, 0, 0, 0, 0);
}
else if (len < (ATOMBUFSIZE-1))
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment