Commit graph

80 commits

Author SHA1 Message Date
Dana Jansens
10a833b2cb Allow application rules to control window size (Fix bug 4661)
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-06 23:04:57 -04:00
Dana Jansens
5e282dae08 Remove now-unused config_place_center option.
The new LeastOverlap placement doesn't use this option, and it kind of defeats
the purpose of the algorithm.
2012-10-06 22:52:31 -04:00
Denis Kaganovich
1974c69fb3 Fix some namings and xml formatting in rc.xml and rc.xsd 2012-10-06 22:30:02 -04:00
Denis Kaganovich
65693d18db Address a couple bugs in rc.xsd (Fix bug 5746) 2012-10-06 21:56:57 -04:00
Dana Jansens
dc4cfa94c9 Make LeastOverlap placment replace the behaviour of Smart and address style nits 2012-10-06 21:56:56 -04:00
Ian Zimmerman
4d2ccf1916 LeastOverlap placement option (Fix bug 5385)
Adds a new placement algorithm that finds a place on the monitor that overlaps
the least amount of windows as possible.

Original patch by Ian Zimmerman <itz@buug.org>.
Port to Openbox 3.5 by David Vogt <dv@adfinis.c>.
2012-10-06 21:56:56 -04:00
Dana Jansens
5b2ed63cb4 Fix bug #4877 (Some harmless code quirks involving booleans) 2011-08-01 11:50:16 -04:00
Dana Jansens
a8dbf2e74e add primary monitor stuff to rc.xsd 2011-01-24 14:19:22 -05:00
Dana Jansens
77ee361f5c allow warping the mouse pointer when switching desktops by bumping into the edge of the monitor with a window
based on a patch by Nathaniel Gephart <computinchuck@gmail.com>
2010-04-16 21:32:38 -04:00
Dana Jansens
6cf3357036 allow app rules to match windows by their title when mapping
and save the title in the _OB_APP_TITLE property
2010-01-14 18:41:21 -05:00
Dana Jansens
8c9fb63baa Rework the code provided by Kadlcik Libor for loading/showing icons in 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-08 17:55:19 -05:00
Dana Jansens
ad812e6299 Add a focus option, unfocusOnLeave that removes focus from a window when the pointer leaves it
This uses the same delay to unfocus as is used for focusing on enter
2009-12-18 11:40:00 -05:00
Mikael Magnusson
08aa5bf04e Make at least the default configs validate
More things need to be case insensitive and whatnot.
2009-04-15 18:18:16 +02:00
Dana Jansens
27177e498b let you match per-app settings based on the window type 2008-02-14 19:40:03 +01:00
Dana Jansens
307befd333 add the position's force attribute to the default rc.xml and xsd 2008-02-06 09:22:04 -05:00
Mikael Magnusson
12ca673de5 Add the manageDesktops option. 2008-02-04 02:26:00 +01:00
Mikael Magnusson
d783705141 Change <placeOn> to <monitor>. 2008-01-27 21:03:55 +01:00
Dana Jansens
dd740b5562 replace the <active> placement option with <placeOn>active/mouse/any</placeOn> 2008-01-27 11:31:23 -05:00
Dana Jansens
17bc51aab8 let you specify the resize popup to be in a fixed place 2008-01-11 20:24:16 -05:00
Dana Jansens
22333336d3 add an <active> option for window placement, to try force new windows on the active monitor (for xinerama) 2008-01-11 19:32:45 -05:00
Dana Jansens
3b4b52921a show a popup notification when switching desktops (also make all the config options export time in milliseconds not half milli half micro) 2007-08-03 20:40:13 -04:00
Dana Jansens
c2557387b2 add the "command" option to the xsd 2007-07-22 10:19:27 -04:00
Dana Jansens
6ea96a8a97 update the default rc.xml with the new actions syntax and the rc.xsd 2007-07-15 13:25:57 -04:00
Dana Jansens
0b97b6043c user-sepcified margins 2007-07-10 23:59:17 +00:00
Dana Jansens
97792a403a warp desktops when you hit the edge of the screen while moving a window 2007-06-23 19:52:09 +00:00
Mikael Magnusson
e048751f91 add center option to placement section 2007-06-13 17:08:32 +00:00
Dana Jansens
5ac4d96d79 mismerged the 3.4 xsd stuff into trunk. 2007-06-09 02:59:18 +00:00
Mikael Magnusson
96bb892054 back xml themes out of trunk 2007-06-07 23:46:28 +00:00
Dana Jansens
03931180fc add underMouse option 2007-06-03 19:23:02 +00:00
Mikael Magnusson
1ca83752a8 titleNumber disappeared a while ago 2007-05-25 09:29:35 +00:00
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
Dana Jansens
927bc7818c add the Root context 2007-05-19 22:07:35 +00:00
Dana Jansens
b26635fe99 add Left and Right contexts for resizing 2007-05-19 21:39:40 +00:00
Dana Jansens
4d4e657cb7 proper english 2007-05-16 17:16:16 +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
3f446e917d the changelog for the xsd's is in svn now, also they are out of date 2007-05-12 18:21:30 +00:00
Dana Jansens
2ff10b4260 relocate the xsd's so they don't clash, and point to the right places 2007-05-12 18:18:25 +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
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
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
Mikael Magnusson
853a5b6b04 i think xsd files are supposed to say xsd, not xs 2007-04-26 04:02:24 +00:00
Mikael Magnusson
c259b2e1c5 this is just wrong 2007-04-26 03:53:24 +00:00
Mikael Magnusson
53c08bab0a remove xs:sequence and one more update for chroot stuffs 2007-04-26 03:42:04 +00:00
Mikael Magnusson
74ce377ef5 update for chroot stuffs 2007-04-26 03:19:34 +00:00
Mikael Magnusson
05560c929b fix layer type to use above/below as in the code, not Top/Bottom 2007-04-25 14:02:44 +00:00
Mikael Magnusson
0f43a68405 remove fourCorners from data/ as well 2007-04-24 18:43:52 +00:00
Dana Jansens
fa72e99fbf add the panels option, which is for NextWindow/PreviousWindow and the directional focus actions 2007-04-23 23:01:41 +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