summaryrefslogtreecommitdiff
path: root/openbox/config.c
AgeCommit message (Collapse)Author
2007-03-04change the rc config format for font shadows, now:Dana Jansens
<font... <shadow enabled="yes/no"> <offset>1</offset> <tint>25</tint> </shadow> </font>
2007-03-04Fonts are now going to be configured in the rc.xml file. The format is such asDana Jansens
<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-02this includes a number of things since my magnificent return....Dana Jansens
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*
2006-08-22update copyright step 1Mikael Magnusson
2006-08-19forgot to check if perapp settings said to put window on all desktopsMikael Magnusson
2006-08-18fix subsequent silly typo, should now compile as well as workMikael Magnusson
2006-08-18fix a silly copy paste bug, titlenumber should now be disableableMikael Magnusson
2006-08-16add option titleNumber in theme section to disable the little [x] that you ↵Mikael Magnusson
get after identical window titles
2006-08-02after some contemplating and complaints, not enabling vertically centered ↵Mikael Magnusson
menus by default
2006-08-02make menus optionally vertically centered, and enable by default, see bug #2746Mikael Magnusson
2006-06-09if this works i will be a bit amazed, add class matching, and allow to match ↵Mikael Magnusson
either name or class or both
2006-06-09fix4Mikael Magnusson
2006-06-09hahaMikael Magnusson
2006-06-09add the rest of the possible states to per app settings, and fix some mem ↵Mikael Magnusson
leaks in the code that _set_ the per app list
2006-06-09add role matching to per app settings and fix a small memleak in the code ↵Mikael Magnusson
that frees the per app list
2006-06-08setting variables helpsMikael Magnusson
2006-06-08fix5Mikael Magnusson
2006-06-08fix4Mikael Magnusson
2006-06-08move stuff around some moreMikael Magnusson
2006-06-08*coughs uncontrollably*Mikael Magnusson
2006-06-08"oops"Mikael Magnusson
2006-06-08define vars in proper places and don't leak the entire list of settingsMikael Magnusson
2006-06-08per app settingsMikael Magnusson
2006-04-22patch from syscrash2k, adds submenuShowDelay option, bug #2682Mikael Magnusson
2005-09-25add showDelay to dockMikael Magnusson
2005-07-14add a config option hideDisabled in the theme section that hides disabled ↵Mikael Magnusson
buttons instead of showing them as disabled, based on patch in bug #2310
2005-03-26noStrut actually works nowMikael Magnusson
2005-03-25add noStrut option to dock and fix up rc.xsd, some options were in the wrong ↵Mikael Magnusson
section due to hideDelay being in both dock and menu
2005-02-06revert a commit xor made in 2003 that always annoyed me, now docks (panels) ↵Mikael Magnusson
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.
2004-11-04add an option to resize with 4 corners as it was long ago and make the ↵Mikael Magnusson
default 9 "corners" with the middle corner being move. that way you only need one mod+button to move and resize windows
2004-10-31okay here we goMikael Magnusson
2004-10-31config option for icons in desktop menusMikael Magnusson
2004-10-06remove the hilightFirst option since it wasnt actually used in the codeMikael Magnusson
2004-09-04option to make dragging and findedge ignore windows on lower layersMikael Magnusson
2004-04-17on second thought, don't change the default behaviour in stable seriesMikael Magnusson
2004-03-21two hands raised, keepBorder added to <theme> sectionMikael Magnusson
2004-03-21take numbers as args for the popup options tooMikael Magnusson
2004-03-21sometimes you have to declare variables tooMikael Magnusson
2004-03-21update copyright noticesMikael Magnusson
2004-03-21default menus to sane styleMikael Magnusson
2004-03-21adds option to have the popup centered above the window instead of centered, ↵Mikael Magnusson
and fix the last occurance of that reversed variable
2004-03-21if this works, i will be amazed. <resize><popupShow>nbr<//> nbr = 0 never ↵Mikael Magnusson
show size popup, 1 as it is now ie only show when resize terminals etc, 2 always show
2004-03-20fix reversed variable name and add a little comment to the magic menu codeMikael Magnusson
2004-03-20some nice options for the menus, warpPointer, xorStyle (better name wanted ↵Mikael Magnusson
for this :), hilightFirst and hideDelay (this was hardcoded to .25 secs earlier)
2004-02-24add back the focusLast option for the "i lost count"th timeMikael Magnusson
2004-02-19add setting <desktops><firstdesk>num<//> to set which desktop to start on, ↵Mikael Magnusson
also fix a guint that should be gint. (used to let you say you want negative number of desktops)
2003-12-22s/guint/gboolean/ oopsDana Jansens
2003-10-25use gpointer for void*Dana Jansens
2003-10-15add DOCK_NORMAL stacking layerDana Jansens
2003-10-15consistant glib type usageDana Jansens