mirror of
https://github.com/brl/mutter.git
synced 2024-11-11 00:26:40 -05:00
window: Remove meta_window_is_modal
It relies on EWMH concepts. Wayland simply has a MODAL_DIALOG type.
This commit is contained in:
parent
cdfc6f5b53
commit
cdb7947dd1
@ -9739,23 +9739,6 @@ meta_window_is_remote (MetaWindow *window)
|
||||
return window->is_remote;
|
||||
}
|
||||
|
||||
/**
|
||||
* meta_window_is_modal:
|
||||
* @window: a #MetaWindow
|
||||
*
|
||||
* Queries whether the window is in a modal state as described by the
|
||||
* _NET_WM_STATE protocol.
|
||||
*
|
||||
* Return value: (transfer none): TRUE if the window is in modal state.
|
||||
*/
|
||||
gboolean
|
||||
meta_window_is_modal (MetaWindow *window)
|
||||
{
|
||||
g_return_val_if_fail (META_IS_WINDOW (window), FALSE);
|
||||
|
||||
return window->wm_state_modal;
|
||||
}
|
||||
|
||||
/**
|
||||
* meta_window_get_mutter_hints:
|
||||
* @window: a #MetaWindow
|
||||
|
@ -211,7 +211,6 @@ guint32 meta_window_get_user_time (MetaWindow *window);
|
||||
int meta_window_get_pid (MetaWindow *window);
|
||||
const char *meta_window_get_client_machine (MetaWindow *window);
|
||||
gboolean meta_window_is_remote (MetaWindow *window);
|
||||
gboolean meta_window_is_modal (MetaWindow *window);
|
||||
gboolean meta_window_is_attached_dialog (MetaWindow *window);
|
||||
const char *meta_window_get_mutter_hints (MetaWindow *window);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user