diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-08-15 19:23:57 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-08-15 19:23:57 +0200 |
| commit | d23963af60b5bcc40cc67e302f7d806e88c2c5d3 (patch) | |
| tree | da9d34ebee9308cf807d166cf16210aa3c67ddcb /src/drivers/Wayland | |
| parent | 82fa5ea19c004c05723919daa96e3c2779af2aad (diff) | |
Remove useless Fl_Wayland_Window_Driver::show_with_args_begin/end().
Diffstat (limited to 'src/drivers/Wayland')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Window_Driver.H | 2 | ||||
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx | 21 |
2 files changed, 0 insertions, 23 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H index ad3c3ad37..b48f177b9 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H @@ -113,8 +113,6 @@ public: virtual void size_range(); virtual void iconize(); virtual void decoration_sizes(int *top, int *left, int *right, int *bottom); - virtual void show_with_args_begin(); - virtual void show_with_args_end(int argc, char **argv); // --- window cursor stuff virtual int set_cursor(Fl_Cursor); virtual int set_cursor(const Fl_RGB_Image*, int, int); diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx index 6a74dae04..d9b6d1486 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx @@ -587,27 +587,6 @@ void Fl_Wayland_Window_Driver::decoration_sizes(int *top, int *left, int *right } } -void Fl_Wayland_Window_Driver::show_with_args_begin() { - // Get defaults for drag-n-drop and focus... - const char *key = 0; - - if (Fl::first_window()) key = Fl::first_window()->xclass(); - if (!key) key = "fltk"; -} - - -void Fl_Wayland_Window_Driver::show_with_args_end(int argc, char **argv) { - if (argc) { - // set the command string, used by state-saving window managers: - int j; - int n=0; for (j=0; j<argc; j++) n += strlen(argv[j])+1; - char *buffer = new char[n]; - char *p = buffer; - for (j=0; j<argc; j++) for (const char *q = argv[j]; (*p++ = *q++);); - delete[] buffer; - } -} - int Fl_Wayland_Window_Driver::scroll(int src_x, int src_y, int src_w, int src_h, int dest_x, int dest_y, void (*draw_area)(void*, int,int,int,int), void* data) |
