Reviewers: nigeltao,
Message:
Hello
nige...@golang.org (cc:
ta...@googlegroups.com),
I'd like you to review this change to
https://code.google.com/p/taowm/
Description:
taowm: focus the frame under the mouse, when flipping the full screen
bit.
Please review this at
https://codereview.appspot.com/7086058/
Affected files:
taowm/actions.go
Index: taowm/actions.go
===================================================================
--- a/taowm/actions.go
+++ b/taowm/actions.go
@@ -388,6 +388,11 @@
func doFullscreen(k *workspace, _ interface{}) bool {
k.fullscreen = !k.fullscreen
+ if p, err := xp.QueryPointer(xConn, rootXWin).Reply(); err != nil {
+ log.Println(err)
+ } else {
+ k.focusFrame(k.frameContaining(p.RootX, p.RootY))
+ }
k.configure()
k.screen.repaint()
return false