Found a simpler workaround: lock the screen using xscreensaver. Of course I
have to type in my password to unlock it but it's better than putting the
laptop into standby.
Thanks,
Jö.
--
<ex-bart> seen die_MACHT
<Volk> I don't know who die_MACHT is.
Attached are the relevant parts lifted from xscreensaver. The program creates
a window covering the whole screen and sets the windows cursor to a cursor
created with XCreatePixmapCursor() from a 1x1 transparent pixmap. The window
is then briefly mapped so the mouse pointer enters it. After the window is
destroyed, the usual cursor is is visible again.
Creating the cursor with XCreateFontCursor() instead is not enough and I
haven't tried XCreateGlyphCursor().
To compile the program use
gcc -lX11 -o fix-x-cursor fix-x-cursor.c
Bye,
Jö.
--
F: Was ist der Sinn des Menschen?
A: Die Menschheit voranzubringen.
F: Aber was ist der Sinn der Menschheit?