all repos — fluxbox @ ca5d12bbde61abfe3ad694464e58e01fa52fc389

custom fork of the fluxbox windowmanager

fix bug in Screen destructor, can lead to segfault at exit/restart
mathias mathias
commit

ca5d12bbde61abfe3ad694464e58e01fa52fc389

parent

b66caafa708019b0e22b67ba568cbf555769d5b2

1 files changed, 3 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.296 2004/10/18 01:24:23 akir Exp $ +// $Id$ #include "Screen.hh"

@@ -408,6 +408,8 @@ // Since workspacemenu holds client list menus (from workspace)

// we need to destroy it before we destroy workspaces m_workspacemenu.reset(0); + // slit must be destroyed before headAreas (Struts) + m_slit.reset(0); if (geom_pixmap != None) imageControl().removeImage(geom_pixmap);