UI: Allow eyedropper outside of Blender (X11) #111493

Manually merged
Campbell Barton merged 1 commits from vitorboschi/blender:feature/eyedropper_x11 into main 2023-08-26 09:21:20 +02:00

1 Commits

Author SHA1 Message Date
Vitor Boschi 295db2011d UI: Allow eyedropper outside of Blender (X11)
Implements the `GHOST_GetPixelAtCursor` for the X11 backend, allowing
the user to sample any color displayed on the screen.

There are a few known issues/limitations at the moment:
- Blender has no control of the cursor outside of its window, so it is
  not going to be the eyedropper icon.
- Ghost does not report click events from outside of the window, so the
  user needs to press Enter instead.

Ref #111303
2023-08-24 19:18:33 -03:00