Commit graph

139 commits

Author SHA1 Message Date
Dana Jansens
fd8ce9414a use simple pattern matching for per-app settings. all rules that match are applied to a window rather than just the first 2007-05-21 03:42:25 +00:00
Mikael Magnusson
928305d0b7 remove unused config_menu_warppointer 2007-05-20 15:01:01 +00:00
Dana Jansens
811fa21940 remove the edges_hit_layers_below option. don't use windows in other layers for resistance 2007-05-12 18:56:56 +00:00
Dana Jansens
5eba6007e7 change the "handle" context to "bottom". add a "top" context. make the top
and bottom contexts resize vertically in the default config file.
2007-05-12 17:54:55 +00:00
Dana Jansens
23d4eb5f4f kill the hideDisabled option 2007-05-09 03:42:41 +00:00
Dana Jansens
193ca2197a further work to r6205. make the disabled titlebar buttons hide if they won't move other buttons around by doing so. 2007-05-09 03:41:48 +00:00
Dana Jansens
2c507a7207 missed some stuff? 2007-05-06 22:58:51 +00:00
Dana Jansens
7ffa091d5b change the perapp settings "head" option to "monitor" i think its easier to understand.
some cleanup for perapp settings.
make monitor and desktop be specified starting at 1, like elsewhere in the config file.
2007-05-06 22:57:49 +00:00
Dana Jansens
6cd5f7ea38 document the per app settings in rc.xml.in. some xsd fixes. add the "default" option to all the per-app settings which is the same as not putting it in there at all. 2007-05-06 22:04:55 +00:00
Dana Jansens
ac56fe1602 make animation default on again. :/ 2007-05-05 16:20:04 +00:00
Mikael Magnusson
492b66ea14 don't animate iconify/restore by default 2007-05-05 09:58:56 +00:00
Dana Jansens
08e42acaad animate iconify/reestore. yeah. 2007-05-05 05:58:35 +00:00
Dana Jansens
4e590eba23 add a separate font config for onscreendisplays
change menutitle in the rc to menuheader
fix up the xsd for fonts
2007-04-26 13:10:36 +00:00
Dana Jansens
baa9ad1480 dont parse both keybindings and actions in the same block 2007-04-26 03:12:47 +00:00
Dana Jansens
a65b1d202f allow actions and chains at the same level 2007-04-26 02:12:40 +00:00
Dana Jansens
8c68c9ab0f fixes for new keybindings stuff/chroot/parsing 2007-04-26 02:10:15 +00:00
Dana Jansens
b6d2529acb add chrooting. use chroot="true" on the chroot location 2007-04-26 01:25:52 +00:00
Mikael Magnusson
a744deeee3 consistency for dock layer naming 2007-04-25 15:44:49 +00:00
Dana Jansens
9e6aa531d0 remove the four corners option
document what these serious macros are with art!
2007-04-24 18:36:13 +00:00
Dana Jansens
2442cdfd85 1) translate all of openbox's output
2) update copyrights.
3) make release. ok that part not quite yet.
2007-04-23 17:56:35 +00:00
Dana Jansens
e6c82786ff don't menu menus jump around at all anymore. open them on screen in the first place 2007-03-25 16:34:26 +00:00
Dana Jansens
4c2b16e72d kill window title numbering...
probably it was a dumb idea all along. you're not picking the numbers yourself and you're probably not remembering which window they apply to and the focus indicator thinger is much more clever than numbers
2007-03-24 17:01:40 +00:00
Dana Jansens
191a0bc075 i moved the font shadow stuff back into the theme, so move them out of the font configuration stuff 2007-03-04 18:49:16 +00:00
Dana Jansens
25917a3498 change the rc config format for font shadows, now:
<font...
  <shadow enabled="yes/no">
    <offset>1</offset>
    <tint>25</tint>
  </shadow>
</font>
2007-03-04 17:04:50 +00:00
Dana Jansens
17b2d57717 Fonts are now going to be configured in the rc.xml file. The format is such as
<theme>
...
  <font place="ActiveWindow">
    <name>arial,sans</name>
    <size>8</size>
    <weight>bold</weight>
    <slant>italic</slant>
    <shadow>yes</shadow>
    <shadowOffset>1</shadowOffset>
    <shadowTint>64</shadowTint>
  </font>
</theme>

Valid place="" are ActiveWindow, InactiveWindow, MenuTitle, and MenuItem.
Only valid weight is "bold"
Valid slants are "italic" and "oblique"
shadowTint is a value between -100 and 100
size is the font size in points. pixelsize could possibly be added in the form of 8px, but it's not right now.
the name can contain multiple families and they will all be used to match characters

