use "configure -cursor {}" instead of "configure -cursor arrow" to switch back mouse cursor to default when exiting graph
This commit is contained in:
parent
aa70d90c46
commit
cee4d218e2
|
|
@ -49,7 +49,7 @@ static int waves_selected(int event, KeySym key, int state, int button)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!is_inside) {
|
if(!is_inside) {
|
||||||
tclvareval(xctx->top_path, ".drw configure -cursor arrow" , NULL);
|
tclvareval(xctx->top_path, ".drw configure -cursor {}" , NULL);
|
||||||
if(xctx->graph_flags & 64) {
|
if(xctx->graph_flags & 64) {
|
||||||
tcleval("graph_show_measure stop");
|
tcleval("graph_show_measure stop");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -778,7 +778,7 @@ void int_hash_free(Int_hashtable *hashtable)
|
||||||
int_hash_free_entry( table[i] );
|
int_hash_free_entry( table[i] );
|
||||||
table[i] = NULL;
|
table[i] = NULL;
|
||||||
}
|
}
|
||||||
if(hashtable->table) my_free(1575, &(hashtable->table));
|
my_free(1575, &(hashtable->table));
|
||||||
hashtable->size = 0;
|
hashtable->size = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue