Search
lxdream.org :: lxdream/src/gtkui/gtkui.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gtkui/gtkui.h
changeset 618:3ade50e8603c
prev608:4f588e52bce0
next630:50addb748df5
author nkeynes
date Wed Jan 30 02:39:57 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Embed gdk_display_warp_pointer for GTK 2.6 implementations that lack in
(mainly for OSX)
Perform real modifier mapping to get CTRL+ALT for screen ungrab rather than
assuming the keysyms.
file annotate diff log raw
1.1 --- a/src/gtkui/gtkui.h Sat Jan 26 02:45:27 2008 +0000
1.2 +++ b/src/gtkui/gtkui.h Wed Jan 30 02:39:57 2008 +0000
1.3 @@ -92,6 +92,15 @@
1.4 uint16_t gtk_get_unmodified_keyval( GdkEventKey *event );
1.5
1.6 /**
1.7 + * Map a hardware keycode (not keyval) to a modifier state mask.
1.8 + * @param display The display (containing the modifier map)
1.9 + * @param keycde The hardware keycode to map
1.10 + * @return The modifier mask (eg GDK_CONTROL_MASK) or 0 if the keycode
1.11 + * is not recognized as a modifier key.
1.12 + */
1.13 +guint gdk_keycode_to_modifier( GdkDisplay *display, guint keycode );
1.14 +
1.15 +/**
1.16 * Construct a new pixbuf that takes ownership of the frame buffer
1.17 */
1.18 GdkPixbuf *gdk_pixbuf_new_from_frame_buffer( frame_buffer_t buffer );
.