From 05899596d10918df5359d89baa82e6fedd0ae208 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armin=20Krezovi=C4=87?= Date: Sat, 26 Aug 2017 20:51:28 +0200 Subject: Move X11 helper windows and xprops to MetaX11Display https://bugzilla.gnome.org/show_bug.cgi?id=759538 --- src/x11/xprops.h | 78 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) (limited to 'src/x11/xprops.h') diff --git a/src/x11/xprops.h b/src/x11/xprops.h index d52a90c0f..5a1c90071 100644 --- a/src/x11/xprops.h +++ b/src/x11/xprops.h @@ -71,42 +71,42 @@ typedef struct { /* These all return the memory from Xlib, so require an XFree() * when they return TRUE. They return TRUE on success. */ -gboolean meta_prop_get_motif_hints (MetaDisplay *display, - Window xwindow, - Atom xatom, - MotifWmHints **hints_p); -gboolean meta_prop_get_cardinal_list (MetaDisplay *display, - Window xwindow, - Atom xatom, - uint32_t **cardinals_p, - int *n_cardinals_p); -gboolean meta_prop_get_latin1_string (MetaDisplay *display, - Window xwindow, - Atom xatom, - char **str_p); -gboolean meta_prop_get_utf8_list (MetaDisplay *display, - Window xwindow, - Atom xatom, - char ***str_p, - int *n_str_p); +gboolean meta_prop_get_motif_hints (MetaX11Display *x11_display, + Window xwindow, + Atom xatom, + MotifWmHints **hints_p); +gboolean meta_prop_get_cardinal_list (MetaX11Display *x11_display, + Window xwindow, + Atom xatom, + uint32_t **cardinals_p, + int *n_cardinals_p); +gboolean meta_prop_get_latin1_string (MetaX11Display *x11_display, + Window xwindow, + Atom xatom, + char **str_p); +gboolean meta_prop_get_utf8_list (MetaX11Display *x11_display, + Window xwindow, + Atom xatom, + char ***str_p, + int *n_str_p); void meta_prop_set_utf8_string_hint - (MetaDisplay *display, - Window xwindow, - Atom atom, - const char *val); -gboolean meta_prop_get_window (MetaDisplay *display, - Window xwindow, - Atom xatom, - Window *window_p); -gboolean meta_prop_get_cardinal (MetaDisplay *display, - Window xwindow, - Atom xatom, - uint32_t *cardinal_p); -gboolean meta_prop_get_cardinal_with_atom_type (MetaDisplay *display, - Window xwindow, - Atom xatom, - Atom prop_type, - uint32_t *cardinal_p); + (MetaX11Display *x11_display, + Window xwindow, + Atom atom, + const char *val); +gboolean meta_prop_get_window (MetaX11Display *x11_display, + Window xwindow, + Atom xatom, + Window *window_p); +gboolean meta_prop_get_cardinal (MetaX11Display *x11_display, + Window xwindow, + Atom xatom, + uint32_t *cardinal_p); +gboolean meta_prop_get_cardinal_with_atom_type (MetaX11Display *x11_display, + Window xwindow, + Atom xatom, + Atom prop_type, + uint32_t *cardinal_p); typedef enum { @@ -183,10 +183,10 @@ typedef struct * else type comes back as it originated, and the data * is filled in. */ -void meta_prop_get_values (MetaDisplay *display, - Window xwindow, - MetaPropValue *values, - int n_values); +void meta_prop_get_values (MetaX11Display *x11_display, + Window xwindow, + MetaPropValue *values, + int n_values); void meta_prop_free_values (MetaPropValue *values, int n_values); -- cgit v1.2.1