projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only update the system caret when we have the focus. This was
[u/mdw/putty]
/
window.c
diff --git
a/window.c
b/window.c
index
865ff80
..
62e4be7
100644
(file)
--- a/
window.c
+++ b/
window.c
@@
-1665,7
+1665,8
@@
static LRESULT CALLBACK WndProc (HWND hwnd, UINT message,
* have one.)
*/
void sys_cursor(int x, int y) {
* have one.)
*/
void sys_cursor(int x, int y) {
- SetCaretPos(x * font_width, y * font_height);
+ if (has_focus)
+ SetCaretPos(x * font_width, y * font_height);
}
/*
}
/*