mirror of
https://github.com/labwc/labwc.git
synced 2026-03-04 01:40:39 -05:00
chase: tearing hint
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4480
This commit is contained in:
parent
6becc02ca4
commit
72fd2af4f2
2 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ set_tearing_hint(struct wl_listener *listener, void *data)
|
||||||
{
|
{
|
||||||
struct tearing_controller *controller = wl_container_of(listener, controller, set_hint);
|
struct tearing_controller *controller = wl_container_of(listener, controller, set_hint);
|
||||||
struct view *view = view_from_wlr_surface(controller->tearing_control->surface);
|
struct view *view = view_from_wlr_surface(controller->tearing_control->surface);
|
||||||
if (view && controller->tearing_control->hint) {
|
if (view && controller->tearing_control->current) {
|
||||||
view->tearing_hint = true;
|
view->tearing_hint = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[wrap-git]
|
[wrap-git]
|
||||||
url = https://gitlab.freedesktop.org/wlroots/wlroots.git
|
url = https://gitlab.freedesktop.org/wlroots/wlroots.git
|
||||||
revision = fe8916fef0bd5d0846dfadd5f8c49ac57beedc9a
|
revision = 1968ada2132237f5bf8e40b6bf903fbce76c0b40
|
||||||
|
|
||||||
[provide]
|
[provide]
|
||||||
dependency_names = wlroots
|
dependency_names = wlroots
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue