Support Screen unlocked in pocket... why?

view story

http://androidforums.com – Hi, I found that when I left my phone in my pants pocket, it started getting warm. I took it out and see that the screen was on. I have the Midnight rom, screen was locked, and I didn't set up swipe2wake. Why would this happen? Thanks. (General)