at commit cc2e0955
| 1 | ;;;; common lisp window manager |
| 2 | ;;;; |
| 3 | ;;;; package for provided extensions |
| 4 | |
| 5 | (defpackage #:clwm-ext |
| 6 | (:use :cl :clwm) |
| 7 | (:import-from #:alexandria |
| 8 | #:when-let #:lastcar #:format-symbol #:clamp #:appendf |
| 9 | #:removef #:extremum #:hash-table-keys) |
| 10 | (:export |
| 11 | ;; sloppy-focus-follows-mouse-mixin |
| 12 | #:sloppy-focus-follows-mouse-mixin |
| 13 | ;; focus-tracking-mixin |
| 14 | #:focus-tracking-mixin #:focused-client |
| 15 | ;; ignored-clients-mixin |
| 16 | #:ignored-clients-mixin #:ignore-window-p #:ignored-window-names |
| 17 | ;; interaction mixin |
| 18 | #:interaction-mixin #:current-interaction #:interaction |
| 19 | #:interaction-client #:start-interaction #:stop-interaction |
| 20 | #:interaction-event #:stop-current-interaction |
| 21 | #:abort-current-interaction #:with-interaction-abort-on-error |
| 22 | ;; bindings |
| 23 | #:*lock-modifiers* #:*key-names* |
| 24 | ;; keybinds-mixin |
| 25 | #:keybinds-mixin #:key-bindings #:grab-keys #:call-key-command |
| 26 | ;; pointer-keybinds-mixin |
| 27 | #:pointer-keybinds-mixin |
| 28 | ;; pointer-keybinds respecting commands |
| 29 | #:spawn-command #:close-command #:hide-command |
| 30 | #:raise-command #:lower-command |
| 31 | ;; mousebinds-mixin |
| 32 | #:mousebinds-mixin #:mouse-bindings #:grab-buttons #:drag |
| 33 | #:drag-function |
| 34 | ;; mousebinds respecting commands |
| 35 | #:drag-move #:drag-resize |
| 36 | ;; warp-pointer-mixin |
| 37 | #:warp-pointer-mixin #:warp-pointer-client #:client-pointer |
| 38 | ;; alt-tab-ring-mixin |
| 39 | #:alt-tab-ring-mixin #:client-ring #:ring-cycle |
| 40 | #:cycle-forward #:cycle-backward |
| 41 | ;; screen-geometry-mixin |
| 42 | #:screen-geometry-mixin #:screen-areas #:reserved-edges |
| 43 | #:screen-geometry-changed #:area-at #:work-area |
| 44 | #:geometry-bounds #:constrain-move #:constrain-resize |
| 45 | ;; screen-geometry using commands |
| 46 | #:bounded-drag-move #:bounded-drag-resize |
| 47 | ;; pointer-placement-mixin |
| 48 | #:pointer-placement-mixin |
| 49 | ;; maximize-mixin |
| 50 | #:maximize-mixin #:maximizable-client #:client-maximized |
| 51 | #:maximized-axes #:toggle-maximize #:maximize-state-changed |
| 52 | ;; maximize-mixin using commands |
| 53 | #:maximize-command #:vmaximize-command #:hmaximize-command |
| 54 | ;; drawing helpers |
| 55 | #:color #:drawable-text |
| 56 | ;; modal-commands-mixin |
| 57 | #:modal-commands-mixin |
| 58 | #:modal-window #:modal-window-window #:modal-x #:modal-y |
| 59 | #:draw-modal #:modal-key-press #:modal-button-press |
| 60 | #:menu #:menu-prompt #:menu-items #:menu-input #:menu-selection |
| 61 | #:menu-matches #:run-menu |
| 62 | #:menu-font-name #:menu-colors |
| 63 | #:exec-menu-command #:window-menu-command |
| 64 | ;; ewmh-mixin |
| 65 | #:ewmh-mixin #:ewmh-supported |
| 66 | ;; ewmh-maximize-mixin |
| 67 | #:ewmh-maximize-mixin |
| 68 | ;; example: reparenting mixin |
| 69 | #:reparenting-mixin #:framed-client #:client-frame #:frame-font-name |
| 70 | #:frame-colors |
| 71 | ;; example: tiling mixin |
| 72 | #:tiling-mixin #:tile-order #:master-fraction #:layout-clients |
| 73 | #:retile #:promote-command)) |