broadway: Move surface open to server

This way we can cache the last opened surface
This commit is contained in:
Alexander Larsson
2013-03-29 09:38:34 +01:00
parent 6ef8589a51
commit c6baa9bc25
3 changed files with 73 additions and 59 deletions

View File

@ -78,5 +78,10 @@ gboolean broadway_server_window_move_resize (BroadwayServer *
int y,
int width,
int height);
cairo_surface_t * broadway_server_open_surface (BroadwayServer *server,
guint32 id,
char *name,
int width,
int height);
#endif /* __BROADWAY_SERVER__ */