mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-31 16:01:11 +00:00
Merge branch 'matthiasc/for-master' into 'master'
Bring back gdk_display_put_event See merge request GNOME/gtk!1980
This commit is contained in:
commit
4125eb01ba
@ -95,6 +95,9 @@ gdk_display_get_setting
|
||||
gdk_display_get_startup_notification_id
|
||||
gdk_display_setup_window_visual
|
||||
|
||||
<SUBSECTION>
|
||||
gdk_display_put_event
|
||||
|
||||
<SUBSECTION>
|
||||
gdk_display_map_keyval
|
||||
gdk_display_map_keycode
|
||||
|
@ -466,10 +466,13 @@ gdk_display_peek_event (GdkDisplay *display)
|
||||
*
|
||||
* Appends the given event onto the front of the event
|
||||
* queue for @display.
|
||||
*
|
||||
* This function is only useful in very special situations
|
||||
* and should not be used by applications.
|
||||
**/
|
||||
void
|
||||
gdk_display_put_event (GdkDisplay *display,
|
||||
GdkEvent *event)
|
||||
gdk_display_put_event (GdkDisplay *display,
|
||||
GdkEvent *event)
|
||||
{
|
||||
g_return_if_fail (GDK_IS_DISPLAY (display));
|
||||
g_return_if_fail (event != NULL);
|
||||
|
@ -100,6 +100,10 @@ GDK_AVAILABLE_IN_ALL
|
||||
GdkMonitor * gdk_display_get_monitor_at_surface (GdkDisplay *display,
|
||||
GdkSurface *surface);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_display_put_event (GdkDisplay *display,
|
||||
GdkEvent *event);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_display_map_keyval (GdkDisplay *display,
|
||||
guint keyval,
|
||||
|
@ -246,8 +246,6 @@ void gdk_display_setting_changed (GdkDisplay *display
|
||||
|
||||
GdkEvent * gdk_display_get_event (GdkDisplay *display);
|
||||
GdkEvent * gdk_display_peek_event (GdkDisplay *display);
|
||||
void gdk_display_put_event (GdkDisplay *display,
|
||||
GdkEvent *event);
|
||||
gboolean gdk_display_has_pending (GdkDisplay *display);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user