diff options
author | Bert Münnich <be.muennich@gmail.com> | 2013-03-19 20:40:11 +0100 |
---|---|---|
committer | Bert Münnich <be.muennich@gmail.com> | 2013-03-19 21:14:58 +0100 |
commit | 447bc1c784cc358078f4ffbbac0c63ee74a069c8 (patch) | |
tree | f34cb8ef2ed52903d3f8be5bc902565b2ce2f29e /commands.c | |
parent | 9ee34477f81dc9630e902e8059e56fa665ad007b (diff) | |
parent | 825c52c33fcaec5dbaa361cb39835987de8312f2 (diff) |
Merge branch 'asyncinfo'
Diffstat (limited to 'commands.c')
-rw-r--r-- | commands.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -33,6 +33,7 @@ void cleanup(void); void remove_file(int, bool); void load_image(int); +void open_info(void); void redraw(void); void reset_cursor(void); void animate(void); @@ -92,10 +93,13 @@ bool it_toggle_fullscreen(arg_t a) bool it_toggle_bar(arg_t a) { win_toggle_bar(&win); - if (mode == MODE_IMAGE) + if (mode == MODE_IMAGE) { img.checkpan = img.dirty = true; - else + if (win.bar.h > 0) + open_info(); + } else { tns.dirty = true; + } return true; } |