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
Rishabh Gupta
purr-data
Commits
c50671ab
Commit
c50671ab
authored
Apr 07, 2013
by
Ivica Bukvic
Browse files
removed debug output
parent
4aca21da
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_editor.c
View file @
c50671ab
...
@@ -2018,14 +2018,14 @@ void canvas_vis(t_canvas *x, t_floatarg f)
...
@@ -2018,14 +2018,14 @@ void canvas_vis(t_canvas *x, t_floatarg f)
* so its ok to run it on a canvas that already has a gl_editor. */
* so its ok to run it on a canvas that already has a gl_editor. */
if
(
x
->
gl_editor
&&
x
->
gl_havewindow
)
if
(
x
->
gl_editor
&&
x
->
gl_havewindow
)
{
/* just put us in front */
{
/* just put us in front */
fprintf
(
stderr
,
"existing
\n
"
);
//
fprintf(stderr,"existing\n");
sys_vgui
(
"raise .x%lx
\n
"
,
x
);
sys_vgui
(
"raise .x%lx
\n
"
,
x
);
sys_vgui
(
"focus .x%lx.c
\n
"
,
x
);
sys_vgui
(
"focus .x%lx.c
\n
"
,
x
);
sys_vgui
(
"wm deiconify .x%lx
\n
"
,
x
);
sys_vgui
(
"wm deiconify .x%lx
\n
"
,
x
);
}
}
else
else
{
{
fprintf
(
stderr
,
"new
\n
"
);
//
fprintf(stderr,"new\n");
canvas_create_editor
(
x
);
canvas_create_editor
(
x
);
sys_vgui
(
"pdtk_canvas_new .x%lx %d %d +%d+%d %d
\n
"
,
x
,
sys_vgui
(
"pdtk_canvas_new .x%lx %d %d +%d+%d %d
\n
"
,
x
,
(
int
)(
x
->
gl_screenx2
-
x
->
gl_screenx1
),
(
int
)(
x
->
gl_screenx2
-
x
->
gl_screenx1
),
...
...
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