Fix build with mutter git

This commit is contained in:
Rico Tzschichholz 2014-06-22 09:22:30 +02:00
parent 345148df43
commit 1f15d25853

View File

@ -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;