#include "ephy-zoom.h"
#include "ev-application.h"
+#include "ev-dualscreen.h"
#include "ev-document-factory.h"
#include "ev-document-find.h"
#include "ev-document-fonts.h"
}
static void
-ev_window_run_presentation_wrapper(){
+ev_window_run_presentation_wrapper (EvWindow *window)
+{
+ if ( get_num_monitors(GTK_WINDOW(window)) > 1) {
+ EvWindow *presentation_window = window;
+ EvDSCWindow *control = ev_dscwindow_get_control();
+
+ ev_dscwindow_set_presentation (control, presentation_window,
+ presentation_window->priv->document);
+ gtk_window_present (GTK_WINDOW (control));
+ } else
+ ev_window_stop_presentation (window, TRUE);
+
}
static void
-ev_window_stop_presentation_wrapper(){
+ev_window_stop_presentation_wrapper(EvWindow *window, gboolean unfullscreen_window)
+{
}
void