diff options
author | okan | 2013-01-07 20:32:19 +0000 |
---|---|---|
committer | okan | 2013-01-07 20:32:19 +0000 |
commit | 10736966d2f285cc7b24a3a6aeafbe6baf79a794 (patch) | |
tree | b0303a6d3bb0359cb519cadcd95b77ddcb8f8d61 | |
parent | 08e5c566e63f53f841e39b9cdb9d0c693ebf080b (diff) | |
download | cwm-10736966d2f285cc7b24a3a6aeafbe6baf79a794.tar.gz |
unbreak xinerama support from r1.41 for panning setups
Diffstat (limited to '')
-rw-r--r-- | screen.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } } |