Commit graph

35 commits

Author SHA1 Message Date
Dana Jansens
44be67844a don't reload the session on restart 2007-05-22 00:05:28 +00:00
Dana Jansens
53e75c5be4 we don't need to save the config type in the session because if they dont 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-14 00:41:30 +00:00
Dana Jansens
5a3154df08 add --debug-xinerama 2007-05-14 00:28:16 +00:00
Dana Jansens
5c96972bff save the config type in the session command line arguments 2007-05-13 22:57:42 +00:00
Dana Jansens
1bf9de3809 refactor all the session stuff. yay, it works properly now.
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-05-06 05:19:19 +00:00
Dana Jansens
2442cdfd85 1) translate all of openbox's output
2) update copyrights.
3) make release. ok that part not quite yet.
2007-04-23 17:56:35 +00:00
Dana Jansens
3678f8df8a use const char*'s when we should be 2007-03-18 15:07:30 +00:00
Dana Jansens
86b809df8a oops... I'm combining two different things in this commit... so I'll try be 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-04 09:01:52 +00:00
Dana Jansens
16f46c296d no tabs 2003-09-17 07:44:49 +00:00
Dana Jansens
c4e4760c41 add copyright headers, adjust --version output to include copyright, and --help output to not include version output. 2003-09-17 07:32:52 +00:00
Dana Jansens
f85a855417 make ob_exit() take an error code. don't exit with 0 for signals other than TERM and INT. 2003-09-17 02:50:20 +00:00
Dana Jansens
c1b2fc5324 make openbox base-dir spec compliant, and change the theme dir structure, so that themes go in $XDG_DATA_DIRS/themes/ with gtk/metacity/whateverelse themes 2003-09-15 19:20:05 +00:00
Dana Jansens
973507ff28 add the NONE cursor.
remove startup notification code from openbox.c and openbox.h
call the new sn_startup/shutdown for startupnotification.c
2003-09-03 20:39:11 +00:00
Dana Jansens
806a8c411f add a reconfigure action, also reconfigure on SIGUSR2.
support reconfiguring throughout the entire codebase.
2003-09-03 18:11:39 +00:00
Dana Jansens
b543af60b3 move expand_tilde to ob_expand_tilde in openbox.c to make it global.
use it on the command read in the menu parsing for pipe menus.
use it on the command read for execute/restart actions.
2003-09-01 00:53:55 +00:00
Dana Jansens
de4f92ccc6 using the ObMainLoop, which rulz the planet 2003-08-30 07:20:16 +00:00
Dana Jansens
52a6fc0830 expose exit_with_error 2003-07-31 16:56:35 +00:00
Dana Jansens
04a44af3c4 save and load the session save file, though its data is not used yet! 2003-07-24 18:19:26 +00:00
Dana Jansens
845833226b add the --replace command line option, and support for the WM_Sn selection 2003-07-22 18:09:41 +00:00
Dana Jansens
1ffc7fa9ec move ob_pointer_pos to screen_pointer_pos 2003-07-10 19:07:58 +00:00
Dana Jansens
bddbe94328 make ob_state a function so it cant be changed outside of openbox.c 2003-07-10 19:06:00 +00:00
Dana Jansens
35418ca0fc remove the ob_root var, its redundant of what Xlib already provides 2003-07-10 19:01:41 +00:00
Dana Jansens
ec908528cf use gint 2003-07-10 18:54:54 +00:00
Dana Jansens
a46b4ee434 ob_remote has been killed, remove ob_sync from the public header, its only used internally 2003-07-10 18:53:39 +00:00
Dana Jansens
6c39d26803 the --rc arg and rc_path var wasnt even being used so just rm it 2003-07-10 18:52:08 +00:00
Dana Jansens
eea43e6488 make the ob_restart/shutdown stuff static vars and expose them only through functions ob_restart_other(), ob_restart() and ob_exit() 2003-07-10 18:50:47 +00:00
Dana Jansens
276b2be581 add misc.h with some standard enumerations with proper prefixing and capitalizations.
use the new enums throughout.

provide keycodes and cursors through ob_cursor and ob_keycode functions, which use the new misc.h enums for picking the cursor and keycode.
2003-07-10 06:18:47 +00:00
Dana Jansens
b1f5555218 put the render theme into a struct 2003-06-21 01:53:26 +00:00
Dana Jansens
a4a0cb7829 fixed to accomodate the changes to the render/ API. 2003-06-21 00:42:47 +00:00
Dana Jansens
2b2beddc74 add (optional) support for showing a busy cursor via startup notification 2003-05-18 02:10:26 +00:00
Dana Jansens
43139ed373 add the left/right/top/bottom direction arrows and use them for resizing those ways 2003-04-17 16:18:34 +00:00
Dana Jansens
25ffe6b566 add support for interactive/keyboard move/resize 2003-04-17 06:17:06 +00:00
Dana Jansens
11b79778ad add more cursors for move/resizing, and use the arrows not the angle brackets 2003-04-17 02:15:09 +00:00
Dana Jansens
35c095014e add -help -version -sync and -rc cmd line options 2003-03-20 22:14:15 +00:00
Dana Jansens
f8a47de5ec merge the C branch into HEAD 2003-03-16 21:11:39 +00:00