aboutsummaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorokan2013-01-07 21:45:24 +0000
committerokan2013-01-07 21:45:24 +0000
commit80c68d6798cb663a3a0b57818c2027a710c99f06 (patch)
treea289c2845149a77207beb5863bc4cd0c7b0fd038 /screen.c
parent10736966d2f285cc7b24a3a6aeafbe6baf79a794 (diff)
downloadcwm-80c68d6798cb663a3a0b57818c2027a710c99f06.tar.gz
revert previous
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/screen.c b/screen.c
index eab2eab..02fa342 100644
--- a/screen.c
+++ b/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.43 2013/01/07 20:32:19 okan Exp $
+ * $OpenBSD: screen.c,v 1.44 2013/01/07 21:45:24 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->x_org + info->width;
- geom.h = info->y_org + info->height;
+ geom.w = info->width;
+ geom.h = info->height;
break;
}
}