xosd_set_pos(3)
β¨ xosd_set_pos β the xosd library manual, bestie edition β¨
okay so we're in the xosd_set_pos(3) page of the Library Functions Manual, and honestly? it's giving "tiny function, big main character energy." let's get into it π
π NAME π
xosd_set_pos β change the position of the XOSD window π
like. you had a spot. now you want a different spot. this is the function for that. periodt.
πΈ SYNOPSIS πΈ
#include <xosd.h>
int xosd_set_pos (xosd* osd, xosd_pos pos);
yes bestie, that's the whole thing. two args, one int back. no cap. π¦
π DESCRIPTION π
xosd_set_pos changes the position of the XOSD window β the one that was initially set way back when xosd_init(3) got called. so if you woke up and chose a different vibe for where your on-screen display lives, this is the glow-up button. β¨
π ARGUMENTS π
osdβ the on-screen display object we're acting on. your lil osd bb. π«Άposβ one ofXOSD_toporXOSD_bottom(that's the top of the screen or the bottom of the screen, respectively). literally just two options. pick your fighter. π₯
β RETURN VALUE β
On success, a zero is returned. On error, -1 is returned. that's it. that's the tea. π
ngl,0= slay,-1= not slay. there is no in-between, she does not do nuance. π
π SEE ALSO π
xosd_init(3)xosd_set_offset(3)
go read those too, bestie, they're part of the same friend group iykyk π
X OSD Library Β· 2002-06-25 β mwah, that's the source, the version, and the date all wrapped up in a lil bow π tysm for reading, ily, go position something iconic π§π
π¦ 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