diff options
-rw-r--r-- | st.c | 5 | ||||
-rw-r--r-- | x.c | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -495,7 +495,10 @@ selnormalize(void) return; i = tlinelen(sel.nb.y); if (i < sel.nb.x) - sel.nb.x = i; + { + sel.nb.x = 0; + sel.nb.y++; + } if (tlinelen(sel.ne.y) <= sel.ne.x) sel.ne.x = term.col - 1; } @@ -213,7 +213,7 @@ static void (*handler[LASTEvent])(XEvent *) = { * Uncomment if you want the selection to disappear when you select something * different in another window. */ -/* [SelectionClear] = selclear_, */ + [SelectionClear] = selclear_, [SelectionNotify] = selnotify, /* * PropertyNotify is only turned on when there is some INCR transfer happening |