Commit graph

3348 commits

Author SHA1 Message Date
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
3340aaeb4d declare vars at the top of the block 2003-07-22 16:26:19 +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
Dana Jansens
463c0004a1 update to new version of gettext 2003-07-22 16:14:08 +00:00
Dana Jansens
a55c3ae601 more stuff to ignore 2003-07-22 16:13:49 +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
fd19711e6a If there is a pid="true" attribute in the <menu plugin="fifo_menu">
tag, append .pid to the fifo files. This allows for more than one
openbox to be run by the same user and use fifo menus.
2003-07-19 19:09:38 +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
5fce782499 useless code move 2003-07-12 15:31:56 +00:00
Dana Jansens
4c1641bfc7 simple code cleanup 2003-07-12 06:17:13 +00:00
Dana Jansens
70a38951b3 removed the RrEndian so using LSBFirst always now. hopefully this works! 2003-07-11 16:07:43 +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
6fdf481b27 same default offsets for all endian machines 2003-07-11 03:19:51 +00:00
Dana Jansens
6f1c3223e0 some input from woobie and changed the menu stuff 2003-07-11 03:12:56 +00:00
Dana Jansens
b0aefaf565 extra menu tag 2003-07-11 02:59:59 +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
fdbeee7e71 attempt #2 2003-07-11 02:21:46 +00:00
Dana Jansens
f5f7e84ab4 oops extra menu_layout 2003-07-11 01:33:50 +00:00
Dana Jansens
c920b4769e a full style defn.. 2003-07-11 01:25:21 +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
b0e8e276e4 readd the Makefile 2003-07-10 23:17:53 +00:00
Dana Jansens
32bf052294 readd the Makefile 2003-07-10 23:17:00 +00:00
Dana Jansens
112629400b simply startup/shutdown 2003-07-10 21:13:35 +00:00
Dana Jansens
c868e91fe7 add some more contributors 2003-07-10 20:57:48 +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
Dana Jansens
59f318e897 prefix and capitalize the ObFocusFallbackType enum 2003-07-10 16:42:42 +00:00
Dana Jansens
5c2e4cced4 use the ObOrientation enum instead of a horz bool for configuring the dock's orientation 2003-07-10 16:38:45 +00:00
Dana Jansens
d206303a9f prefixing for the dock. use ObDirection instead of dupliacting it in another enum for the dock's placement 2003-07-10 16:29:40 +00:00
Dana Jansens
33a2cdbeb9 prefixing for the Popup->ObPopup struct 2003-07-10 15:22:36 +00:00
Dana Jansens
06d3487d49 dont need client.h in this header 2003-07-10 07:17:05 +00:00
Dana Jansens
7d943a950e prefixing and capitalization for the Frame->ObFrame struct and the Context->ObFrameContext enum and its constants. 2003-07-10 07:16:19 +00:00
Dana Jansens
5be23ec5a4 prefix Group to ObGroup 2003-07-10 07:03:40 +00:00
Dana Jansens
e4be1f860b prefix TRAN_GROUP to OB_TRAN_GROUP 2003-07-10 07:01:13 +00:00