commit 130d7a7

Michael Forney  ·  2014-01-25 09:42:28 +0000 UTC
parent cab3201
Don't use named enums for event types
4 files changed,  +4, -4
+1, -1
1@@ -29,7 +29,7 @@
2 #include <stdbool.h>
3 #include <wayland-server.h>
4 
5-enum swc_data_device_event_type
6+enum
7 {
8     SWC_DATA_DEVICE_EVENT_SELECTION_CHANGED
9 };
+1, -1
1@@ -27,7 +27,7 @@
2 #include <stdbool.h>
3 #include <wayland-server.h>
4 
5-enum swc_input_focus_event_type
6+enum
7 {
8     SWC_INPUT_FOCUS_EVENT_CHANGED
9 };
+1, -1
1@@ -28,7 +28,7 @@
2 #include <wayland-server.h>
3 #include <pixman.h>
4 
5-enum swc_surface_commit_info
6+enum
7 {
8     SWC_SURFACE_COMMIT_ATTACH = (1 << 0),
9     SWC_SURFACE_COMMIT_DAMAGE = (1 << 1),
+1, -1
1@@ -26,7 +26,7 @@
2 
3 #include "swc.h"
4 
5-enum swc_view_event
6+enum
7 {
8     /* Sent when the view has displayed the next frame. */
9     SWC_VIEW_EVENT_FRAME,