commit 71888001c46505df0abdc3a0c23447f8d51a57ad
parent a0953ef20f77ee91c0bbfc1d48296c93a3bda80e
Author: Michael Forney <mforney@mforney.org>
Date: Sun, 16 Feb 2014 15:09:06 -0800
panel: Move swc_panel declaration to panel.c
Diffstat:
2 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/libswc/panel.c b/libswc/panel.c
@@ -36,6 +36,21 @@
#include <assert.h>
#include <stdlib.h>
+struct swc_panel
+{
+ struct wl_resource * resource;
+
+ struct swc_surface * surface;
+ struct wl_listener surface_destroy_listener;
+ struct swc_view * view;
+ struct wl_listener view_listener;
+ struct screen * screen;
+ struct screen_modifier modifier;
+ uint32_t edge;
+ uint32_t offset, strut_size;
+ bool docked;
+};
+
static void update_position(struct swc_panel * panel)
{
int32_t x, y;
diff --git a/libswc/panel.h b/libswc/panel.h
@@ -29,21 +29,6 @@
#include <stdbool.h>
#include <wayland-server.h>
-struct swc_panel
-{
- struct wl_resource * resource;
-
- struct swc_surface * surface;
- struct wl_listener surface_destroy_listener;
- struct swc_view * view;
- struct wl_listener view_listener;
- struct screen * screen;
- struct screen_modifier modifier;
- uint32_t edge;
- uint32_t offset, strut_size;
- bool docked;
-};
-
struct swc_panel * swc_panel_new(struct wl_client * client, uint32_t id,
struct swc_surface * surface);