Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Aayush
purr-data
Commits
18d5e57d
Commit
18d5e57d
authored
Jan 05, 2009
by
Miller Puckette
Browse files
bug fix, pdtk_check window parent
parent
4513f935
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/g_editor.c
View file @
18d5e57d
...
...
@@ -1599,7 +1599,7 @@ void canvas_mouseup(t_canvas *x,
vmess
(
&
gl2
->
gl_pd
,
gensym
(
"menu-open"
),
""
);
x
->
gl_editor
->
e_onmotion
=
MA_NONE
;
sys_vgui
(
"pdtk_check .x%lx
.c
{Discard changes to '%s'?} {.x%lx dirty 0;
\n
} no
\n
"
,
"pdtk_check .x%lx {Discard changes to '%s'?} {.x%lx dirty 0;
\n
} no
\n
"
,
canvas_getrootfor
(
gl2
),
canvas_getrootfor
(
gl2
)
->
gl_name
->
s_name
,
gl2
);
return
;
...
...
@@ -1859,12 +1859,12 @@ void glob_verifyquit(void *dummy, t_floatarg f)
{
canvas_vis
(
g2
,
1
);
sys_vgui
(
"pdtk_check .x%lx
.c
{Discard changes to '%s'?} {.x%lx menuclose 3;
\n
} no
\n
"
,
"pdtk_check .x%lx {Discard changes to '%s'?} {.x%lx menuclose 3;
\n
} no
\n
"
,
canvas_getrootfor
(
g2
),
canvas_getrootfor
(
g2
)
->
gl_name
->
s_name
,
g2
);
return
;
}
if
(
f
==
0
&&
sys_perf
)
sys_vgui
(
"pdtk_check .x%lx
.c
{really quit?} {pd quit;
\n
} yes
\n
"
,
sys_vgui
(
"pdtk_check .x%lx {really quit?} {pd quit;
\n
} yes
\n
"
,
canvas_getrootfor
(
g2
));
else
glob_quit
(
0
);
}
...
...
@@ -1889,14 +1889,14 @@ void canvas_menuclose(t_canvas *x, t_floatarg fforce)
{
vmess
(
&
g
->
gl_pd
,
gensym
(
"menu-open"
),
""
);
sys_vgui
(
"pdtk_check .x%lx
.c
{Discard changes to '%s'?} {.x%lx menuclose 2;
\n
} no
\n
"
,
"pdtk_check .x%lx {Discard changes to '%s'?} {.x%lx menuclose 2;
\n
} no
\n
"
,
canvas_getrootfor
(
g
),
canvas_getrootfor
(
g
)
->
gl_name
->
s_name
,
g
);
return
;
}
else
if
(
sys_perf
)
{
sys_vgui
(
"pdtk_check .x%lx
.c
{Close '%s'?} {.x%lx menuclose 1;
\n
} yes
\n
"
,
"pdtk_check .x%lx {Close '%s'?} {.x%lx menuclose 1;
\n
} yes
\n
"
,
canvas_getrootfor
(
x
),
canvas_getrootfor
(
x
)
->
gl_name
->
s_name
,
x
);
}
else
pd_free
(
&
x
->
gl_pd
);
...
...
@@ -1913,7 +1913,7 @@ void canvas_menuclose(t_canvas *x, t_floatarg fforce)
{
vmess
(
&
g
->
gl_pd
,
gensym
(
"menu-open"
),
""
);
sys_vgui
(
"pdtk_check .x%lx
.c
{Discard changes to '%s'?} {.x%lx menuclose 2;
\n
} no
\n
"
,
"pdtk_check .x%lx {Discard changes to '%s'?} {.x%lx menuclose 2;
\n
} no
\n
"
,
canvas_getrootfor
(
x
),
canvas_getrootfor
(
x
)
->
gl_name
->
s_name
,
g
);
return
;
}
...
...
src/m_pd.h
View file @
18d5e57d
...
...
@@ -10,7 +10,7 @@ extern "C" {
#define PD_MAJOR_VERSION 0
#define PD_MINOR_VERSION 42
#define PD_BUGFIX_VERSION
0
#define PD_BUGFIX_VERSION
1
#define PD_TEST_VERSION ""
/* old name for "MSW" flag -- we have to take it for the sake of many old
...
...
src/notes.txt
View file @
18d5e57d
...
...
@@ -31,7 +31,6 @@ open_via_path call in d_soundfile.c isn't threadsafe
floor, ciel functions in expr misdeclared
graph names don't appear until graph moved? (invis/vis on new array/rename)
don't filter locked click() through getrect
when retyping abstractions, offer to save dirty one
should linux stop grabbing focus on vis? Is there a way to detect whether
the mouse is in a window when it opens?
arrays that don't fit in bounds don't update (same as red rectangle problem?)
...
...
@@ -53,6 +52,7 @@ real-time spectrum grapher
document ||, |, etc, better
features:
'route' object to sprout inlet if no args (like sel)
optionally suppress leading "." directories and files on "open"
change config.h to #ifdef _MSC_VER (include MSW fake) else include a real one
stick snprintf alias in the MSW fake.
...
...
Write
Preview
Markdown
is supported
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