commit 130d7a798d745cf5e7b788c1b0731ac334503788
parent cab3201940d6562a361a1e869ceeebb26038d36e
Author: Michael Forney <mforney@mforney.org>
Date: Sat, 25 Jan 2014 01:42:28 -0800
Don't use named enums for event types
Diffstat:
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libswc/data_device.h b/libswc/data_device.h
@@ -29,7 +29,7 @@
#include <stdbool.h>
#include <wayland-server.h>
-enum swc_data_device_event_type
+enum
{
SWC_DATA_DEVICE_EVENT_SELECTION_CHANGED
};
diff --git a/libswc/input_focus.h b/libswc/input_focus.h
@@ -27,7 +27,7 @@
#include <stdbool.h>
#include <wayland-server.h>
-enum swc_input_focus_event_type
+enum
{
SWC_INPUT_FOCUS_EVENT_CHANGED
};
diff --git a/libswc/surface.h b/libswc/surface.h
@@ -28,7 +28,7 @@
#include <wayland-server.h>
#include <pixman.h>
-enum swc_surface_commit_info
+enum
{
SWC_SURFACE_COMMIT_ATTACH = (1 << 0),
SWC_SURFACE_COMMIT_DAMAGE = (1 << 1),
diff --git a/libswc/view.h b/libswc/view.h
@@ -26,7 +26,7 @@
#include "swc.h"
-enum swc_view_event
+enum
{
/* Sent when the view has displayed the next frame. */
SWC_VIEW_EVENT_FRAME,