all repos — fluxbox @ 1ddd177d1ab25503d18b94dc458de409de08095d

custom fork of the fluxbox windowmanager

Fix fbsetroot segfault when DISPLAY unset
markt markt
commit

1ddd177d1ab25503d18b94dc458de409de08095d

parent

aad6845c91affaff2abb27fb23b301db7ddbbc1e

2 files changed, 10 insertions(+), 3 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,5 +1,8 @@

(Format: Year/Month/Day) Changes for 1.0rc2: +*06/06/29: + * Fix fbsetroot segfault when DISPLAY is unset (Mark) + util/fbsetroot.cc *06/06/28: * Linear cycling wasn't affecting normal cycling order (Mark) WorkspaceCmd.cc
M util/fbsetroot.ccutil/fbsetroot.cc

@@ -419,8 +419,12 @@

display_name = argv[i]; } } - - fbsetroot app(argc, argv, display_name); - + + try { + fbsetroot app(argc, argv, display_name); + } catch (std::string error_str) { + cerr<<_FB_CONSOLETEXT(Common, Error, "Error", "Error message header")<<": "<<error_str<<endl; + } + return (0); }