Hummingbirds have arrived in north Texas - in great numbers. Many of them will, after resting, continue their northward migration. To encourage as many as possible to stay around, try the suggestions below;
Put up more than one feeder – First, there should be enough spots for Hummingbirds to sip nectar without waiting in line. Put up enough feeders for the number of Hummingbirds you could have, not just the number that you have today. Feeders should not be visible from each other, or the tiny birds (which are very possessive) will fight others off.
That annoying pecking! Many birds will peck vigorously and endlessly at a window – or anything else reflective. This happens largely in the springtime, and often with Cardinals. The offending bird (usually a male) sees his own reflection and, not being a rocket scientist, is attacking it (seeing "another bird") in a territorial dispute.
I know it drives you crazy, but the bird isn't hurting itself. (No bird has ever been hurt from doing this, except for damaging his pride) Try eliminating the reflection by rubbing dry soap on the outside of the window. It might stop the pecking, and it washes right off.