I just stuffed my wireless Apple keyboard into my Levi's jeans pocket for comparison since it has the same battery compartment design.
It felt OK, but I'm not sure people would want that kind of design in their pockets... Even if it was slightly smaller. I think it being straight slanted would be a lot worse.