XMISMOTIFWMRUNNING(3)

πŸ“¦
version 2.5.2 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 9, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’– XmIsMotifWMRunning πŸ’–

okay bestie, so this one lives in the library call section of the manual, and it's literally just one tiny function whose whole entire job is answering one (1) question: is the window manager running or not πŸŽ€


✨ NAME ✨

XmIsMotifWMRunning β€” a function that determines whether the window manager is running πŸ¦‹


🌸 SYNOPSIS 🌸

#include <Xm/Xm.h>
Boolean XmIsMotifWMRunning(
Widget shell);

πŸ’… DESCRIPTION πŸ’…

XmIsMotifWMRunning lets a user know whether the Motif Window Manager is running on a screen that contains a specific widget hierarchy. no cap, that's the whole vibe check πŸ‘‘

so here's the tea on how it does it, step by step, because the way that this function works is actually so cute:

  1. First, it looks to see whether the _MOTIF_WM_INFO property is present on the root window of the shell's screen. 🧚
  2. If it is present β€” slay β€” then its window field gets used to query for the presence of the specified window as a child of root. ✨
  • shell β€” Specifies the shell whose screen will be tested for mwm's presence. 🫢

🌈 RETURN 🌈

Returns True if MWM is running. periodt. πŸ’–

fr fr, that's it β€” True means yes, mwm is out there living its main character life. πŸ™ˆ

okay that's the whole page, no filler, we ate and left no crumbs πŸ“ this was the XmIsMotifWMRunning page from the library call manual β€” sending u love from the Xm girlies, stay iconic bestie πŸ’œπŸŒΈπŸ¦‹