Gnome wm detection question.



Greetings,

I'm a window manager author.
For the moment my project is on stand by.
To present it quickly, it's suppose to be a gnome compliant wm, that is
only written in Common Lisp.
I know it sounds like sawfish, but the the two language are really
different.

My question is :
How Gnome detect that a WM is running ?
I have a little problem with that point.
I provide the   _WIN_SUPPORTING_WM_CHECK property, and gnome do not
complain about it. 
For now, I interact correctly with gnome (except for the SM part which
is in work). But I want to change my client management. For the moment I
add substructure-redirect in my root event-mask. This has for effect
that I receive some map-request events when a client want to map a his
top-level window. But it also implies that I have to honor the
configure-request events.
But I don't think that I really need this. So I tried to deselect the
substructure-redirect, and look for the map-notify events. It does work
very well. Except that gnome fail to detect that my wm is running.
Does anybody have an idea of why (I probably miss something in your
specs).

Thanks,
Iban.
------------ here is my root property report -----------------------

_SCREENSAVER_STATUS(INTEGER) = 0, 1003158593, 96
CUT_BUFFER7(STRING) =
CUT_BUFFER6(STRING) =
CUT_BUFFER5(STRING) =
CUT_BUFFER4(STRING) =
CUT_BUFFER3(STRING) =
CUT_BUFFER2(STRING) =
CUT_BUFFER1(STRING) =
CUT_BUFFER0(STRING) =
_MOTIF_DEFAULT_BINDINGS(STRING) = ....< snip motif defaults > ...
_MOTIF_DRAG_WINDOW(WINDOW): window id # 0x1e00001
_GNOME_PAGER_ACTIVE(WINDOW): window id # 0x1a00012
_WIN_CLIENT_LIST(CARDINAL) = 29361234, 23068691, 29362206, 29380771
_XROOTPMAP_ID(PIXMAP): pixmap id # 0xc00011
ESETROOT_PMAP_ID(PIXMAP): pixmap id # 0xc00011
GNOME_WM_PROPERTIES(STRING) = "117f000001000099511060500000008280011"
GNOME_NAME_SERVER(WINDOW): window id # 0x1400001
_WIN_WORKSPACE(CARDINAL) = 0
_WIN_WORKSPACE_COUNT(CARDINAL) = 4
_WIN_SUPPORTING_WM_CHECK(CARDINAL) = 14680075
_WIN_PROTOCOLS(ATOM) = _WIN_WORKSPACE, _WIN_WORKSPACE_COUNT,
_WIN_CLIENT_LIST
GNOME_KEYBOARD_PROPERTIES(STRING) =
"117f000001000099098192700000088390006"
GNOME_MOUSE_PROPERTIES(STRING) = "117f000001000099098192700000088390005"

GNOME_SOUND_PROPERTIES(STRING) = "117f000001000099098192700000088390001"

GNOME_SCREENSAVER_PROPERTIES(STRING) =
"117f000001000099098192700000088390004"
GNOME_BACKGROUND_PROPERTIES(STRING) =
"117f000001000099098192700000088390007"
GNOME_SESSION_CORBA_COOKIE(STRING) =
"\"JI_bKkET=AFp,nJ5]gUuQ*`0;lXNr2N>X/}%wCX5a|'mlO\"L8VCh_#vxnNH`_s"
GNOME_SM_PROXY(CARDINAL) = 6291457
_XKB_RULES_NAMES(STRING) = "xfree86", "pc102", "fr", "", ""

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]