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
Scott Moynes
702995014a
more fixes
2003-07-26 14:48:10 +00:00
Scott Moynes
3c92311b3c
Some menu updates.
...
Don't talk to me about menus.
2003-07-26 06:02:58 +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
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
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
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
35418ca0fc
remove the ob_root var, its redundant of what Xlib already provides
2003-07-10 19:01:41 +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
2477a38d2f
rename the Client struct to ObClient
2003-07-10 06:38:42 +00:00
Dana Jansens
6357583c39
rename 'xinerama' stuff to 'monitors' to be more generic and descriptive.
2003-07-10 05:44:23 +00:00
Scott Moynes
71b7b043a2
Handle menu events a little better: don't bother updating a submenu on
...
mouseover if it is already open, and call update on menus, even if
they aren't marked as invalid.
2003-06-29 01:44:31 +00:00
Dana Jansens
34e819738b
xinerama support
2003-06-27 04:20:30 +00:00
Dana Jansens
0443796e40
remove unused variable
2003-06-26 07:07:59 +00:00
Dana Jansens
7af1c6a9c3
menus grab the keyboard and pointer, thus making only one menu visible at a time, and making them act like gtk menus and * menus do, where you can click and drag and release to select something as well as click-release to elave it open while you search around the menu
2003-06-25 18:43:42 +00:00