mirror of
https://github.com/swaywm/sway.git
synced 2026-04-18 06:46:56 -04:00
Merge 19661d1853 into 801bc76ce3
This commit is contained in:
commit
c5e1318929
13 changed files with 1493 additions and 12 deletions
|
|
@ -160,6 +160,7 @@ static void render_sharp_line(cairo_t *cairo, uint32_t color,
|
|||
|
||||
static enum hotspot_event_handling block_hotspot_callback(
|
||||
struct swaybar_output *output, struct swaybar_hotspot *hotspot,
|
||||
struct swaybar_seat *seat, uint32_t serial,
|
||||
double x, double y, uint32_t button, bool released, void *data) {
|
||||
struct i3bar_block *block = data;
|
||||
struct status_line *status = output->bar->status;
|
||||
|
|
@ -601,6 +602,7 @@ static uint32_t render_binding_mode_indicator(struct render_context *ctx,
|
|||
|
||||
static enum hotspot_event_handling workspace_hotspot_callback(
|
||||
struct swaybar_output *output, struct swaybar_hotspot *hotspot,
|
||||
struct swaybar_seat *seat, uint32_t serial,
|
||||
double x, double y, uint32_t button, bool released, void *data) {
|
||||
if (button != BTN_LEFT) {
|
||||
return HOTSPOT_PROCESS;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue