forked from AuroraMiddleware/gtk
wayland: Implement the GdkDisplay get_setting vfunc
Just call the GdkScreen vfunc.
This commit is contained in:
parent
729aeef6ab
commit
4ffe9ca70c
@ -981,6 +981,14 @@ gdk_wayland_display_get_monitor_at_window (GdkDisplay *display,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gdk_wayland_display_get_setting (GdkDisplay *display,
|
||||
const gchar *name,
|
||||
GValue *value)
|
||||
{
|
||||
return gdk_wayland_screen_get_setting (GDK_WAYLAND_DISPLAY (display)->screen, name, value);
|
||||
}
|
||||
|
||||
static void
|
||||
gdk_wayland_display_class_init (GdkWaylandDisplayClass *class)
|
||||
{
|
||||
@ -1039,6 +1047,7 @@ gdk_wayland_display_class_init (GdkWaylandDisplayClass *class)
|
||||
display_class->get_n_monitors = gdk_wayland_display_get_n_monitors;
|
||||
display_class->get_monitor = gdk_wayland_display_get_monitor;
|
||||
display_class->get_monitor_at_window = gdk_wayland_display_get_monitor_at_window;
|
||||
display_class->get_setting = gdk_wayland_display_get_setting;
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -211,6 +211,10 @@ GdkWindow *_gdk_wayland_screen_create_root_window (GdkScreen *screen,
|
||||
int width,
|
||||
int height);
|
||||
|
||||
gboolean gdk_wayland_screen_get_setting (GdkScreen *screen,
|
||||
const gchar *name,
|
||||
GValue *value);
|
||||
|
||||
GdkScreen *_gdk_wayland_screen_new (GdkDisplay *display);
|
||||
void _gdk_wayland_screen_add_output (GdkScreen *screen,
|
||||
guint32 id,
|
||||
|
@ -560,7 +560,7 @@ set_capability_setting (GdkScreen *screen,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gboolean
|
||||
gdk_wayland_screen_get_setting (GdkScreen *screen,
|
||||
const gchar *name,
|
||||
GValue *value)
|
||||
|
Loading…
Reference in New Issue
Block a user