# CK Core Motif > Native Xt widgets, Unicode text layout and optional accessibility. ## Overview - [CK Core Motif](https://cklukas.github.io/ck-core-motif/index.html.md): CK Core Motif is a maintained fork of the Motif native Xt widget toolkit. It retains Motif's widget, resource and callback model while correcting build, selection, sizing and input defects and developing reusable native text and accessibility facilities. - [Fork history](https://cklukas.github.io/ck-core-motif/history.html.md): Native Unicode Text now recognizes whole CRLF and the other mandatory Unicode separators in source scanning/counting. - [Implementation and validation status](https://cklukas.github.io/ck-core-motif/status.html.md): The current ABI 9 appearance cohort is documented in modern integration qualification. - [Reference by topic](https://cklukas.github.io/ck-core-motif/reference-overview.html.md): This page is the starting point for the detailed Motif maintenance notes. - [Maintenance overview](https://cklukas.github.io/ck-core-motif/maintenance-overview.html.md): This page groups issue-focused notes by the kind of Motif behavior they affect. - [MWM and window-management overview](https://cklukas.github.io/ck-core-motif/mwm-overview.html.md): MWM is Motif's window manager and protocol layer. - [MWM workspace management](https://cklukas.github.io/ck-core-motif/mwm-workspace-manager.html.md): The default MWM build enables MWM_WSM, the standalone Motif workspace protocol used by demos/programs/workspace/wsm. ## Build - [Build and install](https://cklukas.github.io/ck-core-motif/build.html.md): The GitHub Pages workflow is intentionally scoped to documentation inputs. - [Native Wayland runtime backend](https://cklukas.github.io/ck-core-motif/wayland-backend.html.md): When built with --enable-wayland, libXm includes an optional XWayland-free Wayland runtime backend that allows unmodified Xlib/Xt/Motif applications to connect directly to a Wayland compositor (WAYLAN - [Hardening baseline and audit ledger](https://cklukas.github.io/ck-core-motif/hardening.html.md): CK Core Motif is a legacy C toolkit that is being audited for null-pointer, memory, overflow and unhandled-edge-case defects and brought to C23. - [Continuous integration](https://cklukas.github.io/ck-core-motif/ci.html.md): The workflow .github/workflows/build.yml runs on every push to master, on pull requests and on request (workflow_dispatch). - [Native ABI cohort](https://cklukas.github.io/ck-core-motif/abi.html.md): Development version 2.4.0 uses native ABI epoch 9. - [Documentation builds and publication](https://cklukas.github.io/ck-core-motif/documentation.html.md): The site builds only the focused Markdown tree under docs/, with explicit navigation in ckdocs.yml. ## Development - [WP-05: live modern component gallery](https://cklukas.github.io/ck-core-motif/modern-gallery-work-plan.html.md): Build and ship one maintained native demonstration application, tentatively named ckmotif-gallery, that is both a polished component gallery and an executable reference for every constructible CK Core - [Modern visual overhaul: implementation and acceptance](https://cklukas.github.io/ck-core-motif/modern-visual-overhaul.html.md): The implemented modern appearance cohort is being consolidated with the maintenance branch. - [Modern appearance integration qualification](https://cklukas.github.io/ck-core-motif/modern-integration-qualification.html.md): This cohort integrates toolkit-owned modern styling, natural control geometry, connected Notebook tabs, symmetric rounded drawing, refined scrollbars, SVG dialog glyphs, and the gallery and Periodic d - [Modern gallery component manifest](https://cklukas.github.io/ck-core-motif/modern-gallery-manifest.html.md): This document is the WP-05.0 inventory for the planned ckmotif-gallery. - [CK Core Motif component gallery](https://cklukas.github.io/ck-core-motif/modern-gallery.html.md): ckmotif-gallery is the maintained native reference application for the component inventory in modern-gallery-manifest.json. - [Buffered toolkit painting](https://cklukas.github.io/ck-core-motif/buffered-painting.html.md): Toolkit-owned full-frame controls paint through their normal Xt expose methods into a back buffer and present only the completed frame. - [CK Core Motif component catalogue](https://cklukas.github.io/ck-core-motif/modern-gallery-components.html.md): This catalogue is generated from the gallery manifest. - [Periodic Table as a toolkit appearance reference](https://cklukas.github.io/ck-core-motif/periodic-modern-appearance.html.md): The menu action guide covers working document, clipboard, search, wrapping, direction, calendar, help and local message actions. - [Gallery startup appearance and scale](https://cklukas.github.io/ck-core-motif/gallery-startup-profile.html.md): The gallery applies an explicitly requested appearance profile and display scale immediately after opening its display and before creating child widgets. - [Demo help dialogs](https://cklukas.github.io/ck-core-motif/demo-help.html.md): File Manager and other Xmd demos share the XmdHelp widget. ## APIs - [Unicode text and input](https://cklukas.github.io/ck-core-motif/unicode.html.md): configure enables the shared ICU/HarfBuzz layout pipeline automatically when Xft, ICU, and HarfBuzz development files are present (--enable-unicode-text, default=auto; pass --enable-xft --enable-unico - [Native accessibility](https://cklukas.github.io/ck-core-motif/accessibility.html.md): provides a native semantic-provider layer. - [Reusable native components](https://cklukas.github.io/ck-core-motif/components.html.md): Reusable widgets belong in the toolkit when their interaction, geometry, keyboard behavior and semantic contract are useful across independent Xt applications. - [Keyboard activation and release timers](https://cklukas.github.io/ck-core-motif/button-timers.html.md): ArrowButton, ArrowButtonGadget and push-enabled DrawnButton keep one pending release-animation timeout during repeated keyboard activation. - [PanedWindow keyboard sash batching](https://cklukas.github.io/ck-core-motif/paned-keyboard.html.md): XmPanedWindow batches keyboard sash movements during the display's multi-click interval. - [ComboBox selection after item deletion](https://cklukas.github.io/ck-core-motif/combo-deletion.html.md): When XmComboBoxDeletePos deletes the selected item and other items remain, the ComboBox selects its successor. - [DataField wide-text conversion](https://cklukas.github.io/ck-core-motif/datafield-wide-text.html.md): DataField supports the public access-text trait for callers that exchange XmFORMAT_WCS text. - [DataField full-GC clipping bounds](https://cklukas.github.io/ck-core-motif/datafield-full-gc-bounds.html.md): The DataField full-widget clip rectangle now uses a widened inset and an explicit empty-content check. - [DataField display-rectangle bounds](https://cklukas.github.io/ck-core-motif/datafield-display-rect-bounds.html.md): The DataField display-rectangle callback now mirrors the hardened TextField contract. - [DataField position geometry](https://cklukas.github.io/ck-core-motif/datafield-position-geometry.html.md): DataField caret-position conversion now keeps the right-aligned origin and baseline arithmetic in signed 64-bit values before converting back to X11 Position. - [DataField timer edge bounds](https://cklukas.github.io/ck-core-motif/datafield-timer-edge-bounds.html.md): DataField autoscroll now computes its text edges in signed int64_t values. - [Container tab-list ownership](https://cklukas.github.io/ck-core-motif/container-tabs.html.md): Dynamic Container detail tabs are now created in per-call storage. - [Container none-style placement bounds](https://cklukas.github.io/ck-core-motif/container-place-none-bounds.html.md): XmContainer none-style placement now computes its usable right and bottom edges in signed 64-bit arithmetic. - [Container grid placement bounds](https://cklukas.github.io/ck-core-motif/container-place-grid-bounds.html.md): Container grid placement now compares candidate child rectangles with signed wide content edges. - [Non-text Unicode qualification](https://cklukas.github.io/ck-core-motif/nontext-unicode.html.md): The installed-prefix regression covers Unicode values through the public Label, List, ComboBox, Menu, FileSelection, MessageBox and SelectionBox APIs. - [Notebook page ordering](https://cklukas.github.io/ck-core-motif/notebook-order.html.md): Notebook children are sorted by page number before public page lookup. - [Theme configuration](https://cklukas.github.io/ck-core-motif/theme-configuration.html.md): This fork does not ship the historical XmThemes implementation. - [Button-type resource conversion](https://cklukas.github.io/ck-core-motif/button-type-conversion.html.md): The XmRButtonType converter now rejects empty tokens in comma-separated resource values. - [Charset-table resource conversion](https://cklukas.github.io/ck-core-motif/charset-table-conversion.html.md): XmRCharSetTable values are positional tables. - [KeySym-table resource conversion](https://cklukas.github.io/ck-core-motif/keysym-table-conversion.html.md): XmRKeySymTable values are positional tables. - [String-table resource conversion](https://cklukas.github.io/ck-core-motif/string-table-conversion.html.md): XmRStringTable now preserves an empty final field after a trailing comma, matching its existing handling of interior empty fields. - [Cardinal-list resource conversion](https://cklukas.github.io/ck-core-motif/cardinal-list-conversion.html.md): XmRCardinalList now parses values with range checks. - [XmString table conversion failures](https://cklukas.github.io/ck-core-motif/xmstring-table-conversion.html.md): XmStringToXmStringTable now clears its output pointer, rejects null input, and rolls back already-created entries when copying or slicing fails. - [XmPicture state-buffer growth](https://cklukas.github.io/ck-core-motif/picture-buffer.html.md): XmPictureState now grows its current-string buffer as accepted input is appended. - [Text source range bounds](https://cklukas.github.io/ck-core-motif/text-source-bounds.html.md): Legacy text-source conversion now checks XmTextPosition ranges before allocating or passing positions through the int-indexed source reader. - [Image scaling bounds](https://cklukas.github.io/ck-core-motif/image-scaling.html.md): Image-to-pixmap conversion validates source rectangles, scaled dimensions, row strides, and intermediate allocation sizes before creating the destination image or coordinate tables. - [UIL debug listing output](https://cklukas.github.io/ck-core-motif/uil-listing.html.md): The debug build of uil writes symbol and machine-code details through a small line accumulator. - [UIL locale charset input bounds](https://cklukas.github.io/ck-core-motif/uil-charset-input-bounds.html.md): sem_charset_lang_name compares the locale charset name selected by UIL's LANG handling with the compiler's known charset table. - [Disclosure sections](https://cklukas.github.io/ck-core-motif/disclosure.html.md): defines a native XmManager subclass for a collapsible section. ## Reference - [Accessibility D-Bus reply building](https://cklukas.github.io/ck-core-motif/accessibility-dbus-reply-building.html.md): The D-Bus adapter builds each method reply and each signal with dbus_message_iter_append_basic, dbus_message_iter_open_container and dbus_message_iter_close_container. - [AutoSuggestBox selected-position result](https://cklukas.github.io/ck-core-motif/autosuggest-selection-pointer.html.md): When a search result is committed, AutoSuggestBox obtains the selected List position and converts it to its zero-based item index. - [Avatar temporary drawing allocation](https://cklukas.github.io/ck-core-motif/avatar-pixmap-allocation.html.md): XmAvatar treats every temporary X drawable, graphics context, and XRender picture as fallible. - [Avatar](https://cklukas.github.io/ck-core-motif/avatar.html.md): XmAvatar is a non-interactive, additive presentation control for a person or entity marker. - [Badge](https://cklukas.github.io/ck-core-motif/badge.html.md): XmBadge is a non-interactive compact status presentation. - [Chip](https://cklukas.github.io/ck-core-motif/chip.html.md): XmChip is an opt-in compact label with an optional leading pixmap and an optional remove affordance. - [CommandPalette](https://cklukas.github.io/ck-core-motif/command-palette.html.md): XmCommandPalette is an opt-in, non-modal command chooser. - [DataField insert-selection target](https://cklukas.github.io/ck-core-motif/datafield-insert-target.html.md): A client can ask a DataField that owns a selection to insert another client's selection (the INSERT_SELECTION target). - [Deterministic display-scale override](https://cklukas.github.io/ck-core-motif/display-scale-override.html.md): now exposes an additive test/developer hook for simulating a display scale without changing the caller's X resource database: XmSetDisplayScaleOverride(display, 2.0); /* create or updat - [DNDDemo: drawing and drag-and-drop](https://cklukas.github.io/ck-core-motif/dnd-demo.html.md): DNDDemo demonstrates Motif's Uniform Transfer Model: color transfer onto a rectangle, rectangle move/copy, valid/invalid drop feedback, and cancellation. - [Drag-and-drop transfer qualification](https://cklukas.github.io/ck-core-motif/dnd-transfer-lifecycle.html.md): tests/automated/check-dnd-transfer.c is an installed-prefix consumer probe for the public Motif drag-and-drop transfer path. - [Drop-site lifecycle qualification](https://cklukas.github.io/ck-core-motif/dropsite-lifecycle.html.md): tests/automated/check-dropsite-lifecycle.c is an installed-prefix consumer probe for the public Motif drop-site contract. - [Editres protocol handler](https://cklukas.github.io/ck-core-motif/editres-wire-protocol.html.md): Any client of the X display can send a Motif application the Editres client message and then serve it a command through a selection, so everything in lib/Xm/EditresCom.c treats the request as untruste - [Exm demonstration build portability](https://cklukas.github.io/ck-core-motif/exm-demo-build.html.md): The Exm demonstration library is an educational example of Motif subclassing; it is not part of the libXm ABI. - [Modern Font Selector preview and live layout](https://cklukas.github.io/ck-core-motif/font-selector-modern.html.md): With Xft enabled, Modern Light and Modern Dark preview the selected font with antialiased scalable outlines. - [FontSelector sanitizer boundary](https://cklukas.github.io/ck-core-motif/fontselector-sanitizer-boundary.html.md): The installed widget regression was run with the AArch64 sanitizer-built libXm on uconsole on 2026-10-25. - [FormSection](https://cklukas.github.io/ck-core-motif/form-section.html.md): XmFormSection is a presentation-only manager with an owned header, an application-owned content host, and an optional footer. - [Gallery layout and dialog artwork validation](https://cklukas.github.io/ck-core-motif/gallery-ui-validation.html.md): The gallery refresh preserves native Motif controls and beveled surfaces while using readable render tables, consistent page spacing, a searchable navigation tree, populated examples and explicitly si - [IconLabel and Divider](https://cklukas.github.io/ck-core-motif/icon-label-divider.html.md): XmIconLabel and XmDivider are additive presentation controls for compact content layouts. - [Link](https://cklukas.github.io/ck-core-motif/link.html.md): XmLink is an application-dispatched link affordance. - [Mrm legacy font-list replacement cleanup](https://cklukas.github.io/ck-core-motif/mrm-fontlist-replacement-cleanup.html.md): Old UID font lists are converted into a newly allocated current-format list. - [UID files as untrusted input](https://cklukas.github.io/ck-core-motif/mrm-uid-input.html.md): A UID file is read by the resource manager (MrmOpenHierarchyPerDisplay, MrmFetch...) and everything in it comes from outside the process: offsets, sizes, counts and strings. - [Mrm wide-character fixup cleanup](https://cklukas.github.io/ck-core-motif/mrm-wide-character-fixup-cleanup.html.md): When Mrm converts a legacy wide-character literal, it allocates a temporary wide-character buffer before calling mbstowcs. - [MWM automation reply sizes](https://cklukas.github.io/ck-core-motif/mwm-automation-reply-size.html.md): GetAutomationData now checks every fixed-size and menu-label contribution before adding it to the reply size. - [MWM failed bitmap-cache loads](https://cklukas.github.io/ck-core-motif/mwm-bitmap-cache-failure-cleanup.html.md): GetBitmapIndex() reserves a cache slot before loading a named X bitmap. - [MWM button-event callback dispatch](https://cklukas.github.io/ck-core-motif/mwm-button-event-dispatch.html.md): MWM stores window-manager functions behind the public WmFunction signature, whose final argument is XEvent *. - [MWM command-tree allocation failures](https://cklukas.github.io/ck-core-motif/mwm-command-tree-allocation.html.md): mwm constructs the client-command tree from workspace-manager protocol messages. - [Unbounded client-command wildcard matching](https://cklukas.github.io/ck-core-motif/mwm-command-wildcard-growth.html.md): MWM client-command matching no longer stores wildcard segment positions in a fixed 100-entry stack array. - [MWM command window-list loop widths](https://cklukas.github.io/ck-core-motif/mwm-command-window-loop-width.html.md): Workspace-manager command messages carry a CARD32 count followed by that many window IDs. - [Safe rejection of invalid multibyte MWM command lines](https://cklukas.github.io/ck-core-motif/mwm-invalid-multibyte-line.html.md): When workspace-session support parses a command line supplied as an in-memory string, it now rejects a line whose first multibyte character is invalid before entering the byte-copy loop. - [MWM resource-key construction bounds](https://cklukas.github.io/ck-core-motif/mwm-resource-key-bounds.html.md): MWM builds several X resource keys from a screen name and up to three component names. - [MWM timestamp property event](https://cklukas.github.io/ck-core-motif/mwm-timestamp-property-event.html.md): GetTimestamp() asks X11 to generate a PropertyNotify event by appending zero property items to MWM's own WM_STATE. - [NumberBox value update clears invalid state](https://cklukas.github.io/ck-core-motif/numberbox-value-clears-invalid.html.md): When an application supplies a new NumberBox value through resources, or updates its range through the public setter, the widget now clears any stale invalid-entry state before formatting and redispla - [Working menus in Periodic](https://cklukas.github.io/ck-core-motif/periodic-menu-actions.html.md): Periodic's menus operate on the examples in the application. - [ProgressRing](https://cklukas.github.io/ck-core-motif/progress-ring.html.md): XmProgressRing is an additive compact progress presentation. - [Prompt text](https://cklukas.github.io/ck-core-motif/prompt.html.md): XmPrompt is a standalone, non-interactive presentation for placeholder or instructional text. - [Stable as-needed scrollbar fit](https://cklukas.github.io/ck-core-motif/scrolled-window-fit.html.md): An automatic ScrolledWindow with XmAS_NEEDED must keep a stable viewport when its work area grows to fill the currently visible width or height. - [SearchBox clear callback lifetime](https://cklukas.github.io/ck-core-motif/searchbox-clear-callback-lifetime.html.md): XmSearchBoxClear now snapshots both callback lists and the empty query before dispatching the cleared notification. - [SearchBox clear hit rectangle](https://cklukas.github.io/ck-core-motif/searchbox-clear-hit-rectangle.html.md): Pointer activation of the SearchBox clear control now uses a centered 20×20 hit rectangle, matching the compact clear glyph instead of treating the entire right-hand strip at every vertical coordinat - [SegmentedControl selection result](https://cklukas.github.io/ck-core-motif/segmented-selection-result.html.md): XmSegmentedControlSetSelectedIndex now returns whether the requested index is the actual resulting selection. - [Sidebar](https://cklukas.github.io/ck-core-motif/sidebar.html.md): XmSidebar is an opt-in bounded client-area composite. - [Simple drag and drop demo](https://cklukas.github.io/ck-core-motif/simpledrop.html.md): simpledrop demonstrates copying a number through Motif drag and drop. - [Skeleton loading presentation](https://cklukas.github.io/ck-core-motif/skeleton.html.md): XmSkeleton is a bounded placeholder for content that is loading. - [StatusBar](https://cklukas.github.io/ck-core-motif/status-bar.html.md): XmStatusBar is an opt-in client-area status presentation. - [Teaching tip](https://cklukas.github.io/ck-core-motif/teaching-tip.html.md): XmTeachingTip is an opt-in, non-modal anchored presentation layered over the same Xt shell rules as XmFlyout. - [Toast notifications](https://cklukas.github.io/ck-core-motif/toast.html.md): XmToast is a per-instance, non-modal notification composite. - [ToggleSwitch action callback lifetime](https://cklukas.github.io/ck-core-motif/toggle-switch-action-lifetime.html.md): The ToggleSwitch action now delegates redraw to XmToggleSwitchSetState and does not touch the widget after the value-changed callbacks run. - [Toolbar](https://cklukas.github.io/ck-core-motif/toolbar.html.md): XmToolbar is an opt-in client-area action strip. - [WSM empty-collection decoding](https://cklukas.github.io/ck-core-motif/wsm-empty-collection-unpack.html.md): The WSM wire protocol represents empty extension, state, property, match, and window-entry lists with a zero count. - [Failed X requests](https://cklukas.github.io/ck-core-motif/x-reply-status.html.md): Several widgets ask the server for the size of a pixmap, the attributes of a window or the contents of an image. - [x86_64 native text qualification](https://cklukas.github.io/ck-core-motif/x86-text-qualification.html.md): The bounded x86_64 text result was produced on WSL2 with the installed toolkit prefix from the recorded x86_64 cohort: prefix: /mnt/v/tmp/ckmotif-x86-20261025/prefix-r1 receipt: /mnt/v/tmp/ckmotif-x86 ## Optional - [Motif 360 review](https://cklukas.github.io/ck-core-motif/360-review.html.md): This review covers the current ck-core-motif tree, its installed native ARM64 fixtures, and the build/tooling paths used by embedders. - [Accessibility journey and semantic coverage matrix](https://cklukas.github.io/ck-core-motif/accessibility-journey-matrix.html.md): This matrix separates protocol-level evidence from user-observable assistive technology behavior. - [Airport drag-and-drop demo](https://cklukas.github.io/ck-core-motif/airport-demo.html.md): Airport demonstrates real Motif drag-and-drop transfers. - [Appearance and scale object lifetime](https://cklukas.github.io/ck-core-motif/appearance-object-lifetime.html.md): Only Widgets and RectObj gadgets participate in appearance/scale registration. - [Appearance-profile contract](https://cklukas.github.io/ck-core-motif/appearance-profiles.html.md): The appearance API has two deliberately separate operations. - [AutoSuggestBox callback guards](https://cklukas.github.io/ck-core-motif/autosuggest-callback-guards.html.md): AutoSuggestBox callbacks can be reached while a popup or its client is being destroyed, and applications can also invoke callbacks without an event. - [AutoSuggestBox committed-position bounds](https://cklukas.github.io/ck-core-motif/autosuggest-commit-position-bounds.html.md): XmAutoSuggestBox converts the selected 1-based List position to a 0-based Cardinal before committing a suggestion. - [AutoSuggestBox popup lifecycle](https://cklukas.github.io/ck-core-motif/autosuggest-popup-lifecycle.html.md): AutoSuggestBox now checks popup-shell creation before constructing its list child. - [Avatar coordinate bounds](https://cklukas.github.io/ck-core-motif/avatar-coordinate-bounds.html.md): Avatar clamps the centered initials label before passing it to Motif's signed Position drawing arguments. - [Archived Bugfix and Hardening Notes (Part 2)](https://cklukas.github.io/ck-core-motif/bugfix-notes-archive-02.html.md): Consolidated archive of standalone bugfix and hardening validation notes. - [Archived Bugfix and Hardening Notes (Part 3)](https://cklukas.github.io/ck-core-motif/bugfix-notes-archive-03.html.md): Consolidated archive of standalone bugfix and hardening validation notes. - [Archived Bugfix and Hardening Notes (Part 4)](https://cklukas.github.io/ck-core-motif/bugfix-notes-archive-04.html.md): Consolidated archive of standalone bugfix and hardening validation notes. - [Archived Bugfix and Hardening Notes (Part 5)](https://cklukas.github.io/ck-core-motif/bugfix-notes-archive-05.html.md): Consolidated archive of standalone bugfix and hardening validation notes. - [Archived Bugfix and Hardening Notes (Part 6)](https://cklukas.github.io/ck-core-motif/bugfix-notes-archive-06.html.md): Consolidated archive of standalone bugfix and hardening validation notes. - [Archived Bugfix and Hardening Notes (Part 7)](https://cklukas.github.io/ck-core-motif/bugfix-notes-archive-07.html.md): Consolidated archive of standalone bugfix and hardening validation notes. - [Archived Bugfix and Hardening Notes (Part 8)](https://cklukas.github.io/ck-core-motif/bugfix-notes-archive-08.html.md): Consolidated archive of standalone bugfix and hardening validation notes. - [Bugfix Notes Archive 09](https://cklukas.github.io/ck-core-motif/bugfix-notes-archive-09.html.md): The AT-SPI NActions property is a signed 32-bit D-Bus integer, while Motif stores the action count as an unsigned value. - [Bugfix Notes Archive 10](https://cklukas.github.io/ck-core-motif/bugfix-notes-archive-10.html.md): XmFontSelector stores family and non-XLFD font counts in signed-short fields, even though an X server can report many more names. - [Bugfix Notes Archive 11](https://cklukas.github.io/ck-core-motif/bugfix-notes-archive-11.html.md): The low-level Mrm file opener now rejects null filename, output-name, and file handle pointers before dereferencing them. - [Bugfix Notes Archive 12](https://cklukas.github.io/ck-core-motif/bugfix-notes-archive-12.html.md): MakeIconPixmap() now checks XCreatePixmap() and XCreateGC() before using the resources. - [Bugfix Notes Archive 13](https://cklukas.github.io/ck-core-motif/bugfix-notes-archive-13.html.md): ScrollCursorVertically now returns without touching the line table when the table is unavailable or contains no lines. - [Bugfix Notes Archive 14](https://cklukas.github.io/ck-core-motif/bugfix-notes-archive-14.html.md): Compound String entries retain their byte count as an unsigned value, but the Xlib, Xmb, UTF-8, and Xft draw interfaces accept signed int lengths. - [Archived Bugfix and Hardening Notes](https://cklukas.github.io/ck-core-motif/bugfix-notes-archive.html.md): Consolidated archive of standalone bugfix and hardening validation notes. - [XmCalendar](https://cklukas.github.io/ck-core-motif/calendar.html.md): XmCalendar is an additive, date-only calendar widget. - [Chip highlight bounds](https://cklukas.github.io/ck-core-motif/chip-highlight-bounds.html.md): The Chip highlight frame is now drawn only when both dimensions exceed twice the highlight thickness. - [Collection-widget query teardown guards](https://cklukas.github.io/ck-core-motif/collection-query-destroy-guards.html.md): Row Actions, Command Palette, Status Bar, Toolbar, Segmented Control, and Tree View now make their public collection queries no-ops while destruction is in progress. - [ColorPicker coordinate bounds](https://cklukas.github.io/ck-core-motif/color-picker-coordinate-bounds.html.md): ColorPicker clamps its hexadecimal value label before passing it to Motif's signed Position drawing arguments. - [ColorPicker event guards](https://cklukas.github.io/ck-core-motif/colorpicker-event-guards.html.md): ColorPicker validates its widget type and event pointer before handling mouse preview changes, keyboard commit/cancel, or channel adjustments. - [Command message argument allocation](https://cklukas.github.io/ck-core-motif/command-message-argument-allocation.html.md): Command and message-dialog argument allocation bounds ====================================================== The XmCreateCommand and message-dialog convenience constructors append an internal XmNdialo - [XmDataGrid](https://cklukas.github.io/ck-core-motif/data-grid.html.md): XmDataGrid is the released bounded table control from WP-27. - [DataGrid query teardown guards](https://cklukas.github.io/ck-core-motif/datagrid-query-destroy-guards.html.md): XmDataGrid mutators already decline work during Xt destruction. - [XmDatePicker](https://cklukas.github.io/ck-core-motif/date-picker.html.md): XmDatePicker is a compact date-only editor whose popup is an XmCalendar. - [Appearance of gallery-launched demos](https://cklukas.github.io/ck-core-motif/demo-launch-appearance.html.md): Every Open action snapshots the gallery's current appearance profile, density and effective widget scale. - [Desktop color-cell allocation failures](https://cklukas.github.io/ck-core-motif/desktop-color-cells-allocation.html.md): XmeGetDesktopColorCells builds a list of usable desktop colors, including standard icon colors. - [Legacy dialog teardown guards](https://cklukas.github.io/ck-core-motif/dialog-teardown-guards.html.md): XmFileSelectionBoxGetChild, XmFileSelectionDoSearch, XmSelectionBoxGetChild, XmMessageBoxGetChild, and the public Command helpers now return their established empty result or no-op once their parent w - [DialogShell name allocation width](https://cklukas.github.io/ck-core-motif/dialogshell-name-allocation-width.html.md): XmeCreateClassDialog measures the caller’s name plus the DialogShell suffix with snprintf. - [WP-04 control-metric audit](https://cklukas.github.io/ck-core-motif/dpi-control-metrics.html.md): tests/automated/check-dpi-control-metrics.c is an installed consumer that records default metrics outside the already-qualified indicator and SpinBox subset. - [Drag target-table allocation handling](https://cklukas.github.io/ck-core-motif/dragbs-targets-allocation-guards.html.md): ReadTargetsTable grows the process-local cache after validating the X property. - [Fast-subclass lookup sequencing](https://cklukas.github.io/ck-core-motif/fast-subclass.html.md): The non-threaded fast-subclass macros now keep the base-class extension pointer in a local variable for each call. - [Flyout](https://cklukas.github.io/ck-core-motif/flyout.html.md): XmFlyout is an additive, non-modal anchored popup handle. - [WP-10 Form and hierarchy diagnostic corpus](https://cklukas.github.io/ck-core-motif/form-layout-corpus.html.md): The WP-10 fixture is an installed-library consumer, not a test of private widget records. - [Image scaling allocation failures](https://cklukas.github.io/ck-core-motif/image-scaling-allocations.html.md): Scaled image rendering creates a temporary destination image and four coordinate tables. - [Image scaling destination coordinates](https://cklukas.github.io/ck-core-motif/image-scaling-coordinate-bounds.html.md): The private scaled-image path accepts signed X11 destination coordinates so an image can be clipped at the edge of a drawable. - [InfoBar](https://cklukas.github.io/ck-core-motif/info-bar.html.md): XmInfoBar is an additive inline information, warning or error banner. - [XmList query teardown guards](https://cklukas.github.io/ck-core-motif/list-query-destroy-guards.html.md): XmListItemExists, XmListItemPos, XmListGetKbdItemPos, XmListGetMatchPos, XmListGetSelectedPos, XmListYToPos, XmListPosToBounds, and XmListPosSelected return their established empty, not-found, or fals - [Maintenance review and suggested work](https://cklukas.github.io/ck-core-motif/maintenance-review.html.md): DatePicker and TimePicker now refresh their cached drawing graphics contexts when an application changes foreground or background resources through XtSetValues. - [MessageBox symbols follow the dialog palette](https://cklukas.github.io/ck-core-motif/messagebox-symbol-palette.html.md): Default dialog symbols are cached pixmaps rendered with the dialog's palette. - [modern-dark appearance profile](https://cklukas.github.io/ck-core-motif/modern-dark-profile.html.md): XmAPPEARANCE_MODERN_DARK is an opt-in resource-backed profile selected before widgets are created. - [WP-00 modernization baseline](https://cklukas.github.io/ck-core-motif/modernization-baseline.html.md): The WP-00 fixture is an installed-library consumer, not a source-tree unit test. - [FileSB filter-mask update allocation failure](https://cklukas.github.io/ck-core-motif/motif-filesb-filter-mask-update.html.md): When a File Selection Box refreshes its full-path filter field, it assembles a temporary directory-and-pattern string. - [FileSB item filter allocation failure](https://cklukas.github.io/ck-core-motif/motif-filesb-item-filter.html.md): When a File Selection Box restores its full-path filter field, it combines the current directory and pattern in a temporary buffer. - [FileSB qualified-mask allocation failure](https://cklukas.github.io/ck-core-motif/motif-filesb-qualified-mask.html.md): File Selection Box search qualification builds a combined directory and pattern mask before invoking the directory and file search callbacks. - [FileSB resource-change filter-mask allocation failure](https://cklukas.github.io/ck-core-motif/motif-filesb-resource-filter-mask.html.md): When directory navigation updates the File Selection Box resources, the full path filter field is rebuilt from temporary directory and pattern strings. - [FileSB full-path value allocation failure](https://cklukas.github.io/ck-core-motif/motif-filesb-value-buffer.html.md): File Selection Box search qualification combines the current directory and typed filename for relative paths. - [SelectionBox compound-text conversion](https://cklukas.github.io/ck-core-motif/motif-selectionbox-compound-text.html.md): SelectionBox list selections received as COMPOUND_TEXT are converted to an XmString before updating the text child. - [Text TARGETS allocation failure](https://cklukas.github.io/ck-core-motif/motif-textsel-targets.html.md): Text selection conversion obtains a base target array before appending the formats supported by the current selection. - [MWM accelerator display-text bounds](https://cklukas.github.io/ck-core-motif/mwm-accelerator-text-bounds.html.md): MWM derives a visible accelerator label from parsed key syntax. - [MWM action-argument reallocation](https://cklukas.github.io/ck-core-motif/mwm-action-arg-reallocation.html.md): f.action parsing can expand environment-backed arguments and grow its argument vector. - [MWM argument-vector allocation](https://cklukas.github.io/ck-core-motif/mwm-argv-allocation.html.md): MWM keeps private copies of the process argument vector during initialization, including the WSM secondary-display copy. - [MWM automation menu-query initialization](https://cklukas.github.io/ck-core-motif/mwm-automation-menu-query-initialization.html.md): MWM's fixed-format menu automation replies retain one slot for each advertised menu button, including a button that is currently unmanaged. - [MWM backdrop-request path allocation](https://cklukas.github.io/ck-core-motif/mwm-backdrop-path-allocation.html.md): Workspace-manager backdrop-change requests copy the requested file path before loading the pixmap. - [MWM builtin binding buffer sizing](https://cklukas.github.io/ck-core-motif/mwm-binding-buffer-size.html.md): Builtin key and button bindings substitute the configured root-menu name into their format strings. - [MWM motif-bindings path sizing](https://cklukas.github.io/ck-core-motif/mwm-bindings-path-size.html.md): MWM derives the user binding-file path from the home-directory name and the .motifbind suffix. - [MWM bitmap-cache path allocation](https://cklukas.github.io/ck-core-motif/mwm-bitmap-cache-path-allocation.html.md): After resolving a bitmap path, MWM copies it into the per-screen bitmap cache. - [MWM catalog-string allocation](https://cklukas.github.io/ck-core-motif/mwm-catalog-allocation.html.md): Localized MWM menu and title strings now share a checked copy helper. - [MWM client-command label allocation](https://cklukas.github.io/ck-core-motif/mwm-client-command-label-allocation.html.md): Client-command parsing normalizes an input stream before storing it as a menu label. - [MWM client-message initialization](https://cklukas.github.io/ck-core-motif/mwm-client-message-initialization.html.md): X11 client-message events always carry five 32-bit payload words, even where a particular Motif protocol uses only one, two, or three. - [MWM client workspace-list allocation](https://cklukas.github.io/ck-core-motif/mwm-client-workspace-list-allocation.html.md): When WSM support is enabled, each managed client receives a workspace-data array sized from the screen resource configuration. - [MWM colormap-reference array width](https://cklukas.github.io/ck-core-motif/mwm-colormap-reference-width.html.md): Per-window colormap reference lists grow as clients register references. - [MWM command window-array width](https://cklukas.github.io/ck-core-motif/mwm-command-window-array-width.html.md): WSM Include, Enable, Disable, Rename, and Remove commands receive window counts from the protocol. - [MWM session database-name allocation](https://cklukas.github.io/ck-core-motif/mwm-db-name-allocation.html.md): MWM reserves extra capacity for the numeric suffix appended when it writes successive session database files. - [MWM session database suffix updates](https://cklukas.github.io/ck-core-motif/mwm-db-name-suffix.html.md): Session database names now increment a numeric suffix with checked conversion and bounded formatting. - [MWM default-menu allocation](https://cklukas.github.io/ck-core-motif/mwm-default-menu-allocation.html.md): MWM assembles the localized default system menu before copying it into the resource string used by the menu parser. - [MWM display-string bounds](https://cklukas.github.io/ck-core-motif/mwm-display-string-bounds.html.md): Per-screen MWM display strings are derived from the X display name and screen number. - [MWM double-click time validation](https://cklukas.github.io/ck-core-motif/mwm-double-click-time.html.md): doubleClickTime is an integer resource while X11 event timestamps are unsigned. - [MWM desktop-request queue ownership](https://cklukas.github.io/ck-core-motif/mwm-dt-request-queue-ownership.html.md): _DT_WM_REQUEST is a property on each screen's workspace window. - [MWM embedded transient and panel availability](https://cklukas.github.io/ck-core-motif/mwm-embedded-transient-leader.html.md): When an embedded front-panel client owns a transient, MWM may replace the embedded client with the front-panel client as the transient leader. - [MWM diagnostic allocation widths](https://cklukas.github.io/ck-core-motif/mwm-error-allocation-widths.html.md): MWM’s X I/O and workspace warning handlers format diagnostic strings with snprintf. - [MWM X-error format allocation](https://cklukas.github.io/ck-core-motif/mwm-error-format-allocation.html.md): In DEBUG builds, MWM copies Xlib error-format strings returned into a caller buffer by XGetErrorDatabaseText. - [MWM feedback catalog allocation](https://cklukas.github.io/ck-core-motif/mwm-feedback-allocation.html.md): Confirmation-dialog strings loaded from the message catalog now use checked allocation sizing. - [MWM font-warning allocation widths](https://cklukas.github.io/ck-core-motif/mwm-font-warning-allocation.html.md): When MWM cannot obtain the default appearance font, it formats a localized diagnostic containing the font list before reporting the error. - [MWM graphics-list allocation](https://cklukas.github.io/ck-core-motif/mwm-graphics-list-allocation.html.md): MWM frame drawing grows arrays of XRectangle values through RList. - [MWM help-argument declaration](https://cklukas.github.io/ck-core-motif/mwm-help-args-declaration.html.md): WmResParse.h now declares WmDtGetHelpArgs with the same spelling and output-buffer pointer types as its implementation. - [MWM hints read guards](https://cklukas.github.io/ck-core-motif/mwm-hints-read-guards.html.md): GetMwmHints now accepts a property only when it has the expected 32-bit format and at least the complete base Motif hints item count. - [MWM home-directory path bounds](https://cklukas.github.io/ck-core-motif/mwm-home-path.html.md): The legacy home-directory resolver now formats $HOME and passwd-derived paths into its fixed MAXWMPATH buffer with bounded output. - [MWM icon-box geometry ownership](https://cklukas.github.io/ck-core-motif/mwm-iconbox-geometry-ownership.html.md): Workspace resource processing needs an owned copy of iconBoxGeometry because the resource value may be released during workspace renaming. - [MWM executable identity basename](https://cklukas.github.io/ck-core-motif/mwm-identity-basename.html.md): MWM distinguishes mwm from dtwm using the executable name. - [MWM info read guards](https://cklukas.github.io/ck-core-motif/mwm-info-read-guards.html.md): GetMwmInfo now accepts the root _MOTIF_WM_INFO property only when its format is 32-bit, its item count matches the expected structure, X11 reports a complete result, and the payload is non-null. - [MWM inline-menu allocation widths](https://cklukas.github.io/ck-core-motif/mwm-inline-menu-allocation.html.md): When MWM expands an inline menu command, it first asks snprintf for the formatted length and then allocates the command and function-argument strings. - [MWM keyboard-state mask typing](https://cklukas.github.io/ck-core-motif/mwm-keyboard-state-mask.html.md): MWM removes locking modifiers and the XKB keyboard-group bits from incoming keyboard and pointer state before matching bindings. - [MWM locale-copy allocation](https://cklukas.github.io/ck-core-motif/mwm-locale-allocation.html.md): The MWM configuration loader now checks the locale string length before converting it to Xt's Cardinal allocation size. - [MWM menu argument allocation](https://cklukas.github.io/ck-core-motif/mwm-menu-args-allocation.html.md): Formatted menu-function arguments now verify their size_t length before converting it to Xt's Cardinal allocation size. - [MWM menu query array bounds](https://cklukas.github.io/ck-core-motif/mwm-menu-array-bounds.html.md): MWM menu-query replies use fixed arrays sized by MAX_MENU_ITEMS. - [MWM menu-item allocation](https://cklukas.github.io/ck-core-motif/mwm-menu-item-allocation.html.md): MWM constructs menu items from resource strings. - [MWM menu-pane name allocation](https://cklukas.github.io/ck-core-motif/mwm-menu-pane-name-allocation.html.md): Resource parsing now measures a menu-pane name before copying it into the MenuSpec. - [MWM menu-spec copy failure handling](https://cklukas.github.io/ck-core-motif/mwm-menu-spec-copy-failure.html.md): Custom-menu duplication depends on complete item and exclusion copies. - [MWM network-file fallback](https://cklukas.github.io/ck-core-motif/mwm-network-file-fallback.html.md): When ToolTalk resource-path expansion cannot tokenize a host:file name, MWM falls back to a private writable copy before separating the host and file at the colon. - [MWM network-file path sizing](https://cklukas.github.io/ck-core-motif/mwm-network-path-size.html.md): MWM expands host:~/path and local ~/path configuration references using the user's home directory. - [MWM catalog-string allocation](https://cklukas.github.io/ck-core-motif/mwm-nls-string-allocation.html.md): Localized MWM titles and warning-format strings are copied because catgets may reuse its storage on the next lookup. - [MWM front-panel registration](https://cklukas.github.io/ck-core-motif/mwm-panel-registration.html.md): The embedded-client, push/recall-client, and icon-box registration callbacks resolve their panel widget through one checked managed-screen lookup. - [MWM preprocessor command bounds](https://cklukas.github.io/ck-core-motif/mwm-preprocess-command-bounds.html.md): When MWM preprocesses a configuration file, the configured preprocessor and two generated paths form one shell command. - [MWM property-array allocation](https://cklukas.github.io/ck-core-motif/mwm-property-array-allocation.html.md): WM protocol and _MWM_MESSAGES properties provide item counts from X11. - [MWM property element-count bounds](https://cklukas.github.io/ck-core-motif/mwm-property-count-width.html.md): Xlib's XChangeProperty accepts its element count as a signed int, while several MWM helpers receive an unsigned count or derive one from a byte span. - [MWM property-warning allocation widths](https://cklukas.github.io/ck-core-motif/mwm-property-warning-allocation.html.md): The shared WmWarningWithString helper formats localized property warnings with snprintf and allocates the resulting message through Xt. - [Mwm protocol allocation failure handling](https://cklukas.github.io/ck-core-motif/mwm-protocol-oom.html.md): Mwm creates per-screen atom arrays for the WM query and WM selection protocols. - [MWM push/recall launch timeout](https://cklukas.github.io/ck-core-motif/mwm-push-recall-timeout.html.md): Front-panel push/recall actions may use the optional busy-light widget's XmNclientTimeoutInterval resource to suppress repeated launch requests while the requested client starts. - [MWM query-XID buffer growth](https://cklukas.github.io/ck-core-motif/mwm-query-xid-growth.html.md): The _MOTIF_WM_QUERY_nn conversion path grows a temporary XID buffer in fixed increments. - [MWM restart-command allocation](https://cklukas.github.io/ck-core-motif/mwm-restart-command-allocation.html.md): Session management rebuilds the window manager restart command with the private database path. - [MWM restart-command failure recovery](https://cklukas.github.io/ck-core-motif/mwm-restart-command-failure.html.md): During session checkpointing, MWM builds an owned replacement for the session-manager restart command so that its current database path is present. - [MWM push-button array growth](https://cklukas.github.io/ck-core-motif/mwm-save-pbinfo-growth.html.md): Menu widget creation grows the array that tracks push buttons. - [MWM screen-name replacement safety](https://cklukas.github.io/ck-core-motif/mwm-screen-name-replacement.html.md): MWM now stages replacement allocations for its generated per-screen names and the temporary workspace-name pointer array. - [MWM screen-warp warning allocation widths](https://cklukas.github.io/ck-core-motif/mwm-screen-warp-warning-allocation.html.md): The f.screen command reports an unmanaged-screen target with a formatted warning. - [MWM session client-ID bounds](https://cklukas.github.io/ck-core-motif/mwm-session-client-id-bounds.html.md): ProcessSmClientID reads a bounded X11 SM_CLIENT_ID property and copies it into MWM-owned storage. - [MWM session-command parsing rollback](https://cklukas.github.io/ck-core-motif/mwm-session-command-rollback.html.md): Session restore commands are first tokenized into a temporary vector and then copied into the persistent session record. - [MWM session command-vector width](https://cklukas.github.io/ck-core-motif/mwm-session-command-vector-width.html.md): Session restore parsing grows a temporary vector of command-argument pointers and later copies it into the session record. - [MWM session geometry persistence](https://cklukas.github.io/ck-core-motif/mwm-session-geometry.html.md): MWM persists restored client geometry with signed %d resource values. - [MWM missing session values](https://cklukas.github.io/ck-core-motif/mwm-session-missing-values.html.md): CDE session records are input. - [MWM WSM session-file path bounds](https://cklukas.github.io/ck-core-motif/mwm-session-path.html.md): WSM session save and restore paths now use size-safe length checks and bounded formatting. - [MWM session workspace and host string sizing](https://cklukas.github.io/ck-core-motif/mwm-session-string-size.html.md): Session restore records copy workspace lists and client host names into Xt storage. - [MWM session workspace-string growth](https://cklukas.github.io/ck-core-motif/mwm-session-workspace-growth.html.md): WSM session save code joins inhabited workspace names into one temporary string. - [MWM standalone workspace contract](https://cklukas.github.io/ck-core-motif/mwm-standalone-wsm-contract.html.md): The standalone MWM_WSM workspace implementation sends workspace-manager messages and removes client commands when an owner changes. - [MWM localized system-menu allocation](https://cklukas.github.io/ck-core-motif/mwm-system-menu-allocation.html.md): The generated localized system-menu copy now checks its final string length before converting it to Xt's Cardinal allocation type. - [MWM transient-property refresh](https://cklukas.github.io/ck-core-motif/mwm-transient-property-reset.html.md): MWM reprocesses WM_TRANSIENT_FOR when a client changes or removes the property. - [MWM transient-tree traversal](https://cklukas.github.io/ck-core-motif/mwm-transient-tree-walk.html.md): Transient windows form a first-child/next-sibling tree. - [MWM virtual-key replacement allocation](https://cklukas.github.io/ck-core-motif/mwm-virtual-key-replacement-allocation.html.md): The optional HP/DIN virtual-key compatibility path validates the X keymap status and keycode/keysym count arithmetic before scanning. - [MWM command window-list allocation](https://cklukas.github.io/ck-core-motif/mwm-window-list-overflow.html.md): The MWM command protocol carries a caller-supplied count followed by window IDs. - [MWM workspace callback input lifecycle](https://cklukas.github.io/ck-core-motif/mwm-workspace-callback-inputs.html.md): The standalone MWM workspace protocol runs during startup, selection-owner changes, and asynchronous reply delivery. - [MWM workspace-list serialization](https://cklukas.github.io/ck-core-motif/mwm-workspace-list-serialization.html.md): WSM session saving serializes the workspaces inhabited by a client. - [MWM workspace-protocol allocation failures](https://cklukas.github.io/ck-core-motif/mwm-workspace-protocol-oom.html.md): The standalone MWM workspace-protocol bridge now treats allocation failure as a failed optional protocol operation rather than dereferencing a null result. - [MWM workspace-string allocation](https://cklukas.github.io/ck-core-motif/mwm-workspace-string-allocation.html.md): Workspace names and workspace-presence titles are now copied through the existing width-checked catalog-string helper. - [MWM workspace-title initialization rollback](https://cklukas.github.io/ck-core-motif/mwm-workspace-title-init-rollback.html.md): When MWM initializes workspace resources, it now publishes the copied title only after XmStringCopy succeeds. - [MWM workspace transient-tree traversal](https://cklukas.github.io/ck-core-motif/mwm-workspace-tree-walk.html.md): The standalone MWM workspace protocol may inspect every transient client when it answers WSM_GET_STATE, restores visibility after a workspace-manager change, or resolves a registered client window. - [MWM WSM help-record type](https://cklukas.github.io/ck-core-motif/mwm-wsm-help-type.html.md): Every WSM WmScreenData instance owns workspace-help state and initializes it regardless of whether the optional Panelist frontend is selected. - [MWM WSM initialization declarations](https://cklukas.github.io/ck-core-motif/mwm-wsm-init-declarations.html.md): WSM initialization directly configures the CDE backdrop search path and reads per-screen session hints. - [MWM WSM property declarations](https://cklukas.github.io/ck-core-motif/mwm-wsm-property-declarations.html.md): The WSM workspace-property writer directly uses Motif atom caching and the window manager's XmString conversion helper. - [MWM XSMP property-buffer ownership](https://cklukas.github.io/ck-core-motif/mwm-xsmp-property-ownership.html.md): MWM obtains proxy-client command and machine strings through Xlib property queries. - [NumberBox arrow coordinate bounds](https://cklukas.github.io/ck-core-motif/number-box-arrow-bounds.html.md): NumberBox now clamps its up/down arrow vertices before converting them to X11's signed 16-bit XPoint fields. - [NumberBox event guards](https://cklukas.github.io/ck-core-motif/number-box-event-guards.html.md): NumberBox validates its widget type and event pointer before processing pointer and keyboard value changes. - [NumberBox graphics-context setup](https://cklukas.github.io/ck-core-motif/number-box-gc-setup.html.md): NumberBox requires separate text, arrow, and invalid-state graphics contexts. - [NumberBox highlight bounds](https://cklukas.github.io/ck-core-motif/number-box-highlight-bounds.html.md): NumberBox now draws its focus/highlight frame only when both widget dimensions exceed twice the highlight thickness. - [PrintShell resolution parsing](https://cklukas.github.io/ck-core-motif/print-resolution.html.md): The PrintShell resource update path and ImageCache's print-scaling path accept the printer server's default-printer-resolution string. - [ProgressBar](https://cklukas.github.io/ck-core-motif/progress-bar.html.md): XmProgressBar is an additive, resource-driven progress control. - [Protocol-property element-count bounds](https://cklukas.github.io/ck-core-motif/protocol-property-count-width.html.md): The Motif protocol manager can grow beyond its historical fixed protocol buffer. - [RatingControl event guards](https://cklukas.github.io/ck-core-motif/rating-control-event-guards.html.md): RatingControl now validates its widget type and event pointer before handling pointer or keyboard input. - [RatingControl geometry guards](https://cklukas.github.io/ck-core-motif/rating-control-geometry-guards.html.md): XmRatingControl now handles zero-width and very small widgets without integer division by zero or unsigned rectangle-size underflow. - [RatingControl input arithmetic](https://cklukas.github.io/ck-core-motif/rating-input-arithmetic.html.md): RatingControl maps a button X coordinate to the configured rating count. - [Rendition warning name](https://cklukas.github.io/ck-core-motif/rendition-warning-name.html.md): Some internal rendition construction paths intentionally pass a null tag and let Motif substitute the default string tag. - [Screen client-list update guards](https://cklukas.github.io/ck-core-motif/screen-client-list-guards.html.md): The _MWM_CLIENT_LIST notification path now handles a missing screen, detached client entries, and allocation failure without writing through a null buffer. - [Automatic ScrolledWindow wheel input](https://cklukas.github.io/ck-core-motif/scrolled-window-wheel.html.md): XmAUTOMATIC ScrolledWindow instances scroll plain work-area content with the mouse wheel. - [Segmented gallery example](https://cklukas.github.io/ck-core-motif/segmented-gallery-example.html.md): The native gallery now supplies a three-item public model to its segmented control example. - [Spinner](https://cklukas.github.io/ck-core-motif/spinner.html.md): XmSpinner is a small indeterminate activity indicator for applications that need feedback while work is in progress. - [Status-bar layout allocation failure](https://cklukas.github.io/ck-core-motif/status-bar-layout-allocation.html.md): XmStatusBar uses a temporary priority array while selecting the items that fit in the current width. - [Stepper coordinate bounds](https://cklukas.github.io/ck-core-motif/stepper-coordinate-bounds.html.md): Stepper keeps its split geometry in signed int arithmetic and clamps the value and increment/decrement symbol labels before passing them to Motif's signed Position drawing arguments. - [Stepper event guards](https://cklukas.github.io/ck-core-motif/stepper-event-guards.html.md): Stepper validates its widget type and event pointer before handling pointer or keyboard increments. - [Stepper](https://cklukas.github.io/ck-core-motif/stepper.html.md): XmStepper presents a noneditable numeric value between native decrement and increment PushButtons. - [Clipboard storage and image input](https://cklukas.github.io/ck-core-motif/storage-and-images.html.md): X selection formats 8, 16 and 32 count logical items. - [Optional SVG image loading](https://cklukas.github.io/ck-core-motif/svg-images.html.md): The named images action_open, action_document, action_save, action_print, action_undo, action_picture and action_archive have a 24-pixel logical size. - [XmTimePicker](https://cklukas.github.io/ck-core-motif/time-picker.html.md): XmTimePicker edits a wall-clock value (hour, minute, second) in the closed ranges 0–23, 0–59, and 0–59. - [ToggleSwitch coordinate bounds](https://cklukas.github.io/ck-core-motif/toggle-switch-coordinate-bounds.html.md): ToggleSwitch clamps clip origins and extents before narrowing them to X11's signed/unsigned 16-bit XRectangle fields. - [MWM transient-window list growth](https://cklukas.github.io/ck-core-motif/transient-list-growth.html.md): Transient-tree enumeration grows a temporary window-ID list as it walks siblings and children. - [TreeView contract and decision record](https://cklukas.github.io/ck-core-motif/tree-view.html.md): XmTreeView is an additive model/view widget. - [UIL machine-code input and listing growth](https://cklukas.github.io/ck-core-motif/uil-machine-code-inputs.html.md): UIL now rejects a machine-code record with a missing nonempty byte buffer and does not append beyond the 16-bit source-record item count. - [UIL no-memmove fallback](https://cklukas.github.io/ck-core-motif/uil-mmove-fallback.html.md): On legacy targets without memmove, UIL’s _move compatibility helper now copies bytes forward or backward according to the overlap direction. - [Large UTF-8 clipboard round trips](https://cklukas.github.io/ck-core-motif/unicode-clipboard.html.md): The Motif clipboard stores format-8 data as bytes, so a Unicode round trip must preserve UTF-8 bytes across multi-request clipboard properties. - [Untrusted-input and legacy-subsystem hardening audit (WP-43)](https://cklukas.github.io/ck-core-motif/untrusted-input-audit-wp43.html.md): This note records the WP-43 input-validation, integer-overflow, and allocation/teardown-lifetime audit across the UIL binary database loader (clients/uil/UilDB.c), WML generator (tools/wml), the remai - [Value-control teardown guards](https://cklukas.github.io/ck-core-motif/value-control-destroy-guards.html.md): Calendar, date/time picker, toggle switch, skeleton, number box, spinner, progress bar/ring, and rating control APIs now avoid live state after Xt begins destroying their widget. - [Vendor input-method string rollback](https://cklukas.github.io/ck-core-motif/vendor-im-string-rollback.html.md): XmVendorShellExt now copies changed input-method and preedit-type strings before releasing their current values. - [WM_STATE read guards](https://cklukas.github.io/ck-core-motif/wmstate-read-guards.html.md): GetWMState now requires the expected 32-bit format, exact item count, complete X11 result, and non-null payload before returning a WM_STATE property. - [WSM atom initialization rollback](https://cklukas.github.io/ck-core-motif/wsm-atom-init-rollback.html.md): Display metadata now checks the status returned by XInternAtoms. - [WSM configuration rollback pointers](https://cklukas.github.io/ck-core-motif/wsm-config-clear-pointers.html.md): When a screen's WSM configuration is cleared, each attribute array is freed and its count reset. - [WSM configuration pointer lifetime](https://cklukas.github.io/ck-core-motif/wsm-config-pointer-lifecycle.html.md): Screen configuration records now initialize all attribute-array pointers to NULL. - [WSM configuration-reply allocation width](https://cklukas.github.io/ck-core-motif/wsm-config-reply-allocation-width.html.md): WSM configuration replies contain three wire-provided attribute arrays. - [WSM configuration reply arrays](https://cklukas.github.io/ck-core-motif/wsm-config-reply-arrays.html.md): Configuration reply packing now rejects a positive attribute count paired with a null attribute array before sizing or serializing the reply. - [WSM configuration-string failure](https://cklukas.github.io/ck-core-motif/wsm-config-string-oom.html.md): Configuration-format replies contain one allocated string per attribute. - [WSM extension array state](https://cklukas.github.io/ck-core-motif/wsm-extension-array-state.html.md): Request and reply packing now rejects a positive extension count paired with a null extension pointer array before sizing or indexing it. - [WSM extension sizing](https://cklukas.github.io/ck-core-motif/wsm-extension-size-null.html.md): Request and reply size calculations now use the same null-safe string length helper as the packer. - [WSM cleanup idempotence](https://cklukas.github.io/ck-core-motif/wsm-free-idempotent.html.md): FreeRequest and FreeReply now clear the common allocated flag after releasing owned storage. - [WSM cleanup null-safety](https://cklukas.github.io/ck-core-motif/wsm-free-null.html.md): FreeRequest and FreeReply now accept null handles and tolerate partially initialized count/pointer pairs during failure cleanup. - [WSM list-payload allocation width](https://cklukas.github.io/ck-core-motif/wsm-list-payload-allocation-width.html.md): WSM window-data records can carry lists of 8-, 16-, or 32-bit values. - [WSM nested array state](https://cklukas.github.io/ck-core-motif/wsm-nested-array-state.html.md): WSM request/reply packing now validates nested per-record arrays before size calculation. - [WSM message packing allocation](https://cklukas.github.io/ck-core-motif/wsm-pack-oom.html.md): WSM request and reply builders now check their output-buffer allocation before packing fields into it. - [WSM string packing](https://cklukas.github.io/ck-core-motif/wsm-pack-string-null.html.md): PackString now treats a null input as an empty string before measuring and packing it. - [WSM packer configuration failure](https://cklukas.github.io/ck-core-motif/wsm-packer-config-null.html.md): Request packing now checks all three configuration-format records before reading their counts. - [WSM configuration quark serialization](https://cklukas.github.io/ck-core-motif/wsm-quark-string-null.html.md): Configuration-format packing now converts quarks through a null-safe helper. - [WSM reply array state](https://cklukas.github.io/ck-core-motif/wsm-reply-array-state.html.md): Reply packing now rejects positive counts paired with null arrays for GET_STATE, REG_WINDOW, and WM-window entry replies. - [WSM reply callback lifecycle](https://cklukas.github.io/ck-core-motif/wsm-reply-callback-lifecycle.html.md): WSM reply callbacks are optional. - [WSM reply configuration metadata](https://cklukas.github.io/ck-core-motif/wsm-reply-config-null.html.md): WSM request and reply sizing and packing now reject missing or incomplete configuration metadata instead of dereferencing a null format record. - [WSM reply counts](https://cklukas.github.io/ck-core-motif/wsm-reply-counts.html.md): Reply packing now rejects negative and CARD16-unrepresentable list counts before sizing or indexing reply arrays. - [WSM null request context](https://cklukas.github.io/ck-core-motif/wsm-reply-null-context.html.md): The asynchronous WSM receive callbacks now return safely when the toolkit supplies no pending-request context. - [WSM null transfer data](https://cklukas.github.io/ck-core-motif/wsm-reply-null-data.html.md): The asynchronous WSM reply callback now handles a null selection callback structure as an internal transfer error. - [WSM request array state](https://cklukas.github.io/ck-core-motif/wsm-request-array-state.html.md): Request packing now validates positive counts and nested pointers for CONNECT, SET_STATE, and WM_WINDOWS requests before sizing or indexing their arrays. - [WSM request counts](https://cklukas.github.io/ck-core-motif/wsm-request-counts.html.md): Request packing now rejects negative and CARD16-unrepresentable list counts, including nested WM-window match-attribute counts. - [WSM target conversion allocation failure](https://cklukas.github.io/ck-core-motif/wsm-target-conversion-null.html.md): Target/type conversion now checks whether display metadata was available. - [WSM target-list failure count](https://cklukas.github.io/ck-core-motif/wsm-target-list-failure-count.html.md): WSMGetTargetList now clears its caller-provided output count before checking the widget and display state. - [WSM null input streams](https://cklukas.github.io/ck-core-motif/wsm-unpack-null.html.md): The primitive WSM decoders now return a safe zero value for a null byte stream, and string decoding returns NULL without allocating. - [WSM string unpack allocation](https://cklukas.github.io/ck-core-motif/wsm-unpack-string-oom.html.md): The WSM protocol unpacker allocates storage for length-prefixed strings. - [WSM window-data allocation width](https://cklukas.github.io/ck-core-motif/wsm-win-data-allocation-width.html.md): WSM decodes a bit mask into a variable-length WSMWinData array. - [WSM window-data lookup](https://cklukas.github.io/ck-core-motif/wsm-win-data-lookup-null.html.md): _WSMGetMatchingWinData now returns no match when the supplied data list is null or empty. - [WSM window-data record validation](https://cklukas.github.io/ck-core-motif/wsm-win-data-record-validation.html.md): WSM message packing now validates every window-data record against the active configuration format before calculating a message size or writing the wire payload. - [WSM window-entry allocation](https://cklukas.github.io/ck-core-motif/wsm-win-entry-oom.html.md): WSM window-list replies contain two variable-length arrays: window IDs and matching properties. - [WSM window-entry reply sizing](https://cklukas.github.io/ck-core-motif/wsm-win-entry-size.html.md): WinEntrySizePacked accounts for a window-entry reply's window IDs and match-property IDs. - [WSM window-data alignment](https://cklukas.github.io/ck-core-motif/wsm-windata-alignment.html.md): WSM window data carries a bitmask followed by variable-length attribute values. - [WSM nested window-array ownership](https://cklukas.github.io/ck-core-motif/wsm-windows-nested-ownership.html.md): WSM_WM_WINDOWS request match attributes contain two variable-length property arrays. - [WSM window-request ownership](https://cklukas.github.io/ck-core-motif/wsm-windows-owned.html.md): WSM_WM_WINDOWS request decoding owns its window-property and match-attribute arrays through the wm_windows.allocated flag. - [WSM window-list rollback](https://cklukas.github.io/ck-core-motif/wsm-windows-rollback.html.md): When decoding a WSM_WM_WINDOWS request, window properties are allocated before match-attribute arrays. - [WSM property wire width](https://cklukas.github.io/ck-core-motif/wsm-wire-width.html.md): WM-window properties are serialized with PackProperty as 32-bit protocol fields. - [WSM WM-target mapping](https://cklukas.github.io/ck-core-motif/wsm-wm-target-mapping.html.md): WM-specific targets are part of the known-target set and now map completely through the WSM conversion helpers. - [Compound-string clip rectangles](https://cklukas.github.io/ck-core-motif/xmstring-clip-regions.html.md): XmStringDraw honors a supplied clip rectangle even when a text line lies entirely outside it.