diff --git a/panda/src/egldisplay/eglGraphicsWindow.cxx b/panda/src/egldisplay/eglGraphicsWindow.cxx index fe96f6d378..06250ec2a1 100644 --- a/panda/src/egldisplay/eglGraphicsWindow.cxx +++ b/panda/src/egldisplay/eglGraphicsWindow.cxx @@ -827,7 +827,7 @@ set_wm_properties(const WindowProperties &properties, bool already_mapped) { size_hints_p->height = properties.get_y_size(); size_hints_p->flags |= USSize; - if (properties.has_fixed_size()) { + if (properties.get_fixed_size()) { size_hints_p->min_width = properties.get_x_size(); size_hints_p->min_height = properties.get_y_size(); size_hints_p->max_width = properties.get_x_size(); diff --git a/panda/src/x11display/x11GraphicsWindow.cxx b/panda/src/x11display/x11GraphicsWindow.cxx index e6bd7a15e9..ccdef52f1f 100644 --- a/panda/src/x11display/x11GraphicsWindow.cxx +++ b/panda/src/x11display/x11GraphicsWindow.cxx @@ -948,7 +948,7 @@ set_wm_properties(const WindowProperties &properties, bool already_mapped) { size_hints_p->height = properties.get_y_size(); size_hints_p->flags |= USSize; - if (properties.has_fixed_size()) { + if (properties.get_fixed_size()) { size_hints_p->min_width = properties.get_x_size(); size_hints_p->min_height = properties.get_y_size(); size_hints_p->max_width = properties.get_x_size();