mirror of
https://github.com/swaywm/sway.git
synced 2026-04-26 06:46:26 -04:00
tray: placeholder touch events (currently ignored)
This commit is contained in:
parent
1e92def4b1
commit
a5acbcaa1e
3 changed files with 44 additions and 13 deletions
|
|
@ -403,7 +403,12 @@ static struct touch_slot *get_touch_slot(struct swaybar_touch *touch, int32_t id
|
|||
static void wl_touch_down(void *data, struct wl_touch *wl_touch,
|
||||
uint32_t serial, uint32_t time, struct wl_surface *surface,
|
||||
int32_t id, wl_fixed_t _x, wl_fixed_t _y) {
|
||||
// TODO popup
|
||||
#if HAVE_TRAY
|
||||
if (popup_touch_down(data, wl_touch, serial, time, surface, id, _x, _y)) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
struct swaybar_seat *seat = data;
|
||||
struct swaybar_output *_output = NULL, *output = NULL;
|
||||
wl_list_for_each(_output, &seat->bar->outputs, link) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue