<para>Open collection windows with "Always on Top" set.</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>
+ <guilabel>Hide window in fullscreen</guilabel>
+ </term>
+ <listitem>
+ <para>When alt-tabbing, prevent Geeqie window showing twice.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <guilabel>Hide OSD in fullscreen</guilabel>
+ </term>
+ <listitem>
+ <para>Hide Overlay Screen Display in fullscreen mode.</para>
+ </listitem>
+ </varlistentry>
<varlistentry>
<term>
<guilabel>Recent folder list maximum size</guilabel>
fs->cursor_state = FULLSCREEN_CURSOR_HIDDEN;
+ fs->osd_flags = image_osd_get(imd);
+ if (options->hide_osd_in_fullscreen)
+ {
+ image_osd_set(imd, OSD_SHOW_NOTHING);
+ }
+
fs->normal_window = window;
fs->normal_imd = imd;
{
if (!fs) return;
+ if (options->hide_osd_in_fullscreen)
+ {
+ image_osd_set(fs->normal_imd, fs->osd_flags);
+ }
+
if (fs->saver_block_id) g_source_remove(fs->saver_block_id);
fullscreen_hide_mouse_disable(fs);
#include <glib.h>
#include <gtk/gtk.h>
+#include "image-overlay.h"
+
struct ImageWindow;
struct FullScreenData
guint busy_mouse_id; /**< event source id */
gint cursor_state;
+OsdShowFlags osd_flags;
guint saver_block_id; /**< event source id */
options->collections_duplicates = FALSE;
options->collections_on_top = FALSE;
options->hide_window_in_fullscreen = TRUE;
+ options->hide_osd_in_fullscreen = FALSE;
memset(&options->image.border_color, 0, sizeof(options->image.border_color));
memset(&options->image.alpha_color_1, 0, sizeof(options->image.alpha_color_1));
gboolean collections_duplicates;
gboolean collections_on_top;
gboolean hide_window_in_fullscreen;
+ gboolean hide_osd_in_fullscreen;
gchar *help_search_engine;
options->collections_duplicates = c_options->collections_duplicates;
options->collections_on_top = c_options->collections_on_top;
options->hide_window_in_fullscreen = c_options->hide_window_in_fullscreen;
+ options->hide_osd_in_fullscreen = c_options->hide_osd_in_fullscreen;
config_entry_to_option(help_search_engine_entry, &options->help_search_engine, nullptr);
options->external_preview.enable = c_options->external_preview.enable;
GtkWidget *with_rename;
GtkWidget *collections_on_top;
GtkWidget *hide_window_in_fullscreen;
+ GtkWidget *hide_osd_in_fullscreen;
GtkWidget *checkbox;
GtkWidget *tmp;
options->hide_window_in_fullscreen, &c_options->hide_window_in_fullscreen);
gtk_widget_set_tooltip_text(hide_window_in_fullscreen,"When alt-tabbing, prevent Geeqie window showing twice");
+ hide_osd_in_fullscreen = pref_checkbox_new_int(group, _("Hide OSD in fullscreen"),
+ options->hide_osd_in_fullscreen, &c_options->hide_osd_in_fullscreen);
+ gtk_widget_set_tooltip_text(hide_osd_in_fullscreen,"Hide Overlay Screen Display in fullscreen mode");
+
pref_spin_new_int(group, _("Recent folder list maximum size"), nullptr,
1, 50, 1, options->open_recent_list_maxsize, &c_options->open_recent_list_maxsize);
WRITE_NL(); WRITE_BOOL(*options, collections_duplicates);
WRITE_NL(); WRITE_BOOL(*options, collections_on_top);
WRITE_NL(); WRITE_BOOL(*options, hide_window_in_fullscreen);
+ WRITE_NL(); WRITE_BOOL(*options, hide_osd_in_fullscreen);
WRITE_NL(); WRITE_BOOL(*options, selectable_bars.menu_bar);
WRITE_NL(); WRITE_BOOL(*options, selectable_bars.status_bar);
if (READ_BOOL(*options, collections_duplicates)) continue;
if (READ_BOOL(*options, collections_on_top)) continue;
if (READ_BOOL(*options, hide_window_in_fullscreen)) continue;
+ if (READ_BOOL(*options, hide_osd_in_fullscreen)) continue;
if (READ_BOOL(*options, selectable_bars.menu_bar)) continue;
if (READ_BOOL(*options, selectable_bars.status_bar)) continue;