diff --git a/panda/src/display/config_display.cxx b/panda/src/display/config_display.cxx index 94772be72f..c00bb1c093 100644 --- a/panda/src/display/config_display.cxx +++ b/panda/src/display/config_display.cxx @@ -284,7 +284,7 @@ ConfigVariableString window_title ("window-title", "Panda"); ConfigVariableInt parent_window_handle -("parent-window-title", 0, +("parent-window-handle", 0, PRC_DESC("The window handle of the parent window to attach the Panda window " "to, for the purposes of creating an embedded window. This is " "an HWND on Windows, or the NSWindow pointer or XWindow pointer " diff --git a/panda/src/display/windowProperties.cxx b/panda/src/display/windowProperties.cxx index af9b67703d..b9b5b107eb 100644 --- a/panda/src/display/windowProperties.cxx +++ b/panda/src/display/windowProperties.cxx @@ -121,7 +121,8 @@ operator == (const WindowProperties &other) const { _title == other._title && _icon_filename == other._icon_filename && _cursor_filename == other._cursor_filename && - _mouse_mode == other._mouse_mode); + _mouse_mode == other._mouse_mode && + _parent_window == other._parent_window); }