mcdesoundd: the shell is never mapped (t0080 item 5)
The top-level shell only owns the selection _MCDE_SOUND_SERVER, but it was
realized with mappedWhenManaged on: a 1x1 window at +0+0 that a window manager
would frame (review no. 32, unverified until now). Measured on a private
Xvfb with xwininfo: before, the shell 0x200010 "mcdesoundd"/Mcdesoundd: Map
State IsViewable; after XtSetMappedWhenManaged(top, False): IsUnMapped (the
Xt leader window was and is IsUnMapped). The server still receives: an event
the theme does not know, sent with `mcdesoundd -event ProbeNoSuchEvent`, is
logged by the running server ("has no sound in the theme").
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
cc770d000e
commit
b20fca5845
1 file changed
+4
@@ -200,6 +200,10 @@ main(int argc, char **argv)
|
||||
}
|
||||
area = XtVaCreateManagedWidget("sound", xmDrawingAreaWidgetClass, top,
|
||||
XmNwidth, 1, XmNheight, 1, NULL);
|
||||
/* the shell is only the owner of the selection: realized, so that the
|
||||
* window exists, but never shown (a 1x1 window the window manager
|
||||
* would frame, measured: Map State IsViewable; tasksd t0080) */
|
||||
XtSetMappedWhenManaged(top, False);
|
||||
XtRealizeWidget(top);
|
||||
service = XtWindow(area);
|
||||
|
||||
|
||||
Reference in new issue
Block a user