You can omit any fields and get the default for it. You can omit naming a font for a place="" and get the default font for it.

This is completely replacing theme-specified fonts, for better or for worse. Font shadowing may go back into the theme at some point, instead of in the rc.xml.
2007-03-04 07:18:04 +00:00
Dana Jansens
78af5d15e9 this includes a number of things since my magnificent return....
1. some random compiling/style cleanups
2. some bigfixes
 - mislogic in per-window-settings and focusing new windows
 - use client_can_focus rather than checking variables for directional focus
 - MAYBE fix all those lock-ups forever. using event_curtime (a new variable) now instead of event_lasttime. event_lasttime is still used however when the event being processed did not have a time associated with it. this may or may not be a problem, and will be seen.
3. um.. i forget
4. oh yeah, 3rd party docks are now treated like the internal ob dock irt focus. that is, clicking on them won't pass them focus. this is going to be ratified as expected behavior in the wm-spec just now. if docks/panels want focus they can request it with _net_active_window, and then they can have all the focus they want! one day alt-tabbing around dock windows might be nice. but not until the ob dock is moved out into a separate application. going to have to add a wmapp selection and stuff for that though... ugly. who uses wmdockapps anymore !? someone must.. *sigh*
2007-03-02 02:23:00 +00:00
Mikael Magnusson
4d50b21835 update copyright step 1 2006-08-22 16:37:35 +00:00
Mikael Magnusson
39f6b8ca71 forgot to check if perapp settings said to put window on all desktops 2006-08-19 17:50:12 +00:00
Mikael Magnusson
13215aaaab fix subsequent silly typo, should now compile as well as work 2006-08-18 21:24:23 +00:00
Mikael Magnusson
1de9c1901c fix a silly copy paste bug, titlenumber should now be disableable 2006-08-18 21:23:02 +00:00
Mikael Magnusson
83a0303dd7 add option titleNumber in theme section to disable the little [x] that you get after identical window titles 2006-08-16 19:32:13 +00:00
Mikael Magnusson
cbe5069870 after some contemplating and complaints, not enabling vertically centered menus by default 2006-08-02 21:16:47 +00:00
Mikael Magnusson
56c548b203 make menus optionally vertically centered, and enable by default, see bug #2746 2006-08-02 17:25:32 +00:00
Mikael Magnusson
e72a1232fa if this works i will be a bit amazed, add class matching, and allow to match either name or class or both 2006-06-09 14:52:06 +00:00
Mikael Magnusson
d471ffb92a fix4 2006-06-09 14:22:16 +00:00
Mikael Magnusson
19611e3bc1 haha 2006-06-09 14:21:30 +00:00
Mikael Magnusson
ff04e2c9a9 add the rest of the possible states to per app settings, and fix some mem leaks in the code that _set_ the per app list 2006-06-09 14:14:17 +00:00
Mikael Magnusson
8af51d8a1b add role matching to per app settings and fix a small memleak in the code that frees the per app list 2006-06-09 12:47:48 +00:00
Mikael Magnusson
4a42260849 setting variables helps 2006-06-08 11:49:52 +00:00
Mikael Magnusson
611e8a5324 fix5 2006-06-08 11:43:43 +00:00
Mikael Magnusson
f819e3b850 fix4 2006-06-08 11:42:16 +00:00
Mikael Magnusson
de1559a094 move stuff around some more 2006-06-08 11:36:43 +00:00
Mikael Magnusson
74695334c6 *coughs uncontrollably* 2006-06-08 10:57:17 +00:00
Mikael Magnusson
df1ef6b8ad "oops" 2006-06-08 10:36:36 +00:00
Mikael Magnusson
9aeb9d9fb5 define vars in proper places and don't leak the entire list of settings 2006-06-08 10:34:15 +00:00
Mikael Magnusson
ed61a94ca5 per app settings 2006-06-08 10:18:31 +00:00
Mikael Magnusson
310d268bf0 patch from syscrash2k, adds submenuShowDelay option, bug #2682 2006-04-22 19:21:06 +00:00
Mikael Magnusson
e1665d70b5 add showDelay to dock 2005-09-25 14:45:24 +00:00
Mikael Magnusson
1cfb65bc40 add a config option hideDisabled in the theme section that hides disabled buttons instead of showing them as disabled, based on patch in bug #2310 2005-07-14 13:44:33 +00:00
Mikael Magnusson
4690af7f72 noStrut actually works now 2005-03-26 06:34:58 +00:00