Hi Devin, On Mon, 27 Jan 2020 at 22:53, Devin J. Pohly <[email protected]> wrote: > /* Option B */ > typedef struct { int x, y, w, h; } Dims; > int resizemons(Dims *dims, int n); > // finding unique geoms populates a Dims[]
Out of the options you came up with, this would be the only one I could imagine. The issue though is, that you'll end up transforming XineramaScreenInfo to Dims or hard-cast it to Dims (dangerous). Best regards, Anselm
