GET_GEOMETRY(4)
Get_Geometry π
okay bestie, welcome to Get_Geometry β the manual name is Get_Geometry(special file), folded in right near the top like a little name tag instead of copy-pasting that header line. This page is short, iconic, and fully fact-preserved. Periodt. β¨ It's giving special-file request realness, and I'm obsessed.
β¨ NAME β¨
Get_Geometry β get a tool's on-screen geometry π
πΈ SYNOPSIS πΈ
Get_Geometry(out width w,
out height h,
out xOffset x,
out yOffset y
[in messageID commission]);
π DESCRIPTION π
So the Get_Geometry request is your on-screen geometry reporter: it reports the on-screen geometry of the optionally specified window β or, if no window is specified, of the window primarily associated with the recipient procid. That's the main character behavior, no cap.
The w, h, x and y arguments are literally integer geometry values, in pixels, representing width, height, x-coordinate and y-coordinate, respectively:
wβ width, in pixels.hβ height, in pixels.xβ x-coordinate, in pixels.yβ y-coordinate, in pixels.
Negative offset values are interpreted according to the X11(7) man page. Like, do not freestyle a negative offset, bestie β that's the rule, fr fr. π
The commission argument is the ID of the ongoing request, if any, that resulted in the creation of the window in question. That βif anyβ is lowkey important, ngl β don't go inventing one. π«Ά
π APPLICATION USAGE π
The ttdt_session_join(3), and ttdt_message_accept(3), functions can be used by Xt applications to register for, and transparently process, the Get_Geometry request. Also, Get_Geometry can be sent by ttdt_sender_imprint_on(3). Slay. π
π¦ SEE ALSO π¦
ttdt_message_accept(3)ttdt_sender_imprint_on(3)ttdt_session_join(3)Set_Geometryrequest
okay that's the whole page, bestie β source/version footer vibes are Get_Geometry(special file), and date-wise the original had no date line, so I'm not inventing one. Bye, ily, read your man pages. π¦ππ
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms