mirror of
https://github.com/swaywm/sway.git
synced 2026-04-18 06:46:56 -04:00
wlroots: adapt to scene fractional position changes
Signed-off-by: Loukas Agorgianitis <loukas@agorgianitis.com>
This commit is contained in:
parent
909a2ddb5f
commit
fb44dabd97
6 changed files with 10 additions and 7 deletions
|
|
@ -1196,7 +1196,7 @@ void view_remove_saved_buffer(struct sway_view *view) {
|
|||
}
|
||||
|
||||
static void view_save_buffer_iterator(struct wlr_scene_buffer *buffer,
|
||||
int sx, int sy, void *data) {
|
||||
double sx, double sy, void *data) {
|
||||
struct wlr_scene_tree *tree = data;
|
||||
|
||||
struct wlr_scene_buffer *sbuf = wlr_scene_buffer_create(tree, NULL);
|
||||
|
|
@ -1260,7 +1260,7 @@ bool view_can_tear(struct sway_view *view) {
|
|||
}
|
||||
|
||||
static void send_frame_done_iterator(struct wlr_scene_buffer *scene_buffer,
|
||||
int x, int y, void *data) {
|
||||
double x, double y, void *data) {
|
||||
struct timespec *when = data;
|
||||
struct wlr_scene_surface *scene_surface = wlr_scene_surface_try_from_buffer(scene_buffer);
|
||||
if (scene_surface == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue