summaryrefslogtreecommitdiff
path: root/openbox/session.h
AgeCommit message (Collapse)Author
2009-11-24Combine the Exit and SessionLogout actionsDana Jansens
Just "do the right thing" based on if you are connected to a session manager or not.
2008-03-02add a SessionLogout actionDana Jansens
2007-05-23save and restore the desktop number/layout/names in the session.Dana Jansens
also fix a segfault in some debug prints, printing ints as strings!
2007-05-22put back the check for the window type when restoring the session. if you ↵Dana Jansens
only have 1 firefox window in the saved session, the check for duplicates won't help
2007-05-22when restoring the session, dont restore windows which appear more than once ↵Dana Jansens
in the session with the same identifiers, because we can;t tell them apart
2007-05-17a little check that catches firefox and other buggy apps, which set the same ↵Dana Jansens
wmcommand across sessions on different window types. type is a pretty obvious check its hard for it to be a false alarm
2007-05-06save session state for old clients that dont use XSMP. more session ↵Dana Jansens
improvements. with ksmserver we can save a few things before the clients go messing with stuff during the interactive phase.
2007-05-06refactor all the session stuff. yay, it works properly now.Dana Jansens
make sessions save the desktop being displayed. can we get rid of config_firstdesk now? refactor startup a bit. focus the window that was focused when we were restarted. have clients properly restore their session state. add undecorated to the saved session state for clients.
2007-04-231) translate all of openbox's outputDana Jansens
2) update copyrights. 3) make release. ok that part not quite yet.
2007-03-04oops... I'm combining two different things in this commit... so I'll try be ↵Dana Jansens
clear 1. when another wm requests to replace openbox, openbox exits. but the SM will just restart openbox unless we tell it not to. so now ob_exit_replace() will change the session manager's view of openbox to not restart it. that way the new WM will be able to run. 2. allow windows to move themselves off of the screen 90% of the way, if they really want to. but only 90% to the left, right, and bottom of the screen. it won't let the app move off the top of the screen on its own at all now, since hiding the titlebar on you without you being a part of the process is pretty darn evil! this is really to address bug # 2982 - for the tilda application. but i guess if windows really want to move off the screen, who's to say no? also, every other window manager will let them - except metacity won't let them on the left/top side of the screen.
2007-03-03make a copy of the argc and argv instead of modifying the real onesDana Jansens
this means that when openbox is restared it doesn't lose it's SM related command line args, they get passed to the new openbox same as they were passed to the one exiting.
2007-03-03commited things i wasn't supposed to. wow i suck.Dana Jansens
2007-03-03reverse that last commit.. that was by accident..Dana Jansens
2003-10-15consistant glib type usageDana Jansens
2003-09-17no tabsDana Jansens
2003-09-17add copyright headers, adjust --version output to include copyright, and ↵Dana Jansens
--help output to not include version output.
2003-09-04move session code out of openbox.c all into session.cDana Jansens
remove --sm-save-file and --sm-client-id from argv so that they dont get reused when doing a restart.
2003-08-25save the stacking order of the windows, and sort the saved session data ↵Dana Jansens
based on stacking when it is loaded. make the list public.
2003-07-30restore saved session data for applicationsDana Jansens
2003-07-24save and load the session save file, though its data is not used yet!Dana Jansens