Open KoFish opened 12 years ago
I think I prefer returning a Screen (for all functions), do you have a preference?
My life becomes much simpler if all functions returns the index of the screen. Anytime I need a Screen I can do that Xlib call (XScreenOfDisplay
I assume) rather than always having to deal with a pointer I don't need.
Other functions dealing with screens in libxdo uses only the integer index of screens while
xdo_get_window_location
returns X11'sScreen
structure, and only if the caller wants it. This breaks the convention used otherwise in the library.