DMXRemoveScreen(3)

πŸ“¦
version 1.1.5 Β· 2 versions
, in epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’– DMXRemoveScreen(3) πŸ’–

Library Functions Manual ✨ section 3, bestie, we're in the library functions girlies now πŸŽ€


🌸 NAME 🌸

DMXRemoveScreen β€” detach a back-end screen 🫢


✨ SYNOPSIS ✨

#include <X11/extensions/dmxext.h>

Bool DMXRemoveScreen(Display *dpy,
                     int screen);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so DMXRemoveScreen() detaches the back-end screen from the Xdmx(1) server. that's it. that's the whole vibe. it's giving "bye bestie, you're off the team" πŸ’…


πŸ‘‘ RETURN VALUE πŸ‘‘

DMXRemoveScreen() returns True on success πŸ’– and False when things are NOT giving. and like, it returns False in several situations, so let's list them because the way that this function is picky is lowkey iconic:

  • there were protocol errors 😭
  • the -addremovescreens command-line option was not specified on the Xdmx(1) command line πŸ™ˆ (fr fr, if you didn't opt in, she's not doing it)
  • the value of screen is out of range πŸ’€
  • the back-end screen specified by screen has already been detached πŸ‘»
bestie if you get False, check that list top to bottom before you spiral, no cap 🫢

🌈 SEE ALSO 🌈

  • DMXAddScreen(3) β€” the other half of the duo, the add to this remove ✨
  • DMX(3) β€” the main character of this whole saga πŸ‘‘
  • Xdmx(1) β€” the server herself πŸ’…

X Version 11 🌸 libdmx 1.1.5 🌸 and yeah this page is dated in the footer but we're keeping it cute: mwah, slay, go detach that screen responsibly, i love you, bye πŸ’–βœ¨πŸŽ€πŸ¦‹