summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-04-06 13:25:54 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-04-06 13:25:54 +0200
commitd1bffee04a6697f1a1f6caa70216c98409ea1c41 (patch)
tree7be03ef1e659f1e2044f796355e2737d552fefd0
parentf6a93eb06093c61ee8daab9e01ed809573b991c4 (diff)
Remove useless instructions.
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx7
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 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()) {
}