GNOME Bugzilla – Bug 502962
Render layout to Cairo surface
Last modified: 2007-12-17 22:05:42 UTC
libgnomekbd needs to be able to render a GkbdDrawing to a cairo_t, to enable printing of layouts (bug 502961).
Created attachment 100725 [details] [review] libgnomekbd-render.patch Proposed patch.
Great! Committed! Though I found some problems with your patch - it crashes on key press/release (no cairo was available in the context). Had to fix it myself. Please check.
Created attachment 101087 [details] [review] xkb_state_notify_event_filter-nocrash.patch I knew there was something I'd missed. :) You missed one crash, in xkb_state_notify_event_filter. Here's the patch. Sorry about that.
Well spotted about indicators! Committed this one too.