mirror of
https://github.com/elementary/gala.git
synced 2024-11-23 20:07:21 +03:00
Fix build with mutter git
This commit is contained in:
parent
345148df43
commit
1f15d25853
@ -248,7 +248,11 @@ namespace Gala
|
||||
return;
|
||||
|
||||
var actor = window.get_compositor_private () as WindowActor;
|
||||
#if HAS_MUTTER314
|
||||
var input_rect = window.get_buffer_rect ();
|
||||
#else
|
||||
var input_rect = window.get_input_rect ();
|
||||
#endif
|
||||
var outer_rect = window.get_outer_rect ();
|
||||
var scale_factor = (float)width / outer_rect.width;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user