mirror of
https://github.com/swaywm/sway.git
synced 2026-02-11 04:28:15 -05:00
Constify pixman_region32_t for rendering functions
This commit is contained in:
parent
423459723b
commit
d6cb4fa8de
5 changed files with 29 additions and 29 deletions
|
|
@ -50,7 +50,7 @@ struct sway_seatop_impl {
|
|||
void (*end)(struct sway_seat *seat);
|
||||
void (*unref)(struct sway_seat *seat, struct sway_container *con);
|
||||
void (*render)(struct sway_seat *seat, struct sway_output *output,
|
||||
pixman_region32_t *damage);
|
||||
const pixman_region32_t *damage);
|
||||
bool allow_set_cursor;
|
||||
};
|
||||
|
||||
|
|
@ -357,7 +357,7 @@ void seatop_unref(struct sway_seat *seat, struct sway_container *con);
|
|||
* (eg. dropzone for move-tiling)
|
||||
*/
|
||||
void seatop_render(struct sway_seat *seat, struct sway_output *output,
|
||||
pixman_region32_t *damage);
|
||||
const pixman_region32_t *damage);
|
||||
|
||||
bool seatop_allows_set_cursor(struct sway_seat *seat);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue