[fusion-commits] compiz mirror: Changes to 'master' (d7b637282a80c22c5e3d6111ff852f6c712725d1)
compiz at server.beryl-project.org
compiz at server.beryl-project.org
Tue Jul 3 09:43:04 CEST 2007
New commits:
commit d7b637282a80c22c5e3d6111ff852f6c712725d1
Author: Danny Baumann <dannybaumann at web.de>
Date: Tue Jul 3 09:42:26 2007 +0200
Correctly add input extents to window width and height.
plugins/place.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Modified: compiz/plugins/place.c
===================================================================
--- compiz/plugins/place.c
+++ compiz/plugins/place.c
@@ -842,8 +842,10 @@ placeSmart (CompWindow *window,
xOptimal = xTmp; yOptimal = yTmp;
/* client gabarit */
- int ch = get_window_height (window) - 1;
- int cw = get_window_width (window) - 1;
+ int ch = get_window_height (window) + window->input.left +
+ window->input.right - 1;
+ int cw = get_window_width (window) + window->input.top +
+ window->input.bottom - 1;
/* loop over possible positions */
do
More information about the commits
mailing list