fix mouse cursor restore when exiting graph and crosshair (not full-size) enabled
This commit is contained in:
parent
8df1aa9996
commit
56777a2944
|
|
@ -85,6 +85,8 @@ static int waves_selected(int event, KeySym key, int state, int button)
|
|||
if(draw_xhair) {
|
||||
if(tclgetintvar("crosshair_size") == 0) {
|
||||
tclvareval(xctx->top_path, ".drw configure -cursor none" , NULL);
|
||||
} else {
|
||||
tclvareval(xctx->top_path, ".drw configure -cursor {}" , NULL);
|
||||
}
|
||||
} else
|
||||
tclvareval(xctx->top_path, ".drw configure -cursor {}" , NULL);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue