pipewire, steamcompmgr: Fix odr violations for event_type

This commit is contained in:
Joshua Ashton 2022-02-14 23:50:31 +00:00
parent ddf468a8e6
commit 82c098f117
2 changed files with 2 additions and 2 deletions

View file

@ -309,7 +309,7 @@ static const struct pw_stream_events stream_events = {
.process = nullptr, .process = nullptr,
}; };
enum event_type { enum pipewire_event_type {
EVENT_PIPEWIRE, EVENT_PIPEWIRE,
EVENT_NUDGE, EVENT_NUDGE,
EVENT_COUNT // keep last EVENT_COUNT // keep last

View file

@ -4581,7 +4581,7 @@ load_mouse_cursor( MouseCursor *cursor, const char *path, int hx, int hy )
return cursor->setCursorImage((char *)data, w, h, hx, hy); return cursor->setCursorImage((char *)data, w, h, hx, hy);
} }
enum event_type { enum steamcompmgr_event_type {
EVENT_VBLANK, EVENT_VBLANK,
EVENT_NUDGE, EVENT_NUDGE,
EVENT_X11, EVENT_X11,