From d1bffee04a6697f1a1f6caa70216c98409ea1c41 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 6 Apr 2022 13:25:54 +0200 Subject: [PATCH] Remove useless instructions. --- src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx index c821c0728..fef6e43f7 100644 --- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx @@ -1230,13 +1230,6 @@ extern void fl_fix_focus(); // in Fl.cxx void Fl_Wayland_Screen_Driver::grab(Fl_Window* win) { - Fl_Window *fullscreen_win = NULL; - for (Fl_Window *W = Fl::first_window(); W; W = Fl::next_window(W)) { - if (W->fullscreen_active()) { - fullscreen_win = W; - break; - } - } if (win) { if (!Fl::grab()) { }