Bug 5793 - Openbox fails to exit back to prompt on logout, after upgrade
Status: RESOLVED INVALID
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: 3.5.0
Hardware: PC Linux
: P3 major
Assignee: Dana Jansens
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2012-11-01 12:43 EDT by Terry.Pilling
Modified: 2013-08-11 14:20:21 EDT
0 users

See Also:



Description Terry.Pilling 2012-11-01 12:43:33 EDT
The following fix is from:

https://bbs.archlinux.org/viewtopic.php?id=151786 

I managed to kluge something that works. However, I am not all that sure where the problem originally comes from. I have a suspicion (without any real foundation) it may be a threading problem related to this:

https://mail.gnome.org/archives/gtk-app … 00073.html

Anyway, here is how I got it working (developers may want to fix it some other more elegant way)

Edit the source code in openbox-3.5.0/openbox/openbox.c 

so that the ob_exit function becomes:

void ob_exit(gint code)
{
     exitcode = code;
     g_main_loop_unref(ob_main_loop);
     exit(0);
}

The WM will now exit when you ask it to. This is not likely the best solution, but better than kill -9, at least until the real openbox guys do a real fix.
Comment 1 Terry.Pilling 2012-11-02 21:29:40 EDT
This has now been fixed. It was not a problem with openbox, it was a problem with pango. Here is the solution and the patch:

https://bugzilla.gnome.org/show_bug.cgi?id=687470
Comment 2 Dana Jansens 2013-08-11 14:20:21 EDT
Thanks for the link!