Skip to content
Snippets Groups Projects
Commit 96608ba9 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

use correct glist for is_toplevel argument. This fixes a regression where an [nbx]

 shows as selected when in a gop.
parent c55be300
No related branches found
No related tags found
No related merge requests found
...@@ -170,7 +170,7 @@ static void my_numbox_draw_new(t_my_numbox *x, t_glist *glist) ...@@ -170,7 +170,7 @@ static void my_numbox_draw_new(t_my_numbox *x, t_glist *glist)
y1, y1,
x2 - x1, x2 - x1,
y2 - y1, y2 - y1,
glist_istoplevel(canvas)); glist_istoplevel(glist));
/* Not sure when it is necessary to hide the frame... perhaps for /* Not sure when it is necessary to hide the frame... perhaps for
k12? */ k12? */
if (!x->x_hide_frame || x->x_hide_frame == 2) if (!x->x_hide_frame || x->x_hide_frame == 2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment