mirror of
https://github.com/brl/mutter.git
synced 2025-02-04 23:54:09 +00:00
x11: Drop unused private functions
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3492>
This commit is contained in:
parent
74cab06b72
commit
57b59f95a6
@ -192,15 +192,6 @@ MetaX11Display *meta_x11_display_new (MetaDisplay *display, GError **error);
|
|||||||
|
|
||||||
void meta_x11_display_restore_active_workspace (MetaX11Display *x11_display);
|
void meta_x11_display_restore_active_workspace (MetaX11Display *x11_display);
|
||||||
|
|
||||||
Window meta_x11_display_create_offscreen_window (MetaX11Display *x11_display,
|
|
||||||
Window parent,
|
|
||||||
long valuemask);
|
|
||||||
|
|
||||||
Cursor meta_x11_display_create_x_cursor (MetaX11Display *x11_display,
|
|
||||||
MetaCursor cursor);
|
|
||||||
|
|
||||||
void meta_x11_display_reload_cursor (MetaX11Display *x11_display);
|
|
||||||
|
|
||||||
MetaWindow *meta_x11_display_lookup_x_window (MetaX11Display *x11_display,
|
MetaWindow *meta_x11_display_lookup_x_window (MetaX11Display *x11_display,
|
||||||
Window xwindow);
|
Window xwindow);
|
||||||
void meta_x11_display_register_x_window (MetaX11Display *x11_display,
|
void meta_x11_display_register_x_window (MetaX11Display *x11_display,
|
||||||
|
@ -109,6 +109,10 @@ static void meta_x11_display_set_input_focus (MetaX11Display *x11_display,
|
|||||||
MetaWindow *window,
|
MetaWindow *window,
|
||||||
uint32_t timestamp);
|
uint32_t timestamp);
|
||||||
|
|
||||||
|
static Window meta_x11_display_create_offscreen_window (MetaX11Display *x11_display,
|
||||||
|
Window parent,
|
||||||
|
long valuemask);
|
||||||
|
|
||||||
static MetaBackend *
|
static MetaBackend *
|
||||||
backend_from_x11_display (MetaX11Display *x11_display)
|
backend_from_x11_display (MetaX11Display *x11_display)
|
||||||
{
|
{
|
||||||
@ -1635,13 +1639,6 @@ meta_x11_display_create_offscreen_window (MetaX11Display *x11_display,
|
|||||||
&attrs);
|
&attrs);
|
||||||
}
|
}
|
||||||
|
|
||||||
Cursor
|
|
||||||
meta_x11_display_create_x_cursor (MetaX11Display *x11_display,
|
|
||||||
MetaCursor cursor)
|
|
||||||
{
|
|
||||||
return meta_create_x_cursor (x11_display->xdisplay, cursor);
|
|
||||||
}
|
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
get_screen_name (Display *xdisplay,
|
get_screen_name (Display *xdisplay,
|
||||||
int number)
|
int number)
|
||||||
@ -1672,14 +1669,14 @@ get_screen_name (Display *xdisplay,
|
|||||||
return scr;
|
return scr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
meta_x11_display_reload_cursor (MetaX11Display *x11_display)
|
meta_x11_display_reload_cursor (MetaX11Display *x11_display)
|
||||||
{
|
{
|
||||||
Cursor xcursor;
|
Cursor xcursor;
|
||||||
MetaCursor cursor = x11_display->display->current_cursor;
|
MetaCursor cursor = x11_display->display->current_cursor;
|
||||||
|
|
||||||
/* Set a cursor for X11 applications that don't specify their own */
|
/* Set a cursor for X11 applications that don't specify their own */
|
||||||
xcursor = meta_x11_display_create_x_cursor (x11_display, cursor);
|
xcursor = meta_create_x_cursor (x11_display->xdisplay, cursor);
|
||||||
|
|
||||||
XDefineCursor (x11_display->xdisplay, x11_display->xroot, xcursor);
|
XDefineCursor (x11_display->xdisplay, x11_display->xroot, xcursor);
|
||||||
XFlush (x11_display->xdisplay);
|
XFlush (x11_display->xdisplay);
|
||||||
|
@ -83,9 +83,6 @@ struct _MetaWindowX11Private
|
|||||||
|
|
||||||
MetaWindowX11Private * meta_window_x11_get_private (MetaWindowX11 *window_x11);
|
MetaWindowX11Private * meta_window_x11_get_private (MetaWindowX11 *window_x11);
|
||||||
|
|
||||||
void meta_window_x11_set_bypass_compositor_hint (MetaWindowX11 *window_x11,
|
|
||||||
MetaBypassCompositorHint requested_value);
|
|
||||||
|
|
||||||
void meta_window_x11_initialize_state (MetaWindow *window);
|
void meta_window_x11_initialize_state (MetaWindow *window);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user