gri3-wm/i3bar/src
Orestis Floros 016d4a3f45
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-09 10:43:48 +02:00
..
child.c Remove comment referencing old source code 2020-03-01 05:03:41 +09:00
config.c i3bar: Make header declarations extern 2020-02-01 17:33:53 +01:00
ipc.c clang-format: bring back ForeachMacros (#3948) 2020-02-19 11:31:09 +01:00
main.c i3bar: Make header declarations extern 2020-02-01 17:33:53 +01:00
mode.c Add setting for minimal width of workspace buttons 2019-06-25 13:10:01 +07:00
outputs.c clang-format: bring back ForeachMacros (#3948) 2020-02-19 11:31:09 +01:00
parse_json_header.c Ensure all *.[ch] files include config.h 2016-10-23 21:09:24 +02:00
workspaces.c Limit workspace numbers within 0..INT32_MAX 2020-02-21 02:07:04 +00:00
xcb.c Call cont_child() more liberally (#3996) 2020-04-09 10:43:48 +02:00