Finding the cursor

2015-10-09 Thread Alan Corey
I don't think I posted this before. The cursor changes depending what it's over, and if you've got something like an 1920x1080 screen full of mostly rxvt windows then most of the time it's an I-beam. That can be hard to spot if you've looked away or been away. MS Windows, XP at least, has an opt

Re: Finding the cursor

2015-10-09 Thread Alan Corey
re: Finding the cursor Oops, window manager is fvwm On 10/9/15, Alan Corey wrote: > I don't think I posted this before. > > The cursor changes depending what it's over, and if you've got > something like an 1920x1080 screen full of mostly rxvt windows then > most of the time it's an I-beam. Tha

X/Render, rotation transform, Src PICTOP: can I ignore pixels in the bounding box but outside the polygon?

2015-10-09 Thread Nigel Tao
I'm using X Render, and want to draw a playing card image onto my window, rotated (e.g. as part of a fan of cards in hand). For simplicity, suppose that playing cards are square and the rotation is by 45 degrees. The result is a diamond shape, so that in its bounding box, the pixels in (1) and out