#1 initial_state = Xutil.WithdrawnState

closed
nobody
None
5
2006-07-19
2004-05-28
Anonymous
No

In order to make dockapps that work in several wm:s
(such as kahakai) you need to be able to set
initial_state for a window to WithdrawnState.

I know this is expressly invalid according to the X
protocol docs, but if you add the Xutil.Withdrawn state
as a valid state on row 44 in file Xlib/xobject/iccm.py
(in the WMHints struct) it works fine.

The C Xlib implementation seems not to check that the
initial state is valid, and this is used by some wm:s,
for some inexplicable reason.

Mikael Albertsson
mikal668@student.liu.se

Discussion

  • Mike Grant
    Mike Grant
    2006-07-19

    • status: open --> closed
     
  • Mike Grant
    Mike Grant
    2006-07-19

    Logged In: YES
    user_id=1175208

    In CVS as of rev 1.3 of iccm.py (post 0.12 release, but
    about 2002). Will be in the next release.