commit 7188800
Michael Forney
·
2014-02-16 23:09:06 +0000 UTC
parent a0953ef
panel: Move swc_panel declaration to panel.c
2 files changed,
+15,
-15
+15,
-0
1@@ -36,6 +36,21 @@
2 #include <assert.h>
3 #include <stdlib.h>
4
5+struct swc_panel
6+{
7+ struct wl_resource * resource;
8+
9+ struct swc_surface * surface;
10+ struct wl_listener surface_destroy_listener;
11+ struct swc_view * view;
12+ struct wl_listener view_listener;
13+ struct screen * screen;
14+ struct screen_modifier modifier;
15+ uint32_t edge;
16+ uint32_t offset, strut_size;
17+ bool docked;
18+};
19+
20 static void update_position(struct swc_panel * panel)
21 {
22 int32_t x, y;
+0,
-15
1@@ -29,21 +29,6 @@
2 #include <stdbool.h>
3 #include <wayland-server.h>
4
5-struct swc_panel
6-{
7- struct wl_resource * resource;
8-
9- struct swc_surface * surface;
10- struct wl_listener surface_destroy_listener;
11- struct swc_view * view;
12- struct wl_listener view_listener;
13- struct screen * screen;
14- struct screen_modifier modifier;
15- uint32_t edge;
16- uint32_t offset, strut_size;
17- bool docked;
18-};
19-
20 struct swc_panel * swc_panel_new(struct wl_client * client, uint32_t id,
21 struct swc_surface * surface);
22