Ignore surface.map_toplevel() if already mapped

This commit is contained in:
Kristian Høgsberg 2011-01-07 08:38:56 -05:00
parent 175e6cec39
commit 8f66a57b4d
3 changed files with 7 additions and 1 deletions

View file

@ -146,6 +146,7 @@ struct wlsc_surface {
struct wlsc_matrix matrix_inv;
struct wl_visual *visual;
struct wl_buffer *buffer;
int mapped;
};
void