summaryrefslogtreecommitdiff
path: root/openbox/config.h
AgeCommit message (Collapse)Author
2014-10-20Add keyboard/rebindOnMappingNotify optionMikael Magnusson
I have to switch to a qwerty layout to play steam games, and every time I switch back and forth, we lose some random bindings so I also had to reconfigure Openbox every time, now I don't.
2013-09-01Add the old <center> option for the placement policy. (Bug 5946)Ian Zimmerman
Original commit messages: . Reformat to move closer to house style . Add center on top of leat overlap place algo . Add sentinel value to edge arrays . Use a Size instead of a Rect for a centering field . Fix off by one bug . Need to declare dx and dy . Pass length of edge array instead of recomputing . Fix missing open-brace in config.c . Address the more trivial subset of danakj comments . Revert "Remove now-unused config_place_center option." This reverts commit 5e282dae08be3b900e0337efa0fae8f3ffa92cd7. . Remove reliance on sentinel value when scanning edge arrays . Avoid need to initialize Size structure by removing it :) . Clean up field expansion code somewhat . Compress code further by using a structure for common args . Fix search for next grid point . Squeeze it even more by not using Size at all
2013-08-11Allow specifying only one of width and height in per-app settings sizeMikael Magnusson
Fixes bug 5819.
2012-10-06Allow application rules to control window size (Fix bug 4661)Dana Jansens
Use the following in your per-app rules: <size> <width>A</width> <height>B</height> </size> A and B can be integer values to specify a size in pixels. They can also be percentages or fractions to be relative to the size of the monitor the window is placed on.
2012-10-06Remove now-unused config_place_center option.Dana Jansens
The new LeastOverlap placement doesn't use this option, and it kind of defeats the purpose of the algorithm.
2012-10-06Allow window matching based on the group leader's name and class (Fix bug 5721)Dana Jansens
In Openbox 3.4 we used the group leader's WM_CLASS value when it was available. This prevents windows in the group from overriding with a specific value, however which is bad. More rationale can be found in http://icculus.org/pipermail/openbox/2010-September/006790.html Some applications (eg. Firefox) use command line flags to set the WM_CLASS property on the group leader but do not change the property on the mapped windows themselves. This makes matching these windows not possible in Openbox 3.5. We resolve this by exposing the group's WM_CLASS values alongside the individual window's values. We add _OB_APP_GROUP_NAME and _OB_APP_GROUP_CLASS properties along with "groupname" and "classname" attributes for the rc.xml application tag.
2011-10-16respect the active/mouse options for monitor placement, and use ↵Dana Jansens
ObMonitorPlace for per-app too
2011-10-16Add "active" and "primary" options to the <monitor> placement option for ↵Dana Jansens
per-app settings (bug #5180)
2010-05-17Add support for using relative expressions in move and resize actionsMikael Magnusson
Have MoveResizeTo use config_parse_gravity_coord instead of duplicating it locally Allow MoveResizeTo positions and sizes and per app positions to be relative to screen size Rename to config_parse_relative_number so it can be used for sizes too Add relative numbers to width/height in MoveResizeTo Add relative numbers to MoveRelative Add relative numbers to ResizeRelative, these are for the client size, not screen size
2010-04-16allow warping the mouse pointer when switching desktops by bumping into the ↵Dana Jansens
edge of the monitor with a window based on a patch by Nathaniel Gephart <computinchuck@gmail.com>
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