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
Mikael Magnusson
498ae4cc20
add noStrut option to dock and fix up rc.xsd, some options were in the wrong section due to hideDelay being in both dock and menu
2005-03-25 20:17:45 +00:00
Mikael Magnusson
e74fbdaa0e
revert a commit xor made in 2003 that always annoyed me, now docks (panels) go in the same layers as normal windows again. docks that dont specify layer go in the ABOVE layer and those that specify BELOW get put in the NORMAL layer.
2005-02-06 16:00:24 +00:00
Mikael Magnusson
ff39f02c38
add an option to resize with 4 corners as it was long ago and make the default 9 "corners" with the middle corner being move. that way you only need one mod+button to move and resize windows
2004-11-04 12:13:25 +00:00
Mikael Magnusson
d0adfb4d8a
okay here we go
2004-10-31 10:17:41 +00:00
Mikael Magnusson
10805a4764
config option for icons in desktop menus
2004-10-31 10:10:33 +00:00
Mikael Magnusson
492a26844c
remove the hilightFirst option since it wasnt actually used in the code
2004-10-06 12:42:46 +00:00
Mikael Magnusson
c02f68499f
option to make dragging and findedge ignore windows on lower layers
2004-09-04 19:45:38 +00:00
Mikael Magnusson
b182f1483a
on second thought, don't change the default behaviour in stable series
2004-04-17 12:14:06 +00:00
Mikael Magnusson
f870d32397
two hands raised, keepBorder added to <theme> section
2004-03-21 20:02:47 +00:00
Mikael Magnusson
39748e4180
take numbers as args for the popup options too
2004-03-21 12:20:52 +00:00
Mikael Magnusson
3dce6cbf86
sometimes you have to declare variables too
2004-03-21 11:59:12 +00:00
Mikael Magnusson
b2b8ad92bf
update copyright notices
2004-03-21 11:57:31 +00:00
Mikael Magnusson
61af086dc3
default menus to sane style
2004-03-21 11:06:57 +00:00
Mikael Magnusson
64c65f3b67
adds option to have the popup centered above the window instead of centered, and fix the last occurance of that reversed variable
2004-03-21 00:48:48 +00:00
Mikael Magnusson
7d1382a984
if this works, i will be amazed. <resize><popupShow>nbr<//> nbr = 0 never show size popup, 1 as it is now ie only show when resize terminals etc, 2 always show
2004-03-21 00:10:14 +00:00
Mikael Magnusson
07dd2c6442
fix reversed variable name and add a little comment to the magic menu code
2004-03-20 23:40:29 +00:00
Mikael Magnusson
bc04408517
some nice options for the menus, warpPointer, xorStyle (better name wanted for this :), hilightFirst and hideDelay (this was hardcoded to .25 secs earlier)
2004-03-20 22:53:16 +00:00
Mikael Magnusson
dd7c6ad734
add back the focusLast option for the "i lost count"th time
2004-02-24 20:26:08 +00:00
Mikael Magnusson
77af27b8b2
add setting <desktops><firstdesk>num<//> to set which desktop to start on, also fix a guint that should be gint. (used to let you say you want negative number of desktops)
2004-02-19 14:33:59 +00:00
Dana Jansens
eb22848aeb
s/guint/gboolean/ oops
2003-12-22 17:43:38 +00:00
Dana Jansens
5a1ad84c05
use gpointer for void*
2003-10-25 19:39:19 +00:00
Dana Jansens
4cd6194f75
add DOCK_NORMAL stacking layer
2003-10-15 16:17:33 +00:00