summaryrefslogtreecommitdiff
path: root/openbox/session.c
AgeCommit message (Collapse)Author
2009-12-21rename the obt_parse library to obt_xml (since it is very xml specific)Dana Jansens
2009-12-08Merge branch 'backport' into workDana Jansens
Conflicts: openbox/actions/all.h openbox/actions/session.c openbox/client.c openbox/event.c openbox/grab.c
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-10-27Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/client.c openbox/prop.c openbox/prop.h
2008-10-27No \n on ob_debug in this branch.Mikael Magnusson
2008-07-13Properly escape strings before writing XML.Nico Golde
2008-03-08Merge branch 'backport' into workMikael Magnusson
Conflicts: obt/keyboard.c openbox/actions/cyclewindows.c openbox/actions/directionalwindows.c openbox/frame.c openbox/openbox.c
2008-03-08Remove double newlines.Mikael Magnusson
2008-03-03add some debug prints in the session codeDana Jansens
2008-03-03Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/session.c
2008-03-03don't save our state for SmSaveGlobal session saves, just Local onesDana Jansens
2008-03-03use SmSaveGlobal to log out. this will make apps save their documents or ↵Dana Jansens
whatever so that you don't lose things, but it won't take a snapshot of the current session
2008-03-02Merge branch 'backport' into workDana Jansens
Conflicts: openbox/actions/all.h openbox/event.c openbox/prompt.c
2008-03-02add a SessionLogout actionDana Jansens
2008-02-21Merge branch 'backport' into workDana Jansens
Conflicts: openbox/openbox.c openbox/session.c
2008-02-21Change all single quotes to double quotes in strings.Mikael Magnusson
2008-02-15() -> (void)Mikael Magnusson
2008-01-31make ob_debug use the g_log system, and make openbox log messages to..a log ↵Dana Jansens
file ! this will help everyone since most people do not run openbox in a terminal..
2008-01-31put openbox saved sessions in CACHE_HOME not DATA_HOME. more correct! i think.Dana Jansens
2008-01-20move the xdg path stuff into obt/paths.[ch], and make render and openbox use itDana Jansens
2008-01-20small api change for parsingDana Jansens
2008-01-20update openbox to use the current parser interface in libobtDana Jansens
there is also some random bug fixes for other libobt stuff in here.
2008-01-20make openbox use the obt prop.c/h stuffDana Jansens
holy search and replace batman
2007-07-17remove trailing whitespaceMikael Magnusson
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-22don't reload the session on restartDana Jansens
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-14we don't need to save the config type in the session because if they dont ↵Dana Jansens
run their DE with the openbox-*-session command, openbox won't be loaded anyhow. and if they do, they the var will be set and doesn't need to come from the session.
2007-05-13save the config type in the session command line argumentsDana Jansens
2007-05-10add some debug printsDana Jansens
make it C compliant. some random cleanups
2007-05-09mem leakDana Jansens
2007-05-09possible buffer overflow?Dana Jansens
2007-05-06memory leakDana Jansens
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-06a bunch of thigns got squashed into this commit.. sorry..Dana Jansens
1. soem bug fixes for window stacking 2. clarify some functions behavior with their names 3. add (untested) support for legacy fullscreen apps. i have no idea what they do on a multihead xinerama setup though and if this would help there or need some changes.
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-23extra commaDana Jansens
2007-04-231) translate all of openbox's outputDana Jansens
2) update copyrights. 3) make release. ok that part not quite yet.
2007-03-04fix compiling without session manager supportMikael Magnusson
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-03don't change the restart type with the session manager when openbox exits. ↵Dana Jansens
it's not like something else will magically run instead. if we exit, we should get started again, that's why --replace exists.
2007-03-03if sm is disabled, there is nothing to shutdown, so don't go trying to free ↵Dana Jansens
things and stuff. that can only be a bug
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-03reverse that last commit.. that was by accident..Dana Jansens
2007-03-03add --reconfigure option to openbox.Dana Jansens
this option will open the display, find the current openbox's PID from the root window, and send a SIGUSR2 to it, telling it to reconfigure. then it exits. no longer printing help if you pass an invalid argument to openbox since that is the case, session_startup doesnt need to be modifying the args anymore
2003-11-11use g_snprintf instead of sprintfDana Jansens
2003-11-11dont go changing the session file all the time, and so then dont need to ↵Dana Jansens
unlink so we dont end up stalling when the same session is asked for more than once.
2003-10-25g_strerrorDana Jansens