Remove unused variable declaration + fix in wayland.dox
This commit is contained in:
parent
77c6877374
commit
b438d448fb
@ -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.
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user