[StumpWM] Fix issue with selecting bluetooth device
This commit is contained in:
parent
993cae429d
commit
8cebd9636e
@ -1769,11 +1769,11 @@ then attempt to connect to it.
|
|||||||
(sb-thread:make-thread
|
(sb-thread:make-thread
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(let* ((devices (bluetooth-get-devices))
|
(let* ((devices (bluetooth-get-devices))
|
||||||
(choice (cdr (stumpwm:select-from-menu
|
(choice (cadr (stumpwm:select-from-menu
|
||||||
(stumpwm:current-screen)
|
(stumpwm:current-screen)
|
||||||
(mapcar (lambda (device)
|
(mapcar (lambda (device)
|
||||||
`(,(bluetooth-device-full-name device) ,device))
|
`(,(bluetooth-device-full-name device) ,device))
|
||||||
devices)))))
|
devices)))))
|
||||||
(bluetooth-connect-device choice)))))
|
(bluetooth-connect-device choice)))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user