diff options
Diffstat (limited to 'src/drivers/Wayland')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx index 44ffe3037..d86d713dc 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx @@ -885,7 +885,7 @@ static void handle_configure(struct libdecor_frame *frame, if (is_2nd_run) { width = libdecor_frame_get_content_width(frame); height = libdecor_frame_get_content_height(frame); - if (!window->fl_win->resizable()) { + if (!driver->is_resizable()) { libdecor_frame_set_min_content_size(frame, width, height); libdecor_frame_set_max_content_size(frame, width, height); } @@ -1416,7 +1416,7 @@ void Fl_Wayland_Window_Driver::makeWindow() // appears in the Gnome desktop menu bar libdecor_frame_set_app_id(new_window->frame, get_prog_name()); libdecor_frame_set_title(new_window->frame, pWindow->label()?pWindow->label():""); - if (!pWindow->resizable()) { + if (!is_resizable()) { libdecor_frame_unset_capabilities(new_window->frame, LIBDECOR_ACTION_RESIZE); libdecor_frame_unset_capabilities(new_window->frame, LIBDECOR_ACTION_FULLSCREEN); } |
