summaryrefslogtreecommitdiff
path: root/openbox/config.h
AgeCommit message (Collapse)Author
2010-01-14allow app rules to match windows by their title when mappingDana Jansens
and save the title in the _OB_APP_TITLE property
2010-01-08Rework the code provided by Kadlcik Libor for loading/showing icons in ↵Dana Jansens
Openbox menus. This changes how the imagecache works, you can load an image into it directly, or you can load it by name (then it will load it from a file on disk). NOTE: The name part is incomplete, as it needs to use the freedesktop.org icon spec to search for the right file. Also to resize it should look for another icon on disk with the same name but different size (icon themes).
2010-01-08This patch implements support for icons in user-defined menus into OpenboxKadlcik Libor
Image loading is done using the Imlib2 library. I chose Imlib2 because it's pretty fast, it's easy to use, supports many file formats (tested xpm, gif, jpeg, png) and doesn't introduce too much bloat (it depends :)). I ported the patch to 3.4.7-pre3 and added some enhancements. Caching is much better now, and icons can be disabled at compile time using --disable-imlib2 option. What's new? Syntax of configuration files (namely rc.xml and menu.xml) has been changed slightly to allow users to associate icons to menu entries. This is done by specifying path to icon file in the new "icon" attribute in "<item>" element, e.g: <item label="Vim" icon="/usr/share/pixmaps/vim-32.xpm"> <action name="Execute"><execute>x-terminal-emulator -T Vim -e vim</execute></action> </item> If user doesn't want to display any icons in his user-defined menus, he/she can disable icons in rc.xml, inside "<menu>" section: <menu> ... <showIcons>no</showIcons> ... </menu> Default value is "yes". (New boolean variable "config_menu_user_show_icons" has been added to source code.) An icon is loaded (using menu_item_attach_icon()) when a new entry of menu is created. Fortunately, I haven't notice any performance problems because of this :).
2010-01-08Merge branch 'backport' into workDana Jansens
Conflicts: Makefile.am openbox/actions/focus.c openbox/config.c openbox/event.c openbox/menuframe.c
2010-01-06improve submenu hide delayAlexey Korop
2009-12-21rename the obt_parse library to obt_xml (since it is very xml specific)Dana Jansens
2009-12-21Set up work for making a 3.5 prerelease.Dana Jansens
Set version stuff to 3.5.0-rc1. Copy the CHANGELOG from 3.4-working. Rename the obt-4.0 and obrender-4.0 pkgconfig stuff to obt-3.5 and obrender-3.5 Rename the "render" directory to "obrender" so that the public headers can be installed in <obrender/*>
2009-12-21make a config option for the inactive osd fontDana Jansens
2009-12-18Add a focus option, unfocusOnLeave that removes focus from a window when the ↵Dana Jansens
pointer leaves it This uses the same delay to unfocus as is used for focusing on enter
2009-12-11Merge branch 'backport' into workDana Jansens
Conflicts: openbox/config.c openbox/event.c openbox/prop.c openbox/prop.h openbox/screen.c openbox/screen.h
2009-12-09Add a primaryMonitor config option, where the focus-cycle and keychain ↵Dana Jansens
popups will appear
2008-03-13Make alt-tab icon size configurable.Mikael Magnusson
2008-03-08Merge branch 'backport' into workMikael Magnusson
Conflicts: obt/keyboard.c openbox/actions/cyclewindows.c openbox/actions/directionalwindows.c openbox/frame.c openbox/openbox.c
2008-03-08Remove double newlines.Mikael Magnusson
2008-02-15() -> (void) also in .h files, and fix a place that gave arguments when it ↵Mikael Magnusson
shouldn't have.
2008-02-14Merge branch 'backport' into workMikael Magnusson
Diffing against the old work branch where most of the changes in backport were cherry-picked from indicates this should be alright. (0de9097017d4d1991388a35e380a57dc1135b431)
2008-02-14let you match per-app settings based on the window typeDana Jansens
2008-02-07Merge branch 'backport' into workDana Jansens
Conflicts: openbox/config.c
2008-02-04Add the manageDesktops option.Mikael Magnusson
2008-02-03allow you to force the position of windows with rc.xml's per-app settings ↵Dana Jansens
with the force="yes" attribute
2008-01-31Merge branch 'backport' into workDana Jansens
Conflicts: openbox/client.c openbox/config.c openbox/event.c openbox/extensions.c openbox/focus_cycle_indicator.c openbox/focus_cycle_popup.c openbox/menuframe.c openbox/moveresize.c openbox/openbox.c openbox/screen.c openbox/stacking.c openbox/startupnotify.c
2008-01-27replace the <active> placement option with <placeOn>active/mouse/any</placeOn>Dana Jansens
2008-01-22print a warning when the session has a different number of desktops than the ↵Dana Jansens
openbox config
2008-01-20update openbox to use the current parser interface in libobtDana Jansens
there is also some random bug fixes for other libobt stuff in here.
2008-01-11make a GravityPoint and GravityCoord data structures for those --x, ++y type ↵Dana Jansens
values
2008-01-11let you specify the resize popup to be in a fixed placeDana Jansens
2008-01-11add an <active> option for window placement, to try force new windows on the ↵Dana Jansens
active monitor (for xinerama)
2007-08-03show a popup notification when switching desktops (also make all the config ↵Dana Jansens
options export time in milliseconds not half milli half micro)
2007-07-10user-sepcified marginsDana Jansens
2007-06-23warp desktops when you hit the edge of the screen while moving a windowDana Jansens
2007-06-13add center option to placement sectionMikael Magnusson
2007-06-10let you use +-+-x in the positions for per-app settings, like x geometryDana Jansens
2007-06-03add <underMouse> focus optionDana Jansens
2007-05-21use simple pattern matching for per-app settings. all rules that match are ↵Dana Jansens
applied to a window rather than just the first
2007-05-20remove unused config_menu_warppointerMikael Magnusson
2007-05-12remove the edges_hit_layers_below option. don't use windows in other layers ↵Dana Jansens
for resistance
2007-05-09kill the hideDisabled optionDana Jansens
2007-05-06change the perapp settings "head" option to "monitor" i think its easier to ↵Dana Jansens
understand. some cleanup for perapp settings. make monitor and desktop be specified starting at 1, like elsewhere in the config file.
2007-05-05animate iconify/reestore. yeah.Dana Jansens
2007-04-26add a separate font config for onscreendisplaysDana Jansens
change menutitle in the rc to menuheader fix up the xsd for fonts
2007-04-24remove the four corners optionDana Jansens
document what these serious macros are with art!
2007-04-231) translate all of openbox's outputDana Jansens
2) update copyrights. 3) make release. ok that part not quite yet.
2007-03-25don't menu menus jump around at all anymore. open them on screen in the ↵Dana Jansens
first place
2007-03-24kill window title numbering...Dana Jansens
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-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-16add option titleNumber in theme section to disable the little [x] that you ↵Mikael Magnusson
get after identical window titles
2006-08-02make menus optionally vertically centered, and enable by default, see bug #2746Mikael Magnusson
2006-06-08define vars in proper places and don't leak the entire list of settingsMikael Magnusson