[Xcb] Endianness question
Ulrich Eckhardt
doomster at knuut.de
Wed Dec 3 23:02:14 PST 2008
On Monday 01 December 2008 11:58:37 Julien Danjou wrote:
> Here, on a urxvt window it gives:
> % ./xcb-util-test-hints 29360136
> Getting hints for 0x1c00008…
> Dumping values:
> Flags: 43
> XCB_WM_HINT_INPUT
> XCB_WM_HINT_STATE
> XCB_WM_HINT_WINDOW_GROUP
> Input: 1
> Initial state: 1
> Icon pixmap: 0
> Icon window: 0
> Icon mask: 0
> Icon x, y: 0, 0
> Window group: 1c00008
Values for urxvt here:
Getting hints for 0x3c00009…
Dumping values:
Flags: 43
XCB_WM_HINT_INPUT
XCB_WM_HINT_STATE
XCB_WM_HINT_WINDOW_GROUP
Input: 0
Initial state: 1
Icon pixmap: 0
Icon window: 0
Icon mask: 0
Icon x, y: 0, 0
Window group: 3c00009
For comparison the output of xprop:
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP,
_NET_WM_ACTION_SHADE, _NET_WM_ACTION_STICK, _NET_WM_ACTION_RESIZE,
_NET_WM_ACTION_MOVE, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_MINIMIZE,
_NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT,
_NET_WM_ACTION_FULLSCREEN
_BLACKBOX_ATTRIBUTES(_BLACKBOX_ATTRIBUTES) = 0x10, 0x0, 0x1, 0x0, 0x0, 0x0,
0x0, 0x0
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_WIN_WORKSPACE(CARDINAL) = 1
_WIN_LAYER(CARDINAL) = 4
_WIN_STATE(CARDINAL) = 0
_NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 17, 5
_NET_WM_DESKTOP(CARDINAL) = 1
_FLUXBOX_GROUP_LEFT(WINDOW): window id # 0x0
_NET_WM_PID(CARDINAL) = 12982
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, _NET_WM_PING
WM_LOCALE_NAME(STRING) = "en_GB.UTF-8"
WM_CLASS(STRING) = "urxvt", "URxvt"
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
window id # of group leader: 0x3c00009
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified minimum size: 22 by 17
program specified resize increment: 6 by 13
program specified base size: 16 by 4
window gravity: NorthWest
WM_CLIENT_MACHINE(STRING) = "fruitbox"
WM_COMMAND(STRING) = { "urxvt" }
_NET_WM_ICON_NAME(UTF8_STRING) = 0x75, 0x6c, 0x69, 0x40, 0x66, 0x72, 0x75,
0x69, 0x74, 0x62, 0x6f, 0x78, 0x3a, 0x20, 0x7e
WM_ICON_NAME(STRING) = "uli at fruitbox: ~"
_NET_WM_NAME(UTF8_STRING) = 0x75, 0x6c, 0x69, 0x40, 0x66, 0x72, 0x75, 0x69,
0x74, 0x62, 0x6f, 0x78, 0x3a, 0x20, 0x7e
WM_NAME(STRING) = "uli at fruitbox: ~"
IOW, it seems to work.
Uli
More information about the Xcb
mailing list