Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
purr-data
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
aa
purr-data
Commits
4ccf4c8c
Commit
4ccf4c8c
authored
Nov 18, 2017
by
Jonathan Wilkes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use parent canvas instead of glist_getcanvas to figure out whether we're toplevel
parent
5f46312d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pd/src/g_mycanvas.c
pd/src/g_mycanvas.c
+1
-1
No files found.
pd/src/g_mycanvas.c
View file @
4ccf4c8c
...
...
@@ -28,7 +28,7 @@ void my_canvas_draw_new(t_my_canvas *x, t_glist *glist)
sprintf
(
cbuf
,
"#%6.6x"
,
x
->
x_gui
.
x_bcol
);
gui_vmess
(
"gui_gobj_new"
,
"xxsiii"
,
canvas
,
x
,
"iemgui"
,
x1
,
y1
,
glist_istoplevel
(
canvas
));
x
,
"iemgui"
,
x1
,
y1
,
glist_istoplevel
(
glist
));
gui_vmess
(
"gui_mycanvas_new"
,
"xxsiiiiii"
,
canvas
,
x
,
cbuf
,
x1
,
y1
,
x1
+
x
->
x_vis_w
,
y1
+
x
->
x_vis_h
,
x1
+
x
->
x_gui
.
x_w
,
y1
+
x
->
x_gui
.
x_h
);
...
...
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