[mythtv-commits] Ticket #9494: Mac MythTV port should ignore remote events when screen is blanked
MythTV
noreply at mythtv.org
Wed Jan 19 05:05:00 UTC 2011
#9494: Mac MythTV port should ignore remote events when screen is blanked
------------------------------+----------------------------------
Reporter: dgatwood@… | Type: Bug Report
Status: new | Priority: minor
Milestone: unknown | Component: MythTV - General
Version: 0.23-fixes | Severity: low
Keywords: | Ticket locked: 0
------------------------------+----------------------------------
If you use screen blanking on Mac OS X, MythTV dutifully wakes the screen
(maybe accidentally) when you hit a button on the Apple remote, but it
then interprets that button press, resulting in an action that the user
can't possibly have intended (because the user is acting blindly).
You can probably solve this by calling CGDisplayIsAsleep() on the main
display and throwing away the event if that returns true. That said, I'm
not certain of this; the display might already be awake by the time you
get that event, in which case you would have to use... probably
CGDisplayRegisterReconfigurationCallback (and, later,
CGDisplayRemoveReconfigurationCallback) to register for notifications so
that you can throw away events for... say a second after receiving
notification that the display is active (drawable).
Either way, it's not a major bug, more of a "nice to have" that would
improve usability.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9494>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list