Commit 701e852 1 parent 9a9be01 commit 701e852 Copy full SHA for 701e852
File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,8 @@ struct sway_server {
89
89
struct wlr_gamma_control_manager_v1 * gamma_control_manager_v1 ;
90
90
struct wl_listener gamma_control_set_gamma ;
91
91
92
+ struct wlr_fifo_manager_v1 * fifo_manager_v1 ;
93
+
92
94
struct {
93
95
struct sway_session_lock * lock ;
94
96
struct wlr_session_lock_manager_v1 * manager ;
Original file line number Diff line number Diff line change 18
18
#include <wlr/types/wlr_drm.h>
19
19
#include <wlr/types/wlr_export_dmabuf_v1.h>
20
20
#include <wlr/types/wlr_ext_foreign_toplevel_list_v1.h>
21
+ #include <wlr/types/wlr_fifo_v1.h>
21
22
#include <wlr/types/wlr_foreign_toplevel_management_v1.h>
22
23
#include <wlr/types/wlr_fractional_scale_v1.h>
23
24
#include <wlr/types/wlr_gamma_control_v1.h>
@@ -405,6 +406,9 @@ bool server_init(struct sway_server *server) {
405
406
406
407
wl_list_init (& server -> pending_launcher_ctxs );
407
408
409
+ server -> fifo_manager_v1 = wlr_fifo_manager_v1_create (server -> wl_display , 1 );
410
+ wlr_scene_set_fifo_manager_v1 (root -> root_scene , server -> fifo_manager_v1 );
411
+
408
412
// Avoid using "wayland-0" as display socket
409
413
char name_candidate [16 ];
410
414
for (unsigned int i = 1 ; i <= 32 ; ++ i ) {
You can’t perform that action at this time.
0 commit comments