summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2013-01-07 20:32:20 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2013-01-07 20:32:20 +0000
commitd2958210aecb34b5704be577553d8bb01925cafa (patch)
treebbe928aa6994c640be202be3f7dd9199e955aac8 /app
parent1c748a1d66bd8bfdc02f2a3052ba3d295540bf62 (diff)
unbreak xinerama support from r1.41 for panning setups
Diffstat (limited to 'app')
-rw-r--r--app/cwm/screen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/cwm/screen.c b/app/cwm/screen.c
index 1c55b744c..eab2eabc7 100644
--- a/app/cwm/screen.c
+++ b/app/cwm/screen.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: screen.c,v 1.42 2013/01/02 18:11:23 okan Exp $
+ * $OpenBSD: screen.c,v 1.43 2013/01/07 20:32:19 okan Exp $
*/
#include <sys/param.h>
@@ -143,8 +143,8 @@ screen_find_xinerama(struct screen_ctx *sc, int x, int y)
y >= info->y_org && y < info->y_org + info->height) {
geom.x = info->x_org;
geom.y = info->y_org;
- geom.w = info->width;
- geom.h = info->height;
+ geom.w = info->x_org + info->width;
+ geom.h = info->y_org + info->height;
break;
}
}