treeform / boxy

2D GPU rendering with a tiling atlas.
MIT License
102 stars 7 forks source link

Multiple windows example broken #63

Open SirOlaf opened 1 year ago

SirOlaf commented 1 year ago

The example for running multiple windows is broken on linux. I did not test other platforms so I am unable to provide further info for those.

By default, only one window opens, which is wrong. If the windows are both set to invisible and then made visible later, they both appear but events are dispatched incorrectly. I attempted to debug the problem but I lack the proper understanding of xlib to figure out where exactly things go wrong.

When run in debug mode the issue isn't as consistent, so I assume this is some sort of race condition with x11.