Commit graph

92 commits

Author SHA1 Message Date
Dana Jansens
237a12749f shutdown the menus before the plugins are unloaded 2003-08-14 05:58:11 +00:00
Dana Jansens
1045079482 adjust for changes to the parsing api.
split the menu into its own file.
2003-08-12 19:18:21 +00:00
Dana Jansens
c90da6da78 move the keyboard and mouse plugins into the kernel for mucho sexiness.
make workspace changing a grabbed/interactive process like focus cycling is, with the popup and all.
this is some hot shit.
2003-08-12 07:26:16 +00:00
Dana Jansens
5301ee3c89 oops missed one 2003-07-31 17:02:16 +00:00
Dana Jansens
52a6fc0830 expose exit_with_error 2003-07-31 16:56:35 +00:00
Dana Jansens
e5afb0db59 only load the session from file if a file was provided 2003-07-31 16:42:47 +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
5be0a82a35 use ob_debug for any debug printing and only display the output when its a debug build or when --debug is passed to it 2003-07-24 06:02:38 +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
d3454e326f add --g-fatal-warnings 2003-07-11 02:51:59 +00:00
Dana Jansens
81af5a8b0c add disabled buttons, instead of now showing buttons at all when they wont do anything, now show a disabled button instead. this severely breaks compatibility with blackbox themes since there is no good way to automiatically create a disabled button that i can think of, so if they dont exist in the theme you get black and white for the button.
when a window cant be resized, its handle is not removed but its grips are.

change allowing the user to disable individual decorations as that is overkill,
instead allow a toggle through the client.decorate boolean.
2003-07-10 23:27:02 +00:00
Dana Jansens
3044e87131 sync is in unistd.h 2003-07-10 19:40:22 +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
7f19b99a67 remove the use of the BINARY define. kill a compiler warning. 2003-07-10 04:38:02 +00:00
Dana Jansens
5d1718b81b use --foo instead of -foo for cmd line arguments 2003-07-05 17:22:42 +00:00
Dana Jansens
1cacfa85d0 add some comments and asserts to make sure I don't ever add this bug again 2003-06-29 17:29:10 +00:00
Dana Jansens
1ff042579e use fprintf not g_message in the signal handler. no mallocing allowed. 2003-06-28 19:28:46 +00:00
Dana Jansens
083afe5e2e add a call to g_set_prgname 2003-06-27 12:10:17 +00:00
Dana Jansens
197988af67 reorder startup so menu goes before config parsing 2003-06-22 08:29:40 +00:00
Dana Jansens
bab8b41f5c always use the session id from the session manager when setting the restart property 2003-06-21 16:37:39 +00:00
Dana Jansens
4cf23f53e7 add -sm-disable option 2003-06-21 09:51:15 +00:00
Dana Jansens
7f2550e0ce only show -sm-client-id in the help when session management is build in 2003-06-21 09:40:15 +00:00
Dana Jansens
e6739af282 session management works, and it can resume with its old ID, so it works with gnome-session 2003-06-21 09:38:51 +00:00
Dana Jansens
373a4584d6 make session management optional 2003-06-21 08:45:25 +00:00
Dana Jansens
9befe65a65 set the required properties so that session managers see openbox 2003-06-21 08:03:56 +00:00
Dana Jansens
b3e9fea103 add libSM *client* support, so we should work with gnome-session now! 2003-06-21 05:31:54 +00:00
Dana Jansens
dbe2851b91 more namespacing to Rr* 2003-06-21 02:15:13 +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
d1e355de2c this is a big one! im putting stats in here just cuz!
59 files changed, 1691 insertions(+), 607 deletions(-)
Adding the beginings of ObConf. Adding a resistance-config plugin for ObConf.
Creating an obparser library that obrender can use, the kernel can use, plugins can use, and ObConf and its plugins can use. (its just code for using libXml2)
2003-05-24 21:47:06 +00:00
Dana Jansens
d2857b1194 ECKS EM ELL 2003-05-24 15:35:26 +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
b77e40e1c7 rename "Slit" to "Dock".
add config options to the rc3 for the dock.
create a window_map, add DockApps to the ObWindow types, use the window_map for translating windows into objects for event handling (only one lookup now) and remove the old maps (client_map, menu_map).
2003-05-16 18:10:10 +00:00
Dana Jansens
58cfbb7f84 Clients Menus and Slits are all 'ObWindow's now.
Stacking is done with ObWindows.
Slits add themselves to the stacking order, as do clients of course.
Added some macros for adding/removing to the stacking order.
2003-05-11 19:44:33 +00:00
Dana Jansens
c4a5149016 add a slit to the kernel 2003-05-10 20:52:32 +00:00
Dana Jansens
bccb90b01d add shit that i made in the last week! 2003-05-09 19:58:08 +00:00
Dana Jansens
f26f23de50 all my changes while i was offline.
better alt-tabbing. better transient handling. i dont even know. lots of fucking cool shit so WATCH the FUCK OUT.
2003-05-09 16:57:17 +00:00
Dana Jansens
d3c094357d restore the desktop and focused window on restarts if possible 2003-04-25 22:35:08 +00:00
Dana Jansens
b5a5a8f384 don't wait(), the glib function does that for us woot. 2003-04-18 06:07:41 +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
de70d9ffc5 do not shadow parameter pls 2003-04-17 06:24:41 +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