wayland: Factor out some parts of meta_surface_actor_wayland_get_scale

Put a toplevel window getter in meta-wayland-surface.h and a main
monitor scale getter in window-wayland.h.

https://bugzilla.gnome.org/show_bug.cgi?id=745655
This commit is contained in:
Jonas Ådahl
2015-03-23 21:10:20 +08:00
parent b97ebc4124
commit 117f57f74c
5 changed files with 43 additions and 33 deletions

View File

@ -50,5 +50,6 @@ void meta_window_wayland_move_resize (MetaWindow *window,
MetaRectangle new_geom,
int dx,
int dy);
int meta_window_wayland_get_main_monitor_scale (MetaWindow *window);
#endif