diff --git a/documentation/src/wayland.dox b/documentation/src/wayland.dox index a9d5e4a32..9ab7583f6 100644 --- a/documentation/src/wayland.dox +++ b/documentation/src/wayland.dox @@ -761,7 +761,7 @@ operations: FLTK can copy or paste plain UTF-8 text or image data to/from the clipboard. Images are copied to the clipboard as \c image/bmp mime type. Images in \c image/bmp or \c image/png mime types from the -clipboard can be pasted to FLTK apps. Files dropped are received as a string with '\\n' between +clipboard can be pasted to FLTK apps. Files dropped are received as a string with ' ' between successive filenames. diff --git a/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx index df1f97771..866f6eb72 100644 --- a/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx @@ -403,7 +403,6 @@ static void delayed_scissor(Fl_Wayland_Gl_Window_Driver *dr) { void Fl_Wayland_Gl_Window_Driver::resize(int is_a_resize, int W, int H) { if (!egl_window) return; - struct wld_window *win = fl_wl_xid(pWindow); float f = Fl::screen_scale(pWindow->screen_num()); int s = Fl_Wayland_Window_Driver::driver(pWindow)->wld_scale(); W = (W * s) * f; diff --git a/src/drivers/Wayland/fl_wayland_clipboard_dnd.cxx b/src/drivers/Wayland/fl_wayland_clipboard_dnd.cxx index c6a2e7623..0c802dd0a 100644 --- a/src/drivers/Wayland/fl_wayland_clipboard_dnd.cxx +++ b/src/drivers/Wayland/fl_wayland_clipboard_dnd.cxx @@ -375,7 +375,7 @@ static void get_clipboard_or_dragged_text(struct wl_data_offer *offer) { n = Fl_Screen_Driver::convert_crlf(from, n); from += n; } - fl_selection_length[1] = from - fl_selection_buffer[1];; + fl_selection_length[1] = from - fl_selection_buffer[1]; fl_selection_buffer[1][fl_selection_length[1]] = 0; Fl::e_clipboard_type = Fl::clipboard_plain_text; }