Age | Commit message (Collapse) | Author | Files | Lines |
|
In xcb_key_symbols_alloc.
In xcb_render_util_composite_text_stream.
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
Fixes bugzilla #29373
https://bugs.freedesktop.org/show_bug.cgi?id=29373
Tested-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
They are poorly designed and not terribly useful. I wrote the original
versions of these libraries for demonstration purposes and would like to
actively discourage anyone from actually using them.
After deleting the callback-based APIs, there was nothing interesting
left in property or reply, so those libraries are deleted outright. The
event library is no longer particularly related to event handling, but
that's a problem for another commit.
The icccm library had some simple hooks for integrating with the
property library, which are precisely as useful as the property library
itself, so I deleted them too. (Arnaud suggested this in
<sa5ocib84hf.fsf@Orfeo.duckcorp.org>.)
Since the icccm and event libraries have changed interfaces, this commit
bumps their SONAME versions.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Acked-by: Julien Cristau <jcristau@debian.org>
|
|
This fixes distcheck.
Reported-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Jamey Sharp <jamey@minilop.net>
|
|
And xcb.h includes xproto.h, so icccm.c needn't include anything extra.
The configure script does still need to check which version of xcb-proto
libxcb was built with to ensure that the predefined atoms are available
at xcb-icccm build time.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
|
|
XCB already defines the error codes, though with unfortunate names. The
following sed replacements should correct any code that was using these
definitions:
s/\<XCB_EVENT_ERROR_SUCCESS\>/0/g
s/\<XCB_EVENT_ERROR_BAD_COLOR\>/XCB_COLORMAP/g
s/\<XCB_EVENT_ERROR_BAD_GC\>/XCB_G_CONTEXT/g
s/\<XCB_EVENT_ERROR_BAD_/XCB_/g
Signed-off-by: Jamey Sharp <jamey@minilop.net>
|
|
Otherwise nobody will notice if they bitrot.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Jamey Sharp <jamey@minilop.net>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Jamey Sharp <jamey@minilop.net>
|
|
|
|
|
|
|
|
|
|
is not present
|
|
Without these checks, we can overflow the buffer or divide by zero.
Signed-off-by: David Coppa <dcoppa@gmail.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
|
|
|
|
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
Fixes compiler error when building with Sun compilers due to
redefining argument types of xcb_size_hints_set_win_gravity
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
|
|
We need to check reply->format before using it, or we can end up
dividing by 0.
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
|
|
|
|
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
|
|
|
|
Remove useless macros to get error information because libxcb 1.4 now
provides additional fields (major_opcode, minor_opcode and
resource_id) like Xlib.
|
|
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
|
|
|
|
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
|
|
xcb_event_handle relies on the fact that handler for non-handled
event is NULL. Initialize handlers in xcb_event_handlers_init
to avoid calling function by uninitialized pointer.
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
The get property value proto changed so we do not have to worry about
formats. Reflect that change.
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
Solaris m4 does not support -I flag, but gnu m4 is included in
recent Solaris & OpenSolaris releases (and must already be installed
on any machine that runs autoconf to generate configure scripts)
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
There is xcb_aux_change_window_attributes, add the matching checked
function.
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
xcb_key_symbols_get_keycode() returned a keycode.
That's wrong, since actually a keysym can have multiple keycode. And we
usually need all this keycodes to correctly grab a keysym.
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
This has never worked, and is not maintained nor developed anymore.
Signed-off-by: Julien Danjou <julien@danjou.info>
|