xosd_monitor(3)

✨ NAME ✨

xosd_monitor β€” moves an xosd object around so it chills on a specific physical monitor πŸ’…

It's a libXosd thing, so you already know it's cute. Manual page, section 3, library functions, iykyk.


🌸 SYNOPSIS 🌸

int xosd_monitor(xosd * osd, int monitor)

πŸ’– DESCRIPTION πŸ’–

okay so bestie, here's the tea β˜• β€” xosd_monitor takes the monitor you hand it and uses it to shift around your osd object's position and its alignment info. that's the whole vibe. reposition, realign, slay ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • osd β€” the on-screen display object whose assigned monitor you're modifying. your main character, basically πŸ‘‘
  • monitor β€” which monitor to put the on-screen display object on. counting starts at 1 and goes up to however many monitors you've got connected. yes, 1-indexed, not 0-indexed, no cap πŸ™ˆ

πŸ¦‹ RETURN VALUE πŸ¦‹

Returns 0 on success, -1 otherwise. that's it, that's the whole deal 🫢


🌈 ERRORS 🌈

If something goes wrong, xosd_monitor updates xosd_error, the global error string. so like, if you're confused, check the error string, she's telling you everything πŸ’€


⭐ AUTHOR ⭐

libXosd team at Western Washington University πŸ’œ


and that's the whole page, bestie!! written by the libXosd girlies, dated 2022-10-27, from the X OSD Library β€” go forth and reposition your monitors, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from