Browse Source

oops typo

David Rose 16 years ago
parent
commit
c61f5f2b64
2 changed files with 3 additions and 2 deletions
  1. 1 1
      panda/src/display/config_display.cxx
  2. 2 1
      panda/src/display/windowProperties.cxx

+ 1 - 1
panda/src/display/config_display.cxx

@@ -284,7 +284,7 @@ ConfigVariableString window_title
 ("window-title", "Panda");
 ("window-title", "Panda");
 
 
 ConfigVariableInt parent_window_handle
 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 "
  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 "
           "to, for the purposes of creating an embedded window.  This is "
           "an HWND on Windows, or the NSWindow pointer or XWindow pointer "
           "an HWND on Windows, or the NSWindow pointer or XWindow pointer "

+ 2 - 1
panda/src/display/windowProperties.cxx

@@ -121,7 +121,8 @@ operator == (const WindowProperties &other) const {
           _title == other._title &&
           _title == other._title &&
           _icon_filename == other._icon_filename &&
           _icon_filename == other._icon_filename &&
           _cursor_filename == other._cursor_filename &&
           _cursor_filename == other._cursor_filename &&
-          _mouse_mode == other._mouse_mode);
+          _mouse_mode == other._mouse_mode &&
+          _parent_window == other._parent_window);
   
   
 }
 }