fix mouse cursor restore when exiting graph and crosshair (not full-size) enabled

This commit is contained in:
Stefan Schippers 2025-01-27 13:10:53 +01:00
parent 8df1aa9996
commit 56777a2944
2 changed files with 14 additions and 9 deletions

View File

@ -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