mirror of
https://github.com/brl/mutter.git
synced 2025-02-04 15:44:10 +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);
|
||||
|
||||
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,
|
||||
Window xwindow);
|
||||
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,
|
||||
uint32_t timestamp);
|
||||
|
||||
static Window meta_x11_display_create_offscreen_window (MetaX11Display *x11_display,
|
||||
Window parent,
|
||||
long valuemask);
|
||||
|
||||
static MetaBackend *
|
||||
backend_from_x11_display (MetaX11Display *x11_display)
|
||||
{
|
||||
@ -1635,13 +1639,6 @@ meta_x11_display_create_offscreen_window (MetaX11Display *x11_display,
|
||||
&attrs);
|
||||
}
|
||||
|
||||
Cursor
|
||||
meta_x11_display_create_x_cursor (MetaX11Display *x11_display,
|
||||
MetaCursor cursor)
|
||||
{
|
||||
return meta_create_x_cursor (x11_display->xdisplay, cursor);
|
||||
}
|
||||
|
||||
static char *
|
||||
get_screen_name (Display *xdisplay,
|
||||
int number)
|
||||
@ -1672,14 +1669,14 @@ get_screen_name (Display *xdisplay,
|
||||
return scr;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
meta_x11_display_reload_cursor (MetaX11Display *x11_display)
|
||||
{
|
||||
Cursor xcursor;
|
||||
MetaCursor cursor = x11_display->display->current_cursor;
|
||||
|
||||
/* 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);
|
||||
XFlush (x11_display->xdisplay);
|
||||
|
@ -83,9 +83,6 @@ struct _MetaWindowX11Private
|
||||
|
||||
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);
|
||||
|
||||
G_END_DECLS
|
||||
|
Loading…
x
Reference in New Issue
Block a user