-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwlroots.scm
74 lines (72 loc) · 2.45 KB
/
wlroots.scm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
(define-module (wlroots)
#:use-module (oop goops))
(eval-when (eval load compile)
(begin
(define %public-modules
(map (lambda (a) (cons 'wlroots a))
'((backend libinput)
(backend multi)
(backend session)
(backend)
(render allocator)
(render dmabuf)
(render drm-format-set)
(render renderer)
(render texture)
(types compositor)
(types cursor)
(types damage-ring)
(types data-control)
(types data-device)
(types drm)
(types fullscreen-shell)
(types input-device)
(types gamma-control)
(types idle-inhibit)
(types input-inhibitor)
(types input-method)
(types keyboard)
(types layer-shell)
(types matrix)
(types output)
(types output-layout)
(types output-management)
(types pointer)
(types pointer-gestures)
(types presentation-time)
(types primary-selection)
(types scene)
(types screencopy)
(types seat)
(types server-decoration)
(types session-lock)
(types subcompositor)
(types switch)
(types tablet-tool)
(types text-input)
(types touch )
(types viewporter)
(types xcursor-manager)
(types xdg-activation)
(types xdg-decoration)
(types xdg-output)
(types export-dmabuf)
(types xdg-shell)
(util addon)
(util box)
(util log)
(utils)
(types))))
(let* ((current-module (current-module))
(current-module-interface (resolve-interface (module-name current-module))))
(for-each
(lambda (submodule)
(let ((submodule-interface (resolve-interface submodule)))
(module-use! current-module submodule-interface)
(module-use! current-module-interface submodule-interface)))
%public-modules)
(set-module-duplicates-handlers!
current-module-interface
(append (lookup-duplicates-handlers 'merge-accessors)
(lookup-duplicates-handlers 'merge-generics)
(module-duplicates-handlers current-module-interface)) ))))