mirror of
https://github.com/elementary/gala.git
synced 2024-11-27 07:38:47 +03:00
InternalUtils: Prevent X11 specific calls on wayland (#938)
This commit is contained in:
parent
ad2a9daebb
commit
c0c8b991ed
@ -93,6 +93,10 @@ namespace Gala {
|
||||
**/
|
||||
#if HAS_MUTTER330
|
||||
public static void set_input_area (Display display, InputArea area) {
|
||||
if (Meta.Util.is_wayland_compositor ()) {
|
||||
return;
|
||||
}
|
||||
|
||||
X.Xrectangle[] rects = {};
|
||||
int width, height;
|
||||
display.get_size (out width, out height);
|
||||
|
Loading…
Reference in New Issue
Block a user