summaryrefslogtreecommitdiff
path: root/src/x11/xprops.h
diff options
context:
space:
mode:
authorArmin Krezović <krezovic.armin@gmail.com>2017-08-26 20:51:28 +0200
committerJonas Ådahl <jadahl@gmail.com>2018-07-06 19:47:16 +0200
commit05899596d10918df5359d89baa82e6fedd0ae208 (patch)
treee6ce0e0b7af9289783d9884e95c37f037c7ed083 /src/x11/xprops.h
parent98d912ba5f288f08ef459fb195e5653cd7866d8e (diff)
downloadmutter-05899596d10918df5359d89baa82e6fedd0ae208.tar.gz
Move X11 helper windows and xprops to MetaX11Display
https://bugzilla.gnome.org/show_bug.cgi?id=759538
Diffstat (limited to 'src/x11/xprops.h')
-rw-r--r--src/x11/xprops.h78
1 files changed, 39 insertions, 39 deletions
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);