mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
Update consumed_by_frame_context for LAB_SSD_ALL
This commit is contained in:
parent
6c7cdc246e
commit
1c334cc918
1 changed files with 6 additions and 0 deletions
|
|
@ -829,12 +829,15 @@ handle_release_mousebinding(struct server *server,
|
||||||
*/
|
*/
|
||||||
consumed_by_frame_context |=
|
consumed_by_frame_context |=
|
||||||
mousebind->context == LAB_SSD_FRAME;
|
mousebind->context == LAB_SSD_FRAME;
|
||||||
|
consumed_by_frame_context |=
|
||||||
|
mousebind->context == LAB_SSD_ALL;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
default:
|
default:
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
consumed_by_frame_context |= mousebind->context == LAB_SSD_FRAME;
|
consumed_by_frame_context |= mousebind->context == LAB_SSD_FRAME;
|
||||||
|
consumed_by_frame_context |= mousebind->context == LAB_SSD_ALL;
|
||||||
actions_run(ctx->view, server, &mousebind->actions,
|
actions_run(ctx->view, server, &mousebind->actions,
|
||||||
/*resize_edges*/ 0);
|
/*resize_edges*/ 0);
|
||||||
}
|
}
|
||||||
|
|
@ -919,6 +922,8 @@ handle_press_mousebinding(struct server *server, struct cursor_context *ctx,
|
||||||
*/
|
*/
|
||||||
consumed_by_frame_context |=
|
consumed_by_frame_context |=
|
||||||
mousebind->context == LAB_SSD_FRAME;
|
mousebind->context == LAB_SSD_FRAME;
|
||||||
|
consumed_by_frame_context |=
|
||||||
|
mousebind->context == LAB_SSD_ALL;
|
||||||
mousebind->pressed_in_context = true;
|
mousebind->pressed_in_context = true;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
|
@ -933,6 +938,7 @@ handle_press_mousebinding(struct server *server, struct cursor_context *ctx,
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
consumed_by_frame_context |= mousebind->context == LAB_SSD_FRAME;
|
consumed_by_frame_context |= mousebind->context == LAB_SSD_FRAME;
|
||||||
|
consumed_by_frame_context |= mousebind->context == LAB_SSD_ALL;
|
||||||
actions_run(ctx->view, server, &mousebind->actions, resize_edges);
|
actions_run(ctx->view, server, &mousebind->actions, resize_edges);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue