Commit e5259397 authored by Claes Sjofors's avatar Claes Sjofors

Ge window, didn't work for subwindows in subwindows of object graphs

parent 83a913a0
...@@ -917,6 +917,9 @@ void GrowWindow::new_ctx() ...@@ -917,6 +917,9 @@ void GrowWindow::new_ctx()
memcpy( window_ctx->event_callback, ctx->event_callback, sizeof( ctx->event_callback)); memcpy( window_ctx->event_callback, ctx->event_callback, sizeof( ctx->event_callback));
window_ctx->event_move_node = ctx->event_move_node; window_ctx->event_move_node = ctx->event_move_node;
window_ctx->background_disabled = 1; window_ctx->background_disabled = 1;
if ( strcmp( owner, "$object") == 0)
strcpy( window_ctx->owner, ctx->owner);
else
strcpy( window_ctx->owner, owner); strcpy( window_ctx->owner, owner);
window_ctx->customcolors = ctx->gdraw->create_customcolors(); window_ctx->customcolors = ctx->gdraw->create_customcolors();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment