~ubuntu-branches/ubuntu/jaunty/xfree86-driver-synaptics/jaunty

« back to all changes in this revision

Viewing changes to src/properties.c

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen
  • Date: 2008-09-12 01:32:57 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080912013257-10zwprpil5eugxpt
Tags: 0.15.2-0ubuntu1
* New upstream release. (LP: #262276, #268071, #247433, #262305)
* Drop 101_ubuntu.diff, superseded by input properties.
* Drop 103_fix_off_by_one.diff, applied upstream.
* 101_no_horizscroll.patch:
  - Disable horizontal scrolling by defaulting to FALSE instead of changing
    the fdi file.
* 102_dont_check_abi.diff:
  - Remove one more check from src/synaptics.c, which was added recently.

Show diffs side-by-side

added added

removed removed

Lines of Context:
456
456
        int i;
457
457
        CARD8 *action;
458
458
 
459
 
        if (prop->size >= MAX_TAP || prop->format != 8 || prop->type != XA_INTEGER)
 
459
        if (prop->size > MAX_TAP || prop->format != 8 || prop->type != XA_INTEGER)
460
460
            return FALSE;
461
461
 
462
462
        action = (CARD8*)prop->data;
468
468
        int i;
469
469
        CARD8 *action;
470
470
 
471
 
        if (prop->size >= MAX_CLICK || prop->format != 8 || prop->type != XA_INTEGER)
 
471
        if (prop->size > MAX_CLICK || prop->format != 8 || prop->type != XA_INTEGER)
472
472
            return FALSE;
473
473
 
474
474
        action = (CARD8*)prop->data;