On Tue, 15 Jan 2008 08:03:27 -0500 Deanna Phillips wrote: > Thanks for testing. The tarball has been updated with a handful > of changes, including a patch from kurt@ to fix the shared > memory leak. > > Anyone want to ok it? > > http://freedaemon.com/~deanna/micropolis.tar.gz
Fvwm+micropolis works fine (display depth 16) on i386. But, 1) In Blackbox, for some reason micropolis wants to start in a withdrawn state and act like a WindowMaker dockapp. Screenshot: http://iki.fi/tero.koskinen/openbsd/micropolis-blackbox-2008-01-15.png (notice different borders) 2) In WindowMaker, micropolis crashes with message: $ micropolis Starting Micropolis in /usr/local/share/micropolis ... Welcome to X11 Multi Player Micropolis version 4.0 by Will Wright, Don Hopkins. Copyright (C) 2002 by Electronic Arts, Maxis. All rights reserved. xset: warning, no entries deleted from font path. Adding a player on :0.0 ... Cool, I found the shared memory extension! X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 15 (X_QueryTree) Resource id in failed request: 0x400256 Serial number of failed request: 1987 Current serial number in output stream: 1987 $ To create a docked window you need to do something like this: Display *dpy = ...; Window win = ...; XWMHints mywmhints; mywmhints.flags = StateHint; mywmhints.initial_state = WithdrawnState; XSetWMHints(dpy, win, &mywmhints); Similar piece of code founds from tkwm.c: ./src/tk/tkwm.c:1150: wmPtr->hints.initial_state = WithdrawnState; No idea what happens if you remove that line. I haven't tested it yet. -- Tero Koskinen - http://iki.fi/tero.koskinen/
