add check for gtk+ with multihead support and define HAVE_GTK_MULTIHEAD if

2002-07-27  Mark McLoughlin  <mark@skynet.ie>

        * configure.in: add check for gtk+ with multihead
        support and define HAVE_GTK_MULTIHEAD if found.

2002-07-27  Mark McLoughlin  <mark@skynet.ie>

        Add support for rendering the wallpaper on
        a particular physical screen.

        * applier.[ch]:
        (bg_applier_init): init screen and root_window.
        (bg_applier_class_init), (bg_applier_set_prop),
        (bg_applier_get_prop): add "screen" property.
        (bg_applier_new_for_screen): implement.
        (render_wallpaper), (render_to_screen),
        (create_pixmap), (wallpaper_full_cover_p): use the
        screen and root window information.
        (make_root_pixmap): add a GdkScreen arg, actually
        use the display we opened, use the correct root
        window and not the default one
        (set_root_pixmap): add a GdkScreen arg, use the
        default display, use the correct root window.
This commit is contained in:
Mark McLoughlin 2002-07-28 19:09:02 +00:00 committed by Mark McLoughlin
parent 73b80d87c7
commit 13e1dd836d
5 changed files with 215 additions and 46 deletions

View file

@ -62,6 +62,8 @@ GObject *bg_applier_new (BGApplierType type);
GObject *bg_applier_new_at_size (BGApplierType type,
const guint width,
const guint height);
GObject *bg_applier_new_for_screen (BGApplierType type,
GdkScreen *screen);
void bg_applier_apply_prefs (BGApplier *bg_applier,
const BGPreferences *prefs);