diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-11-12 08:40:37 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-11-12 08:40:37 +0100 |
| commit | ce9ba4ba0879a71dc2375e7b21f109d47f35c531 (patch) | |
| tree | 6b8baa653eb8faf982bcf24ef292cf2037e575ac /src | |
| parent | ff134f0081ee15eec28c082ec057e3b2a85750d0 (diff) | |
Remove unseless code in Fl_Wayland_Screen_Driver.cxx
Diffstat (limited to 'src')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx index e8a88d883..35a253c38 100644 --- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx @@ -262,13 +262,6 @@ static void pointer_button(void *data, if (!win) return; win = win->top_window(); wld_event_time = time; - if (button == BTN_LEFT && state == WL_POINTER_BUTTON_STATE_PRESSED && - seat->pointer_focus == NULL && - (fl_wl_xid(win))->kind == Fl_Wayland_Window_Driver::DECORATED) { - // click on titlebar - libdecor_frame_move(fl_wl_xid(win)->frame, seat->wl_seat, serial); - return; - } int b = 0; // Fl::e_state &= ~FL_BUTTONS; // DO NOT reset the mouse button state! if (state == WL_POINTER_BUTTON_STATE_PRESSED) { |
