Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
2b6dbe4f
Commit
2b6dbe4f
authored
Jan 08, 2016
by
Jonathan Wilkes
Browse files
don't give up gatom keyboard focus on "Enter", and remove erroneous debug msg
parent
305dad48
Changes
2
Hide whitespace changes
Inline
Side-by-side
pd/nw/pdgui.js
View file @
2b6dbe4f
...
...
@@ -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
)
{
...
...
pd/src/g_text.c
View file @
2b6dbe4f
...
...
@@ -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
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment