mirror of
https://github.com/labwc/labwc.git
synced 2025-11-30 06:59:52 -05:00
Add tearing support (#1390)
Co-authored-by: Andrew J. Hesford <ajh@sideband.org>
This commit is contained in:
parent
72f3ce6b41
commit
bce0c6ce56
13 changed files with 111 additions and 1 deletions
|
|
@ -449,6 +449,10 @@ server_init(struct server *server)
|
|||
wl_signal_add(&server->output_power_manager_v1->events.set_mode,
|
||||
&server->output_power_manager_set_mode);
|
||||
|
||||
server->tearing_control = wlr_tearing_control_manager_v1_create(server->wl_display, 1);
|
||||
server->tearing_new_object.notify = new_tearing_hint;
|
||||
wl_signal_add(&server->tearing_control->events.new_object, &server->tearing_new_object);
|
||||
|
||||
layers_init(server);
|
||||
|
||||
#if HAVE_XWAYLAND
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue