Commit graph

668 commits

Author SHA1 Message Date
Dana Jansens
09f178aa54 use the macro 2003-07-28 16:10:06 +00:00
Dana Jansens
eb1fb5580e keep apps from moving/maping their titlebar underneath left/top panels 2003-07-28 07:19:47 +00:00
Dana Jansens
7da335f944 set teh clone comamnd 2003-07-28 05:32:39 +00:00
Dana Jansens
7b00edb343 use char not a long, since we're telling the SM that its 1 byte lone 2003-07-28 05:29:58 +00:00
Dana Jansens
4d7a7d9d4c save the commands on startup 2003-07-28 05:20:50 +00:00
Dana Jansens
f531b18a44 use the path properly for the session file 2003-07-28 04:53:51 +00:00
Dana Jansens
ecab6fe3c8 use teh save file not the session id 2003-07-28 04:45:45 +00:00
Scott Moynes
73374510cc demand load plugins from the menu 2003-07-28 03:41:28 +00:00
Scott Moynes
f37a919095 Menu stuff.
Testing may begin.
2003-07-28 02:52:56 +00:00
Scott Moynes
b8715ba309 Close menu on click if outside the menu.
I think, haven't tested.
2003-07-26 19:58:22 +00:00
Scott Moynes
702995014a more fixes 2003-07-26 14:48:10 +00:00
Dana Jansens
364dfe10ab dont stack groups together 2003-07-26 06:49:33 +00:00
Scott Moynes
3c92311b3c Some menu updates.
Don't talk to me about menus.
2003-07-26 06:02:58 +00:00
Dana Jansens
11cde9683d add client_search_transient which searches the tree from a client down for a client 2003-07-25 13:25:09 +00:00
Dana Jansens
1afc4180d7 stacking fixes 2003-07-25 06:27:37 +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
Scott Moynes
d51702affa I had a commit message but my commit got stepped on so fuck it.
No one cares what I think anyway.
If the menu navigation isn't EXACTLY FUCKING RIGHT I WILL REMOVE IT
AND SOME OTHER POOR FUCK CAN PUT UP WITH ALL THE FUCKING BULLSHIT.
2003-07-24 06:10:55 +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
b6e3e1bc7e unhilite the entry for the submenu when it is closed 2003-07-23 03:58:50 +00:00
Scott Moynes
0e69ae2b96 * Change xml parsing to pass the parent node, rather than the first
child.
* Add x,y co-ordinates on showmenu action so we can place menus on keypress.
2003-07-23 01:45:44 +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
6a7d4de789 add the MANAGER atom.
allow prop_message to be used with a user-defined mask instead of only with the NetWM mask
2003-07-22 18:06:45 +00:00
Dana Jansens
a057d14c8b stop shownig the desktop when a new window maps 2003-07-22 16:50:23 +00:00
Dana Jansens
56527d41b7 add a func to find a menu entry from a submenu.
keep menu entries highlighted while they have their submenu open
2003-07-22 16:41:08 +00:00
Dana Jansens
31cdb95963 add a func to find a menu entry from a submenu 2003-07-22 16:40:48 +00:00
Dana Jansens
ea6258ce0f add a menuOverlap property to themes, and use it in the submenu placement 2003-07-22 16:14:42 +00:00
Scott Moynes
ea53850762 Keyboard navigatable menus 2003-07-21 23:19:03 +00:00
Scott Moynes
e9a8e272c0 Fix a couple memory leaks. 2003-07-19 23:58:45 +00:00
Scott Moynes
22ff8c587d Menu parsing updates for plugins.
FIFO menus are the only plugin that takes advantage of this.
Example:
<menu id="root" label="Openbox 3">
  <menu id="fonk" label="fonk" plugin="fifo_menu">
  </menu>
</menu>

This creates a FIFO ~/.openbox/fifo_menu/fonk to which you can send
menus to. The menus sent to it must be like
<fifo>
  <item>
   etc...
</fifo>

I think. If my memory serves me right.

It is all hideous, but I just wanted to experiment and see if it was
possible.
2003-07-17 01:40:27 +00:00
Dana Jansens
4c1641bfc7 simple code cleanup 2003-07-12 06:17:13 +00:00
Dana Jansens
9d7244e646 when a transient maps on another desktop, give it focus when it deserves it 2003-07-11 15:32:03 +00:00
Dana Jansens
d3454e326f add --g-fatal-warnings 2003-07-11 02:51:59 +00:00
Dana Jansens
1546430f12 fix a seggie i introduced, going too far in the dockapps list 2003-07-11 02:51:03 +00:00
Dana Jansens
130a42710c move to the desktop of the activated window 2003-07-11 00:08:43 +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
112629400b simply startup/shutdown 2003-07-10 21:13:35 +00:00
Dana Jansens
3044e87131 sync is in unistd.h 2003-07-10 19:40:22 +00:00
Dana Jansens
a95dc346fe prefix and capitalize ObMenu ObMenuEntry and ObMenuEntryRenderType
make the ObMenuEntryRenderType a standard enum instead bitflags
2003-07-10 19:27:12 +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
452f3f8aae remove useless include 2003-07-10 18:44:49 +00:00
Dana Jansens
d1d84711a2 replace the focus_backup with the screen_support_win, we dont need 2 offscreen windows. 2003-07-10 18:44:27 +00:00
Dana Jansens
120623d34e use the xerror stuff to trap errors instead of dupliacted the effort here 2003-07-10 17:11:07 +00:00
Dana Jansens
85112c4d08 prefix the Timer->ObTimer and TimeoutHandler->ObTimeoutHandler shitz 2003-07-10 17:06:30 +00:00
Dana Jansens
122d55fbad prefixing and capitalizing the StackLayer -> ObStackingLayer enum.
less includes in headers for less rebuilding on changes
2003-07-10 17:03:05 +00:00