mirror of
https://github.com/brl/mutter.git
synced 2025-08-07 00:54:42 +00:00
window: Move can_ping to a function and implement in X11
https://gitlab.gnome.org/GNOME/mutter/merge_requests/421
This commit is contained in:

committed by
Marco Trevisan

parent
3bf80a967c
commit
f798912cbd
@@ -326,8 +326,6 @@ struct _MetaWindow
|
||||
/* whether net_wm_icon_geometry has been set */
|
||||
guint icon_geometry_set : 1;
|
||||
|
||||
/* These are the flags from WM_PROTOCOLS */
|
||||
guint can_ping : 1;
|
||||
/* Globally active / No input */
|
||||
guint input : 1;
|
||||
|
||||
@@ -570,6 +568,7 @@ struct _MetaWindowClass
|
||||
ClutterInputDevice *source);
|
||||
gboolean (*is_focusable) (MetaWindow *window);
|
||||
gboolean (*is_stackable) (MetaWindow *window);
|
||||
gboolean (*can_ping) (MetaWindow *window);
|
||||
gboolean (*are_updates_frozen) (MetaWindow *window);
|
||||
};
|
||||
|
||||
@@ -665,6 +664,8 @@ void meta_window_set_focused_internal (MetaWindow *window,
|
||||
|
||||
gboolean meta_window_is_focusable (MetaWindow *window);
|
||||
|
||||
gboolean meta_window_can_ping (MetaWindow *window);
|
||||
|
||||
void meta_window_current_workspace_changed (MetaWindow *window);
|
||||
|
||||
void meta_window_show_menu (MetaWindow *window,
|
||||
|
Reference in New Issue
Block a user