Skip to content

Commit

Permalink
Exit fullscreen mode when Properties is displayed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent Monin committed Apr 15, 2008
1 parent 4ad9ed8 commit 9225b41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/img-view.c
Original file line number Diff line number Diff line change
Expand Up @@ -1113,6 +1113,8 @@ static void view_info_cb(GtkWidget *widget, gpointer data)
ViewWindow *vw = data;
ImageWindow *imd;

if (vw->fs) view_fullscreen_toggle(vw, FALSE);

imd = view_window_active_image(vw);
info_window_new(image_get_fd(imd), NULL);
}
Expand Down
1 change: 1 addition & 0 deletions src/layout_image.c
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@ static void li_pop_menu_info_cb(GtkWidget *widget, gpointer data)
{
LayoutWindow *lw = data;

if (lw->full_screen) layout_image_full_screen_stop(lw);
info_window_new(layout_image_get_fd(lw), NULL);
}

Expand Down

0 comments on commit 9225b41

Please sign in to comment.