Skip to content
Commit e6dce6d6 authored by David Edmundson's avatar David Edmundson
Browse files

Dialog: Only perform setup in the first expose event after showing a window

There is a code path to update the intiial visibility on wayland when we
hit an expose event. It's only processed on wayland so some of this code
was dead code.

It's important this only runs once as it updates the theme and
visibility, which for badly written contents can infinitely loop.

To restore behaviour as close as possible to the current state we use a
boolean flag to make sure we only process expose once.
parent 7bf83346
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment