~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stop throwing out the Connection panel during midsession reconfig.
[sgt/putty]
/
terminal.c
diff --git
a/terminal.c
b/terminal.c
index
d62c8cd
..
2191192
100644
(file)
--- a/
terminal.c
+++ b/
terminal.c
@@
-211,6
+211,7
@@
void term_update(void) {
seen_disp_event = seen_key_event = 0;
}
do_paint (ctx, TRUE);
seen_disp_event = seen_key_event = 0;
}
do_paint (ctx, TRUE);
+ sys_cursor(curs_x, curs_y + (scrtop - disptop) / (cols+1));
free_ctx (ctx);
}
}
free_ctx (ctx);
}
}
@@
-1695,7
+1696,7
@@
static int linecmp (unsigned long *a, unsigned long *b) {
* Given a context, update the window. Out of paranoia, we don't
* allow WM_PAINT responses to do scrolling optimisations.
*/
* Given a context, update the window. Out of paranoia, we don't
* allow WM_PAINT responses to do scrolling optimisations.
*/
-static void do_paint (Context ctx, int may_optimise){
+static void do_paint (Context ctx, int may_optimise){
int i, j, start, our_curs_y;
unsigned long attr, rv, cursor;
char ch[1024];
int i, j, start, our_curs_y;
unsigned long attr, rv, cursor;
char ch[1024];
@@
-2000,7
+2001,7
@@
void term_mouse (Mouse_Button b, Mouse_Action a, int x, int y) {
}
q = lineend + 1; /* start of next line */
}
}
q = lineend + 1; /* start of next line */
}
- write_clip (selspace, p - selspace);
+ write_clip (selspace, p - selspace
, FALSE
);
selstate = SELECTED;
} else
selstate = NO_SELECTION;
selstate = SELECTED;
} else
selstate = NO_SELECTION;