fixed refocusing of the last focused client (add-last-focused-client!)
This commit is contained in:
+4
-2
@@ -32,8 +32,10 @@
|
||||
|
||||
(define (add-last-focused-client! wm data client)
|
||||
(let ((p (data:last-focused data)))
|
||||
(set-cdr! p (car p))
|
||||
(set-car! p client)))
|
||||
(if (not (eq? client (car p)))
|
||||
(begin
|
||||
(set-cdr! p (car p))
|
||||
(set-car! p client)))))
|
||||
|
||||
(define (init-switch-wm wm channel)
|
||||
(let* ((dpy (wm:dpy wm))
|
||||
|
||||
Reference in New Issue
Block a user