mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-21 05:34:05 -04:00
feat: add wl_fixes interface
This commit is contained in:
parent
35455b8873
commit
33d385ab9a
1 changed files with 2 additions and 0 deletions
|
|
@ -38,6 +38,7 @@
|
||||||
#include <wlr/types/wlr_ext_foreign_toplevel_list_v1.h>
|
#include <wlr/types/wlr_ext_foreign_toplevel_list_v1.h>
|
||||||
#include <wlr/types/wlr_ext_image_capture_source_v1.h>
|
#include <wlr/types/wlr_ext_image_capture_source_v1.h>
|
||||||
#include <wlr/types/wlr_ext_image_copy_capture_v1.h>
|
#include <wlr/types/wlr_ext_image_copy_capture_v1.h>
|
||||||
|
#include <wlr/types/wlr_fixes.h>
|
||||||
#include <wlr/types/wlr_fractional_scale_v1.h>
|
#include <wlr/types/wlr_fractional_scale_v1.h>
|
||||||
#include <wlr/types/wlr_gamma_control_v1.h>
|
#include <wlr/types/wlr_gamma_control_v1.h>
|
||||||
#include <wlr/types/wlr_idle_inhibit_v1.h>
|
#include <wlr/types/wlr_idle_inhibit_v1.h>
|
||||||
|
|
@ -5152,6 +5153,7 @@ void setup(void) {
|
||||||
wlr_subcompositor_create(dpy);
|
wlr_subcompositor_create(dpy);
|
||||||
wlr_alpha_modifier_v1_create(dpy);
|
wlr_alpha_modifier_v1_create(dpy);
|
||||||
wlr_ext_data_control_manager_v1_create(dpy, 1);
|
wlr_ext_data_control_manager_v1_create(dpy, 1);
|
||||||
|
wlr_fixes_create(dpy, 1);
|
||||||
|
|
||||||
// 在 setup 函数中
|
// 在 setup 函数中
|
||||||
wl_signal_init(&mango_print_status);
|
wl_signal_init(&mango_print_status);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue