mirror of
https://github.com/elementary/gala.git
synced 2024-12-19 07:11:56 +03:00
Simplify input region clearing
This commit is contained in:
parent
14767bfde7
commit
fc5cd3e2f7
@ -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 ();
|
||||
|
Loading…
Reference in New Issue
Block a user