monitor_dump_state
shows only one monitor despite two being added
#1064
Labels
monitor_dump_state
shows only one monitor despite two being added
#1064
Thanks for reporting your bug here! The following template will help with
giving as much information as possible so that it's easier to diagnose and
fix.
Upfront Information
Please provide the following information by running the command and providing
the output.
fvwm3 --version
)Commit b92ecb2, then built as in Debian with
Debian testing with Fvwm3 built from main.
uname -sp
)Linux unknown
Expected Behaviour
I'm trying to understand Fvwm's monitor handling and patched it as follows:
Then I ensured that xrandr finds both monitors:
In that scenario, I'd expect that the call to
monitor_dump_state
would list also both these monitors when I restart Fvwm3 with above changes.Actual Behaviour
However, I get the following in my journal:
So
monitor_add
/monitor_mark_new
get called on both monitors, but the resulting dump shows only one?!Unfortunately, my gdb foo is not good enough to trace down the RB-tree ops. What I could get from gdb was that information from
monitor_get_count
(with the same monitor setup as shown above):The text was updated successfully, but these errors were encountered: