Novel hetarylaminonaphthyridine derivatives of formula (I) wherein X, R1, R2, R3, R4, W1, W2, W3, W5 and W6 have the meaning according to claim 1, are inhibitors of ATP consuming proteins, and can be employed, inter alia, for the treatment of tumors.