mirror of
https://github.com/swaywm/sway.git
synced 2026-02-20 01:40:41 -05:00
Tray: Implement dbusmenu
Co-authored-by: Ian Fan <ianfan0@gmail.com> Co-authored-by: Nathan Schulte <nmschulte@gmail.com> Signed-off-by: Felix Weilbach <felix.weilbach@t-online.de>
This commit is contained in:
parent
f686e9ad59
commit
2fd480ff1b
11 changed files with 1468 additions and 11 deletions
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
struct swaybar;
|
||||
struct swaybar_output;
|
||||
struct swaybar_seat;
|
||||
|
||||
struct swaybar_pointer {
|
||||
struct wl_pointer *pointer;
|
||||
|
|
@ -48,8 +49,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,
|
||||
bool released, void *data);
|
||||
struct swaybar_hotspot *hotspot, struct swaybar_seat *seat, uint32_t serial,
|
||||
double x, double y, uint32_t button, bool released, void *data);
|
||||
void (*destroy)(void *data);
|
||||
void *data;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue