Skip to content

Commit 017fa35

Browse files
committed
Add WithdrawnState to WMHints
1 parent a85fe06 commit 017fa35

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

Xlib/xobject/icccm.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: icccm.py,v 1.2 2000-12-21 12:23:07 petli Exp $
1+
# $Id: icccm.py,v 1.3 2002-06-24 20:05:33 petli Exp $
22
#
33
# Xlib.xobject.icccm -- ICCCM structures
44
#
@@ -41,7 +41,13 @@
4141
WMHints = rq.Struct( rq.Card32('flags'),
4242
rq.Card32('input', default = 0),
4343
rq.Set('initial_state', 4,
44-
( Xutil.NormalState, Xutil.IconicState ),
44+
# withdrawn is totally bogus according to
45+
# ICCCM, but some window managers seems to
46+
# use this value to identify dockapps.
47+
# Oh well.
48+
( Xutil.WithdrawnState,
49+
Xutil.NormalState,
50+
Xutil.IconicState ),
4551
default = Xutil.NormalState),
4652
rq.Pixmap('icon_pixmap', default = 0),
4753
rq.Window('icon_window', default = 0),

0 commit comments

Comments
 (0)