|
|
commit d23963af60b5bcc40cc67e302f7d806e88c2c5d3
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Mon Aug 15 19:23:57 2022 +0200
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Mon Aug 15 19:23:57 2022 +0200
Remove useless Fl_Wayland_Window_Driver::show_with_args_begin/end().
src/drivers/Wayland/Fl_Wayland_Window_Driver.H | 2 --
src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx | 21 ---------------------
2 files changed, 23 deletions(-)
diff --git src/drivers/Wayland/Fl_Wayland_Window_Driver.H src/drivers/Wayland/Fl_Wayland_Window_Driver.H
index ad3c3ad..b48f177 100644
--- src/drivers/Wayland/Fl_Wayland_Window_Driver.H
+++ 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 src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
index 6a74dae..d9b6d14 100644
--- src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
+++ 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)
[ Direct Link to Message ] | |
|
| |