summaryrefslogtreecommitdiff
path: root/sysdata_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-05 23:27:17 -0400
committerPietro Gagliardi <[email protected]>2014-06-05 23:27:17 -0400
commit00ec85dee69130ac4294e71be45470324244324c (patch)
tree550606bc7559a4a9d65389618027d488f08bcf8f /sysdata_windows.go
parentbb44712fad85ad7262ab6b82b3056753e4f1f20e (diff)
Implemented code to save and restore control focus on Windows properly when switching away from/back to our program. It's disabled for now though because it doesn't seem to work...
Diffstat (limited to 'sysdata_windows.go')
-rw-r--r--sysdata_windows.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdata_windows.go b/sysdata_windows.go
index 16d625a..021b80a 100644
--- a/sysdata_windows.go
+++ b/sysdata_windows.go
@@ -21,6 +21,7 @@ type sysData struct {
areawidth int
areaheight int
clickCounter clickCounter
+ lastfocus _HWND
}
type classData struct {