-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Ian Fan <[email protected]> Co-authored-by: Nathan Schulte <[email protected]> Signed-off-by: Felix Weilbach <[email protected]>
- Loading branch information
Felix Weilbach
committed
Jan 16, 2023
1 parent
2f2cdd6
commit 69e2fe7
Showing
11 changed files
with
1,468 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#ifndef _SWAYBAR_TRAY_DBUSMENU_H | ||
#define _SWAYBAR_TRAY_DBUSMENU_H | ||
|
||
#include "swaybar/bar.h" | ||
#include "swaybar/tray/item.h" | ||
|
||
void swaybar_dbusmenu_open(struct swaybar_sni *sni, | ||
struct swaybar_output *output, struct swaybar_seat *seat, uint32_t serial, | ||
int x, int y); | ||
|
||
bool dbusmenu_pointer_button(void *data, struct wl_pointer *wl_pointer, | ||
uint32_t serial, uint32_t time_, uint32_t button, uint32_t state); | ||
|
||
bool dbusmenu_pointer_motion(struct swaybar_seat *seat, struct wl_pointer *wl_pointer, | ||
uint32_t time_, wl_fixed_t surface_x, wl_fixed_t surface_y); | ||
|
||
bool dbusmenu_pointer_enter(void *data, struct wl_pointer *wl_pointer, uint32_t serial, | ||
struct wl_surface *surface, wl_fixed_t surface_x, wl_fixed_t surface_y); | ||
|
||
bool dbusmenu_pointer_leave(void *data, struct wl_pointer *wl_pointer, uint32_t serial, | ||
struct wl_surface *surface); | ||
|
||
bool dbusmenu_pointer_frame(struct swaybar_seat *data, struct wl_pointer *wl_pointer); | ||
|
||
bool dbusmenu_pointer_axis(struct swaybar_seat *data, struct wl_pointer *wl_pointer); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.