Remove useless instructions.

This commit is contained in:
ManoloFLTK 2022-04-06 13:25:54 +02:00
parent f6a93eb060
commit d1bffee04a

View File

@ -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()) {
}