[Xcb] pb with XCBChangeProperty/GetProperty and netwm

Vincent Torri Vincent.Torri at iecn.u-nancy.fr
Thu Jul 7 22:15:24 EST 2005


Hello,

i'm trying to debug ecore_xcb, and i've remarked that when i try to
set/get some netwm informations, ecore_xcb freezes.

for information, here is the backtrace:

#4  0x404ef94d in select () from /lib/tls/libc.so.6
#5  0x4020d60d in _xcb_conn_wait (c=0x8056418, should_write=0,
cond=0xbffd7040) at xcb_conn.c:213
#6  0x4020e422 in XCBWaitForReply (c=0x8056418, request=133, e=0x0) at
xcb_in.c:102
#7  0x40210df0 in XCBGetPropertyReply (c=0x8056418, cookie={sequence =
133}, e=0x0) at xproto.c:672
#8  0x40056af0 in ecore_xcb_window_prop_card32_get (window={xid =
56623104}, atom={xid = 245}, val=0xbffd712c, len=1) at
ecore_xcb_window_prop.c:59
#9  0x40051c62 in ecore_xcb_netwm_desktop_get (window={xid = 56623104},
desk=0xbffd7168) at ecore_xcb_netwm.c:576


So I have written a small test app (attached)
It is supposed to set the dektop to 1, then it tries to retrive the
desktop number. The retrived number is 0.

Does someone see where I'm wrong ?

Thank you

Vincent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netwm.c
Type: text/x-csrc
Size: 2303 bytes
Desc: 
Url : http://lists.freedesktop.org/archives/xcb/attachments/20050707/eb04b92e/netwm.c


More information about the xcb mailing list