Re: Discrepancy between XCB and X11 MappingNotify
[email protected] Thu, 03 Apr 2025 19:31:42 +0000
| Newsgroups | gmane.comp.freedesktop.xcb |
|---|---|
| Message-ID | <[email protected]> |
> Have you traced the protocol with xscope or xtrace? That would let you
=
> see if the events are being delivered from the server and lost inside
>=
the library somewhere.
Good idea, I tried this with "xtrace" now with al=
l three cases. Using only xcb
got the expected MappingNotify events in th=
e other cases not. However, it looks
like libX11 does a lot more when doi=
ng XOpenDisplay():
... auth
000:<:0001: 20: Request(98): QueryExtension=
name=3D'BIG-REQUESTS'
000:>:0001:32: Reply to QueryExtension: present=3D=
true(0x01) major-opcode=3D133 first-event=3D0 first-error=3D0
000:<:0002:=
4: BIG-REQUESTS-Request(133,0): Enable
000:>:0002:32: Reply to Enable: =
maximum-request-length=3D4194303
000:<:0003: 20: Request(55): CreateGC ci=
d=3D0x04800000 drawable=3D0x000003db values=3D{background=3D0x00ffffff}
0=
00:<:0004: 24: Request(20): GetProperty delete=3Dfalse(0x00) window=3D0x000=
003db property=3D0x17("RESOURCE_MANAGER") ...
000:>:0004:1072: Reply to G=
etProperty: type=3D0x1f("STRING") bytes-after=3D0x00000000 data=3D...
000=
:<:0005: 20: Request(98): QueryExtension name=3D'XKEYBOARD'
000:>:0005:32=
: Reply to QueryExtension: present=3Dtrue(0x01) major-opcode=3D135 first-ev=
ent=3D85 first-error=3D137
000:<:0006: 8: XKEYBOARD-Request(135,0): UseE=
xtension major=3D1 minor=3D0
000:>:0006:32: Reply to UseExtension: major=
=3D1 minor=3D0
I guess (looking at src/OpenDis.c within libx11) these =
additional messages are
caused by XkbUseExtension(...) etc. They are no s=
urprise. But maybe this call
causes no MappingNotify event to be sent?
=