summaryrefslogtreecommitdiffstats
path: root/server/red_parse_qxl.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2010-09-01 20:04:52 +0200
committerAlexander Larsson <alexl@redhat.com>2010-09-09 16:25:24 +0200
commit4efeef330249819189a7a99e2dc65d2b3bc2f17b (patch)
tree74cfc9e303810b3535538875cb26ce285f4ff902 /server/red_parse_qxl.h
parent039700a90f5c2a0e0d3097e4feae3a84998e4111 (diff)
downloadspice-4efeef330249819189a7a99e2dc65d2b3bc2f17b.tar.gz
spice-4efeef330249819189a7a99e2dc65d2b3bc2f17b.tar.xz
spice-4efeef330249819189a7a99e2dc65d2b3bc2f17b.zip
spicec-x11: Fix going into a never ending loop upon xrandr event (#628573) (v2)
When handling an xrandr event the event_listener->on_monitors_change() callback destroys and re-creates the monitor object(s) which results in the DynamicScreen or MultyMonconstructor being called, which triggers more xrandr events. This causes a never ending event handling loop making spicec hang, and eventually making the X-server crash as a backlog of events builds up and it oom's. This patches this by explictly processing the xrandr event caused by the constructor inside the constructor surrounded by the already present guard code against recursive xrandr events.
Diffstat (limited to 'server/red_parse_qxl.h')
0 files changed, 0 insertions, 0 deletions