Mikael Magnusson
492a26844c
remove the hilightFirst option since it wasnt actually used in the code
2004-10-06 12:42:46 +00:00
Dana Jansens
ba46126706
indenting
2003-10-12 19:12:39 +00:00
Dana Jansens
b49b7c415c
free menuframes when they fail to show themselves
2003-10-11 06:47:11 +00:00
Dana Jansens
6f5292c87e
define DEBUG, NDEBUG, and G_DISABLE_ASSERTS
2003-10-01 17:28:12 +00:00
Dana Jansens
b7b187693e
start menus with the cursor inside it, not over the border, a little closer to the items..
2003-09-28 09:48:58 +00:00
Dana Jansens
f6ba1f27b9
halfway through client changes but...
...
should fix crashes irt actions in the action queue for clients that have been destroyed. now those actions are skipped or performed without a client as possible.
2003-09-28 06:31:00 +00:00
Dana Jansens
adb9bb700f
give actions a ref count
2003-09-26 16:47:12 +00:00
Dana Jansens
0cceca2303
dont add null actions to the list
2003-09-21 16:42:15 +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
ec4c9b0c1f
remoev unneeded include
2003-09-17 02:39:59 +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
abd2f914df
fix a mem leak, and make suer the menus arent visible when they are modified
2003-09-14 21:04:30 +00:00
Dana Jansens
36b78531e9
hide menus before showing a new menu root
2003-09-10 18:14:44 +00:00
Dana Jansens
aafa246e2f
if the menu path starts with a /, then just load it, don't try the prefixes
2003-09-08 08:43:49 +00:00
Dana Jansens
84a60ebbfb
dont use obsolete xmlChildrenNode
2003-09-07 23:34:01 +00:00
Dana Jansens
78282959f9
little bit of an actions overhaul, added action_run* so that duplicated code can all be in the same place now woot.
...
allow actions to specify when they can be used (ShowMenu cant in the OB_USER_ACTION_MENU_SELECTION case)
remove KeyboardMove ad KeyboardResize. Instead, just use Move and Resize and determine if it should be a keyboard move/resize in the code
2003-09-07 19:03:20 +00:00
Dana Jansens
2811fd1992
code style fix
2003-09-04 15:37:13 +00:00
Dana Jansens
8617f504a7
optimization. don't need a glist where a simple pointer will suffice.
2003-09-04 15:35:56 +00:00
Dana Jansens
3d1e2ab1b4
when a pipe menu is killed, kill all its submenus as well
2003-09-04 15:30:34 +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
5e5fdb1666
make the client destructor a GDestroyNotify
2003-09-03 08:10:51 +00:00
Dana Jansens
67f9061a7a
move the default menu to menu.xml
2003-09-02 17:46:37 +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
43c5c01d33
parse all the menu files specified
2003-08-31 21:29:43 +00:00
Dana Jansens
8e76e32863
add destructor functions for clients that you acn subscribe with, and use these instead of hardcoding special cases in the unmanage code
2003-08-30 17:46:23 +00:00
Dana Jansens
c3b02749d7
add pipe-menus
2003-08-30 05:15:12 +00:00
Dana Jansens
dcdc325f5c
ultra-keyboard-controlled-menus
2003-08-29 08:44:55 +00:00
Dana Jansens
485fbff15d
remove plugins from the menu parsing
2003-08-29 07:57:18 +00:00
Dana Jansens
700e551390
fix a bunch of memleaks from valgrind and stuff
2003-08-28 19:10:36 +00:00
Dana Jansens
ec9dd7fdd7
new method for loading menu files etc
2003-08-28 17:32:49 +00:00
Dana Jansens
9e85e930da
fix for using freed memory to exec stuff
2003-08-28 17:15:10 +00:00
Dana Jansens
c34915ae8d
make submenus not require the menu to exist when they are created, not until they are shown.
...
crash fix in client_menu
2003-08-28 07:49:57 +00:00
Dana Jansens
f7eb47dba4
make client-list-menu work too
...
more menu cleanups
2003-08-28 07:34:03 +00:00
Dana Jansens
ffba11aeb0
load menu plugins automatically from whats in the menu file
...
menu fixups
move enabled into the 'normal menu item' specific data stuff
2003-08-28 06:32:27 +00:00
Dana Jansens
615cbd9607
change the menu plugin interface, no need for the create/destroy functions any more.
...
redo the client-menu plugin to work with the new menu api
2003-08-28 05:44:13 +00:00
Dana Jansens
c34ef4028e
half way through the changes to new menu code/design. hot shit. static menus work, on to plugins next.
2003-08-28 02:10:23 +00:00
Dana Jansens
d61edbe219
fix the offsets used to keep the menus on screen
2003-08-14 07:04:40 +00:00
Dana Jansens
12af0aedf2
make putting plugin menus in a menu closer to working..
2003-08-14 06:39:56 +00:00
Dana Jansens
b0855c19bc
add a menu destructor callback.
...
fix a possible crasher where a callback was called with a different menu.
2003-08-14 06:00:38 +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
Scott Moynes
a4f023cf3a
Some fixes and new bugs. Someone else can do the menus because it is
...
clear no one gives a fuck what I think and no one else wants a window
manager that doesn't suck the same balls as every other window manager.
2003-08-11 21:19:17 +00:00
Dana Jansens
40c3228f35
only ignore wheel buttons
2003-07-30 06:06:13 +00:00
Scott Moynes
3b62c85b60
Clear current_menu when hiding menus.
2003-07-29 01:08:59 +00:00
Scott Moynes
dd33644de4
Close menu properly on unbound keys.
2003-07-29 01:04:22 +00:00
Scott Moynes
f6ad401dab
Fix some keyboard control issues.
2003-07-29 00:56:04 +00:00
Dana Jansens
e6486bff08
use plugin_open_reopen not plugin_open_full
2003-07-28 19:50:21 +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