1. 18 Nov, 2007 2 commits
  2. 16 Nov, 2007 5 commits
  3. 15 Nov, 2007 10 commits
  4. 14 Nov, 2007 3 commits
    • Peter Hutterer's avatar
      Xi: toggle the public.devPrivate as well when switching device classes. · cc4586df
      Peter Hutterer authored
      The master needs to have the same devPrivate as the slave, in case a client
      issues a request that goes down to the driver.
      Example: if a driver wants to ring the keyboard bell, it'll pick a keyboard.
      The KeyClassPtr will direct it to the matching method in the driver, but
      because the MD doesn't have the devPrivate set the driver segfaults.
      Even if all drivers were updated to not dereference the nullpointer, nothing
      would actually ever happen.
      
      To avoid this, we flip the master's public.devPrivate to the last SDs
      devPrivate.
      cc4586df
    • Peter Hutterer's avatar
      dix: Return Success from ProcBell if no BellProc is set. · b44c1118
      Peter Hutterer authored
      We must not return BadDevice, this causes applications to crash. If no
      BellProc is set, just quietly do nothing and report a Success.
      b44c1118
    • Peter Hutterer's avatar
      Xi: Move updating the device state from POE into separate function. · 240b10fa
      Peter Hutterer authored
      POE now only deals with processing the event and calling the appropriate
      delivery methods. Actually modifying the device state is done in
      UpdateDeviceState. This separation should make it easier to avoid setting the
      state twice when master events are processed.
      240b10fa
  5. 13 Nov, 2007 5 commits
  6. 12 Nov, 2007 5 commits
  7. 09 Nov, 2007 5 commits
  8. 08 Nov, 2007 2 commits
  9. 07 Nov, 2007 3 commits