Files
xserver/include
Peter Hutterer 82c60232c0 dix: add valuator_mask_fetch_double()
Using this call simplifies callers that don't know if the mask bit is set.

Before:
  if (valuator_mask_isset(mask, valnum))
    value = valuator_mask_get_double(mask, valnum));
  else
    value = someothervalue;

Now:
 if (!valuator_mask_fetch_double(mask, valnum, &value))
    value = someothervalue;

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2011-10-18 09:15:54 +10:00
..
2010-10-13 09:24:06 -07:00
2010-09-13 15:55:17 -07:00
2011-10-18 09:15:54 +10:00
2011-08-22 15:56:53 +10:00
2011-10-03 10:23:54 -07:00
2011-03-14 13:44:46 -04:00
2011-03-14 13:57:20 -04:00
2010-11-11 23:20:35 +02:00
2011-09-15 10:11:43 -05:00