Commit graph

243 commits

Author SHA1 Message Date
Dana Jansens
03186a7bab i already fixed this once :) var declarations go first 2003-07-23 15:06:49 +00:00
Dana Jansens
05c0cd5ca7 add the include menu plugin 2003-07-23 04:15:42 +00:00
Scott Moynes
b52b5a6fc0 Timed menu updates. Still needs work. 2003-07-23 04:09:37 +00:00
Scott Moynes
d03c1afac6 Better placement of the client window. Might need some tweaking. 2003-07-23 04:09:11 +00:00
Scott Moynes
68c910b194 Added include_menu.c as an example of how one could write a plugin. 2003-07-23 02:01:56 +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
221415e97c set the x/y values in the moveresize struct for moveresize key actions 2003-07-22 17:00:19 +00:00
Dana Jansens
3340aaeb4d declare vars at the top of the block 2003-07-22 16:26:19 +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
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
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
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
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
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
ad45ecb6e3 kill warnings 2003-07-10 06:58:58 +00:00
Dana Jansens
2477a38d2f rename the Client struct to ObClient 2003-07-10 06:38:42 +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
6357583c39 rename 'xinerama' stuff to 'monitors' to be more generic and descriptive. 2003-07-10 05:44:23 +00:00
Dana Jansens
bcc090ec83 these havent been used for a long time.. ;) old parsing shit be gone 2003-07-10 04:32:15 +00:00
Dana Jansens
2abbf01125 update the build system, using a single Makefile.am for a sexyass non-recursive make. booyah! 2003-07-10 04:31:05 +00:00
Scott Moynes
953b68a1d6 Remove menu plugins because they are stupid and don't work. 2003-06-30 00:22:52 +00:00
Dana Jansens
2f9efb384d prepare for alpha1 release.
make 'make dist' work.
2003-06-29 08:47:24 +00:00
Dana Jansens
af8c5f51a5 use strcmp instead of collate, since collate is slower and we're only doing an == check 2003-06-29 08:46:03 +00:00
Dana Jansens
82bbaf4c41 these are old and not used anymore 2003-06-29 08:45:35 +00:00
Scott Moynes
8de13a41b6 Update the send-to window only if the workspaces have changed. 2003-06-29 01:45:32 +00:00
Dana Jansens
bbe0e7da26 snap to all heads the window is present on 2003-06-28 15:49:48 +00:00
Dana Jansens
34e819738b xinerama support 2003-06-27 04:20:30 +00:00
Dana Jansens
2052385333 if grab fails dont set grabbed_key 2003-06-26 07:58:44 +00:00
Dana Jansens
487c0a4a08 use the stock shownig method for the client menu for now, makes it pop up under the cursor so a click-release works like expected 2003-06-25 18:41:40 +00:00
Dana Jansens
0e9c5049a5 use the alst button press for clicks instead of teh fisrt. it make sno diff to me really and this makes it work when you grab the pointer on the click, without leaving the mouse plugin in a weird state. 2003-06-25 18:40:04 +00:00
Dana Jansens
ae9aed8545 dont use .. in include paths 2003-06-21 02:30:01 +00:00
Dana Jansens
b1f5555218 put the render theme into a struct 2003-06-21 01:53:26 +00:00
Dana Jansens
f90ee94d6b position the client menu right 2003-06-20 02:19:53 +00:00
Dana Jansens
cd12a2eae5 simply the render interface by not requiring the setting of all the areas. only take a w and h in paint(). best font layout ever. 2003-06-20 02:17:23 +00:00
Dana Jansens
a865fe603f remove that fancy new leftHanded option, it should be done via xmodmap instead 2003-06-04 22:48:38 +00:00
Dana Jansens
ae0d84721d add a leftHanded option for mouse bindings, reverses the left/right keywords 2003-06-04 22:46:17 +00:00
Dana Jansens
bb93763373 grab bindings on each client's frame (and the focus_backup) instead of on the root window 2003-06-04 22:40:33 +00:00
Dana Jansens
9232682ad6 grab the keybaord before cycling focus for reduced latency 2003-06-04 16:39:45 +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
f7df74b9cc let the client menu open below the top of the window, just limit it at the titlebar 2003-05-24 15:15:41 +00:00
Scott Moynes
b46222c3d9 Fixed missing includes 2003-05-23 15:34:02 +00:00
Dana Jansens
f54e8c9ba0 add --enable-gl support, and put the flags/libs in the appropriate makefiles 2003-05-23 05:30:00 +00:00
Dana Jansens
ebb97c189a had some code inside the action for loop that didnt belong in there 2003-05-23 01:26:39 +00:00
Scott Moynes
4160963ca4 Add toggle decor action to client menu 2003-05-23 00:58:45 +00:00
Dana Jansens
f249e01616 watch out for border widths 2003-05-22 21:29:56 +00:00
Dana Jansens
5ac5170dec only grab C-g while in a chain 2003-05-22 18:22:12 +00:00
Dana Jansens
1bd4bb32a2 add the client_menu stuff 2003-05-22 18:19:14 +00:00