mirror of
https://github.com/brl/mutter.git
synced 2025-07-27 03:58:32 +00:00
backends: Don't use glib types in new native backend objects
https://gitlab.gnome.org/GNOME/mutter/merge_requests/672
This commit is contained in:

committed by
Jonas Ådahl

parent
8b03d9ecc3
commit
c0a71720af
@@ -65,8 +65,8 @@ struct _MetaInputDeviceNative
|
||||
ClutterInputDeviceTool *last_tool;
|
||||
|
||||
cairo_matrix_t device_matrix;
|
||||
gdouble device_aspect_ratio; /* w:h */
|
||||
gdouble output_ratio; /* w:h */
|
||||
double device_aspect_ratio; /* w:h */
|
||||
double output_ratio; /* w:h */
|
||||
|
||||
GHashTable *touches;
|
||||
|
||||
@@ -74,23 +74,23 @@ struct _MetaInputDeviceNative
|
||||
ClutterKeyboardA11yFlags a11y_flags;
|
||||
GList *slow_keys_list;
|
||||
guint debounce_timer;
|
||||
guint16 debounce_key;
|
||||
uint16_t debounce_key;
|
||||
xkb_mod_mask_t stickykeys_depressed_mask;
|
||||
xkb_mod_mask_t stickykeys_latched_mask;
|
||||
xkb_mod_mask_t stickykeys_locked_mask;
|
||||
guint toggle_slowkeys_timer;
|
||||
guint16 shift_count;
|
||||
guint32 last_shift_time;
|
||||
gint mousekeys_btn;
|
||||
uint16_t shift_count;
|
||||
uint32_t last_shift_time;
|
||||
int mousekeys_btn;
|
||||
gboolean mousekeys_btn_states[3];
|
||||
guint32 mousekeys_first_motion_time; /* ms */
|
||||
guint32 mousekeys_last_motion_time; /* ms */
|
||||
uint32_t mousekeys_first_motion_time; /* ms */
|
||||
uint32_t mousekeys_last_motion_time; /* ms */
|
||||
guint mousekeys_init_delay;
|
||||
guint mousekeys_accel_time;
|
||||
guint mousekeys_max_speed;
|
||||
gdouble mousekeys_curve_factor;
|
||||
double mousekeys_curve_factor;
|
||||
guint move_mousekeys_timer;
|
||||
guint16 last_mousekeys_key;
|
||||
uint16_t last_mousekeys_key;
|
||||
};
|
||||
|
||||
struct _MetaInputDeviceNativeClass
|
||||
@@ -120,8 +120,8 @@ ClutterInputDeviceType meta_input_device_native_determine_type (struct libin
|
||||
|
||||
void meta_input_device_native_translate_coordinates (ClutterInputDevice *device,
|
||||
ClutterStage *stage,
|
||||
gfloat *x,
|
||||
gfloat *y);
|
||||
float *x,
|
||||
float *y);
|
||||
|
||||
void meta_input_device_native_apply_kbd_a11y_settings (MetaInputDeviceNative *device,
|
||||
ClutterKbdA11ySettings *settings);
|
||||
|
Reference in New Issue
Block a user