tray: implement d-bus menu

This commit is contained in:
Ian Fan 2020-09-27 15:16:30 +01:00
parent ae4ff7226f
commit 1e92def4b1
11 changed files with 1145 additions and 36 deletions

View file

@ -48,8 +48,8 @@ struct swaybar_hotspot {
struct wl_list link; // swaybar_output::hotspots
int x, y, width, height;
enum hotspot_event_handling (*callback)(struct swaybar_output *output,
struct swaybar_hotspot *hotspot, double x, double y, uint32_t button,
void *data);
struct swaybar_hotspot *hotspot, struct wl_seat *seat, uint32_t serial,
double x, double y, uint32_t button, void *data);
void (*destroy)(void *data);
void *data;
};