Simplify input region clearing

This commit is contained in:
David Hewitt 2023-04-07 10:07:28 +01:00 committed by Corentin Noël
parent 14767bfde7
commit fc5cd3e2f7

View File

@ -70,9 +70,14 @@ namespace Gala {
break;
case InputArea.NONE:
default:
#if !HAS_MUTTER44
unowned Meta.X11Display x11display = display.get_x11_display ();
x11display.clear_stage_input_region ();
return;
#else
rects = {};
break;
#endif
}
unowned Meta.X11Display x11display = display.get_x11_display ();