mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Add a function to obtain the last user interaction time. (#163119, Elijah
2005-01-19 Matthias Clasen <mclasen@redhat.com> * gdk/gdk.symbols: * gdk/x11/gdkx.h: * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_user_time): Add a function to obtain the last user interaction time. (#163119, Elijah Newren)
This commit is contained in:
parent
fad37a600e
commit
56e0ee04fc
@ -1,3 +1,11 @@
|
||||
2005-01-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/gdk.symbols:
|
||||
* gdk/x11/gdkx.h:
|
||||
* gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_user_time):
|
||||
Add a function to obtain the last user interaction
|
||||
time. (#163119, Elijah Newren)
|
||||
|
||||
Tue Jan 18 13:56:09 2005 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (pending_op_queue): Actually assign
|
||||
|
@ -1,3 +1,11 @@
|
||||
2005-01-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/gdk.symbols:
|
||||
* gdk/x11/gdkx.h:
|
||||
* gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_user_time):
|
||||
Add a function to obtain the last user interaction
|
||||
time. (#163119, Elijah Newren)
|
||||
|
||||
Tue Jan 18 13:56:09 2005 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (pending_op_queue): Actually assign
|
||||
|
@ -1,3 +1,11 @@
|
||||
2005-01-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/gdk.symbols:
|
||||
* gdk/x11/gdkx.h:
|
||||
* gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_user_time):
|
||||
Add a function to obtain the last user interaction
|
||||
time. (#163119, Elijah Newren)
|
||||
|
||||
Tue Jan 18 13:56:09 2005 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (pending_op_queue): Actually assign
|
||||
|
@ -1,3 +1,7 @@
|
||||
2005-01-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/gdk-sections.txt: Add gdk_x11_display_get_user_time.
|
||||
|
||||
2005-01-18 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtk-docs.sgml: Add an index for 2.8 symbols.
|
||||
|
@ -1240,6 +1240,7 @@ gdk_x11_screen_supports_net_wm_hint
|
||||
gdk_x11_screen_get_window_manager_name
|
||||
gdk_x11_screen_lookup_visual
|
||||
gdk_x11_window_set_user_time
|
||||
gdk_x11_display_get_user_time
|
||||
gdk_x11_colormap_foreign_new
|
||||
gdk_x11_colormap_get_xcolormap
|
||||
gdk_x11_colormap_get_xdisplay
|
||||
|
@ -605,6 +605,7 @@ gdk_x11_colormap_get_xcolormap
|
||||
gdk_x11_colormap_get_xdisplay
|
||||
gdk_x11_cursor_get_xcursor
|
||||
gdk_x11_cursor_get_xdisplay
|
||||
gdk_x11_display_get_user_time
|
||||
gdk_x11_display_get_xdisplay
|
||||
gdk_x11_display_grab
|
||||
gdk_x11_display_ungrab
|
||||
|
@ -1162,3 +1162,22 @@ gdk_display_store_clipboard (GdkDisplay *display,
|
||||
gdk_error_trap_pop ();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* gdk_x11_display_get_user_time:
|
||||
* @display: a #GdkDisplay
|
||||
*
|
||||
* Returns the timestamp of the last user interaction on
|
||||
* @display. The timestamp is taken from events caused
|
||||
* by user interaction such as key presses or pointer
|
||||
* movements. See gdk_x11_window_set_user_time().
|
||||
*
|
||||
* Returns: the timestamp of the last user interaction
|
||||
*
|
||||
* Since: 2.8
|
||||
*/
|
||||
guint32
|
||||
gdk_x11_display_get_user_time (GdkDisplay *display)
|
||||
{
|
||||
return GDK_DISPLAY_X11 (display)->user_time;
|
||||
}
|
||||
|
@ -139,6 +139,7 @@ GdkColormap *gdk_x11_colormap_foreign_new (GdkVisual *visual,
|
||||
gpointer gdk_xid_table_lookup_for_display (GdkDisplay *display,
|
||||
XID xid);
|
||||
guint32 gdk_x11_get_server_time (GdkWindow *window);
|
||||
guint32 gdk_x11_display_get_user_time (GdkDisplay *display);
|
||||
|
||||
/* returns TRUE if we support the given WM spec feature */
|
||||
gboolean gdk_x11_screen_supports_net_wm_hint (GdkScreen *screen,
|
||||
|
Loading…
Reference in New Issue
Block a user