mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
util: Export and annotate meta_get_clutter_debug_flags
This will be useful for getting the initial state when adding switches for these flags to looking glass. Related: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3968 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2028>
This commit is contained in:
parent
d4e8cfa17a
commit
c2bb80a26d
@ -54,8 +54,4 @@ void meta_init_debug_utils (void);
|
||||
(ycoord) >= (rect).y && \
|
||||
(ycoord) < ((rect).y + (rect).height))
|
||||
|
||||
void meta_get_clutter_debug_flags (ClutterDebugFlag *debug_flags,
|
||||
ClutterDrawDebugFlag *draw_flags,
|
||||
ClutterPickDebugFlag *pick_flags);
|
||||
|
||||
#endif
|
||||
|
@ -772,6 +772,12 @@ meta_remove_clutter_debug_flags (ClutterDebugFlag debug_flags,
|
||||
clutter_remove_debug_flags (debug_flags, draw_flags, pick_flags);
|
||||
}
|
||||
|
||||
/**
|
||||
* meta_get_clutter_debug_flags:
|
||||
* @debug_flags: (out) (optional): return location for debug flags
|
||||
* @draw_flags: (out) (optional): return location for draw debug flags
|
||||
* @pick_flags: (out) (optional): return location for pick debug flags
|
||||
*/
|
||||
void
|
||||
meta_get_clutter_debug_flags (ClutterDebugFlag *debug_flags,
|
||||
ClutterDrawDebugFlag *draw_flags,
|
||||
|
@ -226,6 +226,11 @@ void meta_remove_clutter_debug_flags (ClutterDebugFlag debug_flags,
|
||||
ClutterDrawDebugFlag draw_flags,
|
||||
ClutterPickDebugFlag pick_flags);
|
||||
|
||||
META_EXPORT
|
||||
void meta_get_clutter_debug_flags (ClutterDebugFlag *debug_flags,
|
||||
ClutterDrawDebugFlag *draw_flags,
|
||||
ClutterPickDebugFlag *pick_flags);
|
||||
|
||||
META_EXPORT
|
||||
void meta_add_debug_paint_flag (MetaDebugPaintFlag flag);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user