2010-06-21 10:43:31 -04:00
|
|
|
#ifndef __CLUTTER_SETTINGS_X11_H__
|
|
|
|
#define __CLUTTER_SETTINGS_X11_H__
|
|
|
|
|
|
|
|
/* XSETTINGS key names to ClutterSettings properties */
|
|
|
|
static const struct {
|
|
|
|
const char *xsetting_name;
|
|
|
|
const char *settings_property;
|
|
|
|
} _clutter_settings_map[] = {
|
|
|
|
{ "Net/DoubleClickTime", "double-click-time" },
|
|
|
|
{ "Net/DoubleClickDistance", "double-click-distance" },
|
2011-02-28 11:08:23 -05:00
|
|
|
{ "Net/DndDragThreshold", "dnd-drag-threshold" },
|
2010-06-21 10:43:31 -04:00
|
|
|
{ "Gtk/FontName", "font-name" },
|
|
|
|
{ "Xft/Antialias", "font-antialias" },
|
|
|
|
{ "Xft/DPI", "font-dpi" },
|
|
|
|
{ "Xft/Hinting", "font-hinting" },
|
|
|
|
{ "Xft/HintStyle", "font-hint-style" },
|
2011-08-18 10:36:20 -04:00
|
|
|
{ "Xft/RGBA", "font-subpixel-order" },
|
|
|
|
{ "Fontconfig/Timestamp", "fontconfig-timestamp" },
|
2010-06-21 10:43:31 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
static const gint _n_clutter_settings_map = G_N_ELEMENTS (_clutter_settings_map);
|
|
|
|
|
|
|
|
#define CLUTTER_SETTING_X11_NAME(id) (_clutter_settings_map[(id)].xsetting_name)
|
|
|
|
#define CLUTTER_SETTING_PROPERTY(id) (_clutter_settings_map[(id)].settings_property)
|
|
|
|
|
|
|
|
#endif /* __CLUTTER_SETTINGS_X11_H__ */
|