commit | ecf753e7c962639ab5a1fb46f7da627d4c0a04b8 | [log] [tgz] |
---|---|---|
author | Oleku Konko <oleku.konko@gmail.com> | Sat Apr 12 22:01:45 2014 |
committer | Oleku Konko <oleku.konko@gmail.com> | Sat Apr 12 22:01:45 2014 |
tree | b6c279697e945e3083279d34385dba602734707f | |
parent | 225e4c2941ee797f0deded5f1c5644f2b39341f0 [diff] | |
parent | ec089c3efe3a81b3e00d397426a59fd4bd56b4d2 [diff] |
Merge pull request #2 from prasannavl/patch-1 Fix the co-ords on Windows according to WinAPI.
diff --git a/ts_windows.go b/ts_windows.go index 0dc4586..2f34d56 100644 --- a/ts_windows.go +++ b/ts_windows.go
@@ -55,8 +55,8 @@ return ws, err } - ws = Size{info.SrWindow.Right, - info.SrWindow.Bottom, + ws = Size{info.SrWindow.Bottom, + info.SrWindow.Right, info.DwCursorPosition.X, info.DwCursorPosition.Y}