xosd_hide(3)
β¨ xosd_hide β bestie edition β¨
okay so this is the xosd_hide page from the XOSD Library manual, section 3 (library functions, iykyk). it's short, it's sweet, it's giving "one job, done perfectly." let's get into it π
πΈ NAME πΈ
xosd_hide β hide the XOSD window. that's it. that's the whole job. hide it. bye π
π¦ SYNOPSIS π¦
#include <xosd.h>
int xosd_hide (xosd* osd);
so you #include <xosd.h> at the top, then you call xosd_hide with your xosd* and it hands you back an int. simple. clean. iconic. β¨
π DESCRIPTION π
okay bestie, listen up: xosd_hide hides (which here means unmaps) the xosd window. it's not gone-gone, it's just not on screen anymore. like when you mute the group chat but you're still in it. π«Ά
and the moment you want it back? you call xosd_show(3) and boom, the window is visible again. one call out, one call back in. main character energy. π
now here's the tea on why you'd even do this. when you call xosd_display(3), the data stays on screen until the pre-set time has elapsed. that's the default behaviour, it just sits there vibing until the timer runs out. but if you're impatient (no judgement, same) you can call xosd_hide and the window gets prematurely removed from the display. timer said no, you said yes. π
π ARGUMENTS π
osdβ the on-screen display object to act on. this is your little guy. your osd. pointxosd_hideat it and it knows exactly who to hide. π
β RETURN VALUE β
- on success, a
0is returned. slay, we love a zero. π - on error,
-1is returned. π not slay. go check what happened.
π SEE ALSO π
the whole friend group, fr fr:
xosd_init(3)xosd_display(3)xosd_show(3)
heads up bestie: the window you're hiding only comes back if you explicitly callxosd_show(3).xosd_hidedoesn't un-hide itself. she's not a boomerang. π
that's the page!! sourced straight from the X OSD Library, dated 2002-06-25 β a vintage classic that still ate, honestly. periodt. ππ§πΈ
π¦ 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