diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/libinput.h | 2 | ||||
-rw-r--r-- | include/backend/x11.h | 2 | ||||
-rw-r--r-- | include/util/defs.h | 10 | ||||
-rw-r--r-- | include/wlr/backend.h | 2 |
4 files changed, 14 insertions, 2 deletions
diff --git a/include/backend/libinput.h b/include/backend/libinput.h index f828c310..180984b5 100644 --- a/include/backend/libinput.h +++ b/include/backend/libinput.h @@ -83,4 +83,6 @@ void handle_tablet_pad_ring(struct libinput_event *event, void handle_tablet_pad_strip(struct libinput_event *event, struct libinput_device *device); +uint32_t usec_to_msec(uint64_t usec); + #endif diff --git a/include/backend/x11.h b/include/backend/x11.h index c5f258c0..9e1c8146 100644 --- a/include/backend/x11.h +++ b/include/backend/x11.h @@ -46,6 +46,8 @@ struct wlr_x11_backend { struct { struct wlr_x11_atom wm_protocols; struct wlr_x11_atom wm_delete_window; + struct wlr_x11_atom net_wm_name; + struct wlr_x11_atom utf8_string; } atoms; // The time we last received an event diff --git a/include/util/defs.h b/include/util/defs.h new file mode 100644 index 00000000..55a21f6b --- /dev/null +++ b/include/util/defs.h @@ -0,0 +1,10 @@ +#ifndef UTIL_DEFS_H +#define UTIL_DEFS_H + +#ifdef __GNUC__ +#define WLR_API __attribute__((visibility("default"))) +#else +#define WLR_API +#endif + +#endif diff --git a/include/wlr/backend.h b/include/wlr/backend.h index 00dc9fdc..840c9ba4 100644 --- a/include/wlr/backend.h +++ b/include/wlr/backend.h @@ -23,6 +23,4 @@ void wlr_backend_destroy(struct wlr_backend *backend); struct wlr_egl *wlr_backend_get_egl(struct wlr_backend *backend); struct wlr_renderer *wlr_backend_get_renderer(struct wlr_backend *backend); -uint32_t usec_to_msec(uint64_t usec); - #endif |