https://bugs.winehq.org/show_bug.cgi?id=43691
--- Comment #8 from Rafał Mużyło galtgendo@o2.pl --- ...perhaps I should mention, that for quite a while, the version of the patch I've been using has dropped most of the chunks for event.c, except a single one - the last one in comment 3 patch (one calling read_net_wm_states).
I haven't invested any serious effort into investigating bug 48368 problem.