mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
xprops: Don't pass ULONG_MAX as a uint32_t parameter
It seems the largest possible value is to be passed, so actually pass that instead. Note that even though the name of the xcb_get_property parameter is called 'long_length' its actually a uint32_t. https://bugzilla.gnome.org/show_bug.cgi?id=751136
This commit is contained in:
parent
bb4dcd62ec
commit
bbf2b4e60e
@ -184,7 +184,7 @@ async_get_property (xcb_connection_t *xcb_conn, Window xwindow,
|
|||||||
Atom xatom, Atom required_type)
|
Atom xatom, Atom required_type)
|
||||||
{
|
{
|
||||||
return xcb_get_property (xcb_conn, False, xwindow,
|
return xcb_get_property (xcb_conn, False, xwindow,
|
||||||
xatom, required_type, 0, G_MAXULONG);
|
xatom, required_type, 0, G_MAXUINT32);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
Loading…
Reference in New Issue
Block a user