mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 06:10:21 +00:00
Remove gdk_seat_grab
We are no longer using free-standing grabs in GTK. The replacement is the autohide functionality of popup surfaces.
This commit is contained in:
parent
3dd6cc405e
commit
0bb9fc65ad
@ -544,8 +544,6 @@ GdkSeatCapabilities
|
|||||||
GdkGrabStatus
|
GdkGrabStatus
|
||||||
GdkSeatGrabPrepareFunc
|
GdkSeatGrabPrepareFunc
|
||||||
gdk_seat_get_display
|
gdk_seat_get_display
|
||||||
gdk_seat_grab
|
|
||||||
gdk_seat_ungrab
|
|
||||||
gdk_seat_get_capabilities
|
gdk_seat_get_capabilities
|
||||||
gdk_seat_get_pointer
|
gdk_seat_get_pointer
|
||||||
gdk_seat_get_keyboard
|
gdk_seat_get_keyboard
|
||||||
|
@ -266,6 +266,16 @@ void gdk_surface_get_geometry (GdkSurface *surface,
|
|||||||
|
|
||||||
GdkGLContext *gdk_surface_get_shared_data_gl_context (GdkSurface *surface);
|
GdkGLContext *gdk_surface_get_shared_data_gl_context (GdkSurface *surface);
|
||||||
|
|
||||||
|
GdkGrabStatus gdk_seat_grab (GdkSeat *seat,
|
||||||
|
GdkSurface *surface,
|
||||||
|
GdkSeatCapabilities capabilities,
|
||||||
|
gboolean owner_events,
|
||||||
|
GdkCursor *cursor,
|
||||||
|
const GdkEvent *event,
|
||||||
|
GdkSeatGrabPrepareFunc prepare_func,
|
||||||
|
gpointer prepare_func_data);
|
||||||
|
void gdk_seat_ungrab (GdkSeat *seat);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GDK_INTERNALS_H__ */
|
#endif /* __GDK_INTERNALS_H__ */
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "gdkseatprivate.h"
|
#include "gdkseatprivate.h"
|
||||||
#include "gdkdeviceprivate.h"
|
#include "gdkdeviceprivate.h"
|
||||||
#include "gdkintl.h"
|
#include "gdkintl.h"
|
||||||
|
#include "gdkinternals.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SECTION:gdkseat
|
* SECTION:gdkseat
|
||||||
|
@ -82,18 +82,6 @@ struct _GdkSeat
|
|||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_seat_get_type (void) G_GNUC_CONST;
|
GType gdk_seat_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
GDK_AVAILABLE_IN_ALL
|
|
||||||
GdkGrabStatus gdk_seat_grab (GdkSeat *seat,
|
|
||||||
GdkSurface *surface,
|
|
||||||
GdkSeatCapabilities capabilities,
|
|
||||||
gboolean owner_events,
|
|
||||||
GdkCursor *cursor,
|
|
||||||
const GdkEvent *event,
|
|
||||||
GdkSeatGrabPrepareFunc prepare_func,
|
|
||||||
gpointer prepare_func_data);
|
|
||||||
GDK_AVAILABLE_IN_ALL
|
|
||||||
void gdk_seat_ungrab (GdkSeat *seat);
|
|
||||||
|
|
||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkDisplay * gdk_seat_get_display (GdkSeat *seat);
|
GdkDisplay * gdk_seat_get_display (GdkSeat *seat);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user