screen grab: if draw crosshair is enabled and a screen grab is done show default mouse pointer

This commit is contained in:
stefan schippers 2024-12-01 11:55:46 +01:00
parent 5ae730a5fb
commit ce99d093c4
1 changed files with 1 additions and 0 deletions

View File

@ -3008,6 +3008,7 @@ int rstate; /* (reduced state, without ShiftMask) */
#if defined(__unix__) && HAS_CAIRO==1
if(key == XK_Print) {
xctx->ui_state |= GRABSCREEN;
tclvareval(xctx->top_path, ".drw configure -cursor {}" , NULL);
tclvareval("grab set -global ", xctx->top_path, ".drw", NULL);
break;
}