Skip to content

Commit

Permalink
Ensure reparented windows get focus when resized or moved in the tiny…
Browse files Browse the repository at this point in the history
…wm module
  • Loading branch information
mwitmer committed Sep 27, 2013
1 parent e4a4b76 commit aab6d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/guile-wm/module/tinywm.scm
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

(define (on-button-press button-press)
(win (xref button-press 'child))
(set-focus (win))
(set-focus (assv-ref (reverse-reparents) (xid->integer (win))))
(if (not (= (xid->integer (win)) 0))
(on-window-click (win) button-press)))

Expand Down

0 comments on commit aab6d77

Please sign in to comment.