Exit fullscreen mode when Properties is displayed.
author |
zas_ |
date |
Tue, 15 Apr 2008 07:16:51 +0000 |
parents |
95fe470440ad |
children |
1eaea84877ce |
files |
src/img-view.c src/layout_image.c |
diffstat |
2 files changed, 3 insertions(+), 0 deletions(-)
[+]
|
line diff
--- a/src/img-view.c Tue Apr 15 06:56:25 2008 +0000
+++ b/src/img-view.c Tue Apr 15 07:16:51 2008 +0000
@@ -1113,6 +1113,8 @@
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);
}
--- a/src/layout_image.c Tue Apr 15 06:56:25 2008 +0000
+++ b/src/layout_image.c Tue Apr 15 07:16:51 2008 +0000
@@ -614,6 +614,7 @@
{
LayoutWindow *lw = data;
+ if (lw->full_screen) layout_image_full_screen_stop(lw);
info_window_new(layout_image_get_fd(lw), NULL);
}