When deciding whether to use a user agent quirk to fix websites that always send us a mobile version, we should check the window size to guess whether that's actually desirable.
I've been thinking more about this and have changed my mind. WebKitGTK+ is not currently used on consumer mobile devices. There is no need for us to worry about this case. If this situation changes, then the user agent requires additional work anyway.