From ce99d093c49d097a1c124b2d111ffe49db63116b Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Sun, 1 Dec 2024 11:55:46 +0100 Subject: [PATCH] screen grab: if draw crosshair is enabled and a screen grab is done show default mouse pointer --- src/callback.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/callback.c b/src/callback.c index 36de9196..bdfc4b0b 100644 --- a/src/callback.c +++ b/src/callback.c @@ -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; }