gri3-wm/i3bar
Orestis Floros 81671d454e Call cont_child() more liberally (#3996)
Following the reproduction instructions from
https://github.com/i3/i3/issues/3242#issuecomment-436175346

For me, #3242 happened when the following sequence executed:
1. Fullscreening window correctly calls `stop_child()` in
6e24e2ad6f/i3bar/src/xcb.c (L685)
2. Xrandr change, `reconfig_windows()` is called and `output->visible` is
set to `true` in this line:
6e24e2ad6f/i3bar/src/xcb.c (L1791)
3. When the window's fullscreen is disabled,
`handle_visibility_notify()` returns in this line:
6e24e2ad6f/i3bar/src/xcb.c (L677)
because previously `output->visible` was set to `true`

To fix this, I call `cont_child()` more leniently since it is a no-op
when the child is not stopped.

Fixes #3242
Closes #3761
2020-04-22 08:55:41 +02:00
..
include i3bar: Make header declarations extern 2020-02-01 17:33:53 +01:00
src Call cont_child() more liberally (#3996) 2020-04-22 08:55:41 +02:00
.gitignore Mention the color-options in the manpage 2010-11-04 12:43:41 +01:00
LICENSE Update i3bar LICENSE to conform to other LICENSE files. (#2284) 2016-04-10 04:15:49 -07:00