all repos — fluxbox @ 048861bf35b9ad0cc72e16270e7c276eeb91079f

custom fork of the fluxbox windowmanager

fixed menu timestamp on root menu, Patch from Mathias Gumz
fluxgen fluxgen
commit

048861bf35b9ad0cc72e16270e7c276eeb91079f

parent

3f615b530f25a87ab5984a1cfc4d3436cafbdba5

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M src/Screen.ccsrc/Screen.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.268 2004/02/27 12:32:54 fluxgen Exp $ +// $Id: Screen.cc,v 1.269 2004/03/18 14:45:56 fluxgen Exp $ #include "Screen.hh"

@@ -1827,6 +1827,9 @@ '(', ')');

if (err>0) { m_rootmenu->setLabel(label.c_str()); defaultMenu = parseMenuFile(menu_file, *m_rootmenu.get(), row); + // save filename so we can check timestamp on the root menu + if (!defaultMenu) + fb->saveMenuFilename(menufilestr.c_str()); } else cerr<<"Error in menufile. Line("<<row<<")"<<endl; break;