mirror of
https://github.com/labwc/labwc.git
synced 2026-03-18 05:33:53 -04:00
interactive: subtle refactor to interactive_set_grab_context()
- Add `server` argument to `interactive_set_grab_context()` to clarify it updates something in `server`. - Add `const` qualifier to `ctx` argument of `interactive_set_grab_context()` and `cursor_get_resize_edges()`
This commit is contained in:
parent
df73a97efa
commit
00f63622b5
5 changed files with 8 additions and 8 deletions
|
|
@ -92,7 +92,7 @@ void cursor_context_save(struct cursor_context_saved *saved_ctx,
|
|||
* keyboard modifier or when using the Resize action from a keybind.
|
||||
*/
|
||||
enum lab_edge cursor_get_resize_edges(struct wlr_cursor *cursor,
|
||||
struct cursor_context *ctx);
|
||||
const struct cursor_context *ctx);
|
||||
|
||||
/**
|
||||
* cursor_get_from_edge - translate lab_edge enum to lab_cursor enum
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue