xosd_set_pos(3)
β¨ NAME β¨
xosd_set_align β bestie, this one changes the alignment of the XOSD window π
(it lives in the XOSD Library section of the manual pages, just so you know where you are π«Ά)
πΈ SYNOPSIS πΈ
#include <xosd.h>
int xosd_set_align (xosd* osd, xosd_align align);
okay so that's literally the whole vibe check: you hand it an osd object and an alignment, and it does the thing β¨
π DESCRIPTION π
xosd_set_align changes the alignment of the XOSD window. that's it, that's the function π
and here's the tea: the XOSD window is left aligned by default, so if you never call this, bestie, you're getting left. no cap.
π¦ ARGUMENTS π¦
osdβ the on-screen display object you're acting on. it's the main character here, the thing getting its alignment changed πposβ one ofXOSD_left,XOSD_centerorXOSD_right. that's left, center or right of the screen respectively, in case the names weren't giving it away π
β RETURN VALUE β
- on success, a zero comes back. iconic. we love a zero π
- on error, -1 comes back. not iconic, but at least you'll know π
π SEE ALSO π
xosd_init(3)xosd_set_offset(3)xosd_set_pos(3)xosd(3)
go read those too, they're all part of the same friend group π«Ά
okay that's the whole page, bestie, you're officially aligned π
X OSD Library, dated 2002-06-25, xosd_set_pos(3) β mwah, that's the source, the version and the date all wrapped up in a little bow πβ¨π
π¦ where this page comes from
- arch rolling: xosd 2.2.14-12 Β· GPL2
- debian bookworm: libxosd-dev 2.2.14-2.1+b1
- debian trixie: libxosd-dev 2.2.15-1 Β· GPL-2.0-or-later
- ubuntu jammy: libxosd-dev 2.2.14-2.1build1
- ubuntu noble: libxosd-dev 2.2.14-2.1build1
- ubuntu questing: libxosd-dev 2.2.15-1.1
- ubuntu resolute: libxosd-dev 2.2.15-1.1build1 Β· GPL-2.0-or-later
- ubuntu stonking: libxosd-dev 2.2.15-1.1build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms