XFIXES(3)

πŸ’– XFIXES πŸ’–

okay bestie, so this is XFixes β€” it's literally augmented versions of core protocol requests. like, the core X protocol but with a glow-up ✨


πŸ“œ NAME

XFixes β€” augmented versions of core protocol requests 🫢


πŸŽ€ SYNTAX

first things first, you gotta invite the header in:

#include <X11/extensions/Xfixes.h>

then here are your three besties, in all their exact glory:

Bool XFixesQueryExtension (Display *dpy,
     int *event_base_return, int *error_base_return);

Status XFixesQueryVersion (Display *dpy,
     int *major_version_return,
     int *minor_version_return);

void XFixesChangeSaveSet (Display *dpy,
     Window window,
     int mode,
     int target,
     int map);

πŸ¦‹ ARGUMENTS

  • display β€” the connection to the X server. your lil hotline to the server, basically πŸ’…
  • window β€” specifies which window. like, which one. be specific bestie 🎯
  • mode β€” the save set operation, and your only two choices are SetModeInsert / SetModeDelete ✨
  • target β€” the target when executing the save set: SaveSetNearest / SaveSetRoot. lemme break it down:
    • in SaveSetNearest mode, the save set member window gets reparented to the nearest window not owned by the save set client 🫢
    • in SaveSetRoot mode, the save set member window gets reparented to the root window πŸ‘‘
  • map β€” the map mode, SaveSetMap / SaveSetUnmap. this is the vibe check on whether the save set member window will be mapped or unmapped during save set processing 🌸

πŸ’œ DESCRIPTION

so Xfixes is a simple library designed to interface the X Fixes Extension. and what does that extension do? it provides your application with work arounds for various limitations in the core protocol 😭 (yes, the core protocol has flaws, we don't talk about it)


πŸ”₯ RESTRICTIONS

Xfixes will remain upward compatible after the 1.0 release. periodt. no cap, that's the whole restriction πŸ’€


πŸ‘‘ AUTHORS

  • Keith Packard, member of the XFree86 Project, Inc. and HP
  • Owen Taylor, member of the Gnome Foundation and Redhat, Inc.

absolute icons, both of them 🌈⭐


and that's the whole page, bestie!! this was X Version 11, libXfixes 6.0.1, the one and only XFIXES(3) β€” mwah, ily, go read the source πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from