-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.lisp
104 lines (83 loc) · 1.98 KB
/
package.lisp
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
;;;; package.lisp
(defpackage #:cl-wlc
(:use #:cl #:cffi)
(:export :run-wm
:bare-wm
:wlc-terminate
:output-views
:focused-output
:get-outputs
:output-mask
:focused-output-mask
:output-resolution
:output-focus
:output-views-masked
:view-mask
:view-state
:view-set-state
:view-type
:view-output
:view-parent
:view-close
:view-focus
:view-bring-to-front
:view-bring-above
:view-send-below
:view-send-to-back
:view-geometry
:view-output
:view-title
:view-id
:get-next-view
:get-previous-view
:get-topmost-view
:managedp
:override-redirectp
:test-view-state
:test-view-type
:view-fullscreenp
:view-splashp
:view-focus
:ref-wlc-modifiers
:ref-wlc-size
:ref-wlc-origin
:ref-wlc-size
:ref-wlc-geometry
:view-geometry
:geometry-size
:geometry-origin
:parse-mod-bit
:callback-view-created
:callback-view-destroyed
:callback-view-focus
:callback-view-move-to-output
:callback-output-created
:callback-output-destroyed
:callback-output-focus
:callback-output-resolution
:callback-keyboard-key
:callback-pointer-button
:callback-pointer-motion
:callback-pointer-scroll
:exec
:+MODAL+ :+OVERRIDE+ :+POPUP+
:+SPLASH+ :+UNMANAGED+ :+BUTTON-PRESSED+
:+PRESSED+ :+RELEASED+
:+LOG-ERROR+ :+LOG-INFO+ :+LOG-WARN+
:+ACTIVATED+ :+FULLSCREEN+ :+MAXIMIZED+
:+MOVING+ :+RESIZING+
:+mod-shift+ :+mod-caps+ :+mod-ctrl+
:+mod-alt+ :+mod-mod2+ :+mod-mod3+
:+mod-logo+ :+mod-mod5+))
(in-package :cl-wlc)
(define-foreign-library wlc
(:unix (:or "libwlc.so.0" "libwlc.so"))
(t (:default "libwlc")))
(use-foreign-library wlc)
(define-foreign-library wayland-util
(:unix (:or "libwayland-server.so.0"
"libwayland-server.so")))
(use-foreign-library wayland-util)
(defvar out *standard-output*)
(defvar *cl-wlc-debug* nil)
(defctype bool :boolean)