-screen fails on Wayland + GNOME

G’MIC and GNOME on Wayland.

$ gmic -screen
[gmic]-0./ Start G'MIC interpreter.
[gmic]-0./ Take screenshot.X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  73 (X_GetImage)
  Serial number of failed request:  9
  Current serial number in output stream:  9

Sounds complicated to fix that. Add an API for taking screenshots and recording screencasts (#32) · Issues · wayland / wayland

To be honest, I’m expecting a lot of troubles with Wayland in the future.
I’m in no particular hurry to use it :slight_smile: