diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-04-21 16:27:08 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-04-21 16:27:08 +0200 |
| commit | fe972185c085694c7aab651419671a86d1b36eab (patch) | |
| tree | 67be82188028808aebd92e719ce92edaf2ef6faa /src/drivers/Wayland | |
| parent | f8f7e101f36708eb3f347a82459ab9d7120e441b (diff) | |
Fl_Window_Driver::destroy_double_buffer() does not need overrides
Diffstat (limited to 'src/drivers/Wayland')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Window_Driver.H | 1 | ||||
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H index 00afa6c62..518566489 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H @@ -104,7 +104,6 @@ public: void show() FL_OVERRIDE; void resize(int X,int Y,int W,int H) FL_OVERRIDE; void label(const char *name, const char *mininame) FL_OVERRIDE; - void destroy_double_buffer() FL_OVERRIDE; void hide() FL_OVERRIDE; void map() FL_OVERRIDE; void unmap() FL_OVERRIDE; diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx index d96401d68..dec5bf36e 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx @@ -61,12 +61,6 @@ bool Fl_Wayland_Window_Driver::new_popup = false; // to support tall menu button Fl_Window *Fl_Wayland_Window_Driver::previous_floatingtitle = NULL; -void Fl_Wayland_Window_Driver::destroy_double_buffer() { - if (pWindow->as_overlay_window()) fl_delete_offscreen(other_xid); - other_xid = 0; -} - - Fl_Wayland_Window_Driver::Fl_Wayland_Window_Driver(Fl_Window *win) : Fl_Window_Driver(win) { shape_data_ = NULL; |
