commit 1dd10d5
Michael Forney
·
2013-06-14 11:37:52 +0000 UTC
parent b6e40d1
Initialize surface geometry
1 files changed,
+4,
-0
+4,
-0
1@@ -165,6 +165,10 @@ bool swc_surface_initialize(struct swc_surface * surface,
2 wl_signal_init(&surface->event_signal);
3
4 surface->output_mask = 0;
5+ surface->geometry.x = 0;
6+ surface->geometry.y = 0;
7+ surface->geometry.width = 0;
8+ surface->geometry.height = 0;
9 surface->border.width = 0;
10 surface->border.color = 0x000000;
11