summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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()) {
}