update_selection doesn't modify select_info
This commit is contained in:
parent
46b739c9d6
commit
d9a2e7e42a
|
@ -79,7 +79,7 @@ void window_title_cb(VteTerminal *vte, GtkWindow *window) {
|
||||||
gtk_window_set_title(window, t ? t : "termite");
|
gtk_window_set_title(window, t ? t : "termite");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void update_selection(VteTerminal *vte, select_info *select) {
|
static void update_selection(VteTerminal *vte, const select_info *select) {
|
||||||
if (select->mode == SELECT_ON) {
|
if (select->mode == SELECT_ON) {
|
||||||
return; // not in visual mode
|
return; // not in visual mode
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue