Commit 1602da6f authored by Claes Sjofors's avatar Claes Sjofors

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

parent 4c0ef0e4
......@@ -917,7 +917,7 @@ void GrowWindow::new_ctx()
memcpy( window_ctx->event_callback, ctx->event_callback, sizeof( ctx->event_callback));
window_ctx->event_move_node = ctx->event_move_node;
window_ctx->background_disabled = 1;
if ( strcmp( owner, "$object") == 0)
if ( strcmp( owner, "$object") == 0 && ctx->is_subwindow)
strcpy( window_ctx->owner, ctx->owner);
else
strcpy( window_ctx->owner, owner);
......
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