mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -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 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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue