gri3-wm/include
Ingo Bürk dbafb3cf23 Properly close disabled outputs restored during a restart. (#2337)
If an output is disabled during a restart, for example because a binding
such as

    bindsym $mod+Shift+r exec "xrandr --auto", restart

is used, it can happen that we first write the layout to disk and only
then receive the RandR change events. This leads to a situation where
the restored tree will contain these outputs, but the restarted i3
process will not receive the RandR events, thus the internal output in i3
is marked disabled.

This patch finds these cases after a restart and force-disables the
affected outputs.

fixes #2326
2016-05-08 12:49:24 +02:00
..
i3 Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
all.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
assignments.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
atoms.xmacro split atoms.xmacro into 2 files to obtain _NET_SUPPORTED count 2016-02-23 21:48:18 +01:00
atoms_NET_SUPPORTED.xmacro split atoms.xmacro into 2 files to obtain _NET_SUPPORTED count 2016-02-23 21:48:18 +01:00
atoms_rest.xmacro Introduce I3_FLOATING_WINDOW 2016-02-25 18:36:22 +01:00
bindings.h Only grab the mouse buttons that need to be grabbed. (#2290) 2016-04-13 10:45:57 -07:00
click.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
cmdparse.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
commands.h Ensure that the "border" command uses logical pixels. 2016-02-09 21:03:44 +01:00
commands_parser.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
con.h Correctly count the number of windows for no_focus. (#2296) 2016-04-15 00:26:42 -07:00
config.h Rename decoration_border to child_border. 2016-01-09 16:47:33 -05:00
config_directives.h Rename decoration_border to child_border. 2016-01-09 16:47:33 -05:00
config_parser.h Check duplicated bindings after translating keysym 2015-10-02 22:09:53 +08:00
data.h Handle the EWMH atom _NET_WM_DESKTOP. 2016-01-18 12:13:36 +01:00
debug.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
display_version.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
ewmh.h Handle the EWMH atom _NET_WM_DESKTOP. 2016-01-18 12:13:36 +01:00
fake_outputs.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
floating.h Remove dead code guarded with "#if 0 … #endif" (#2338) 2016-05-05 14:18:04 +02:00
handlers.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
i3.h Refactor extern definition of conn and root_screen 2015-12-29 12:47:12 +01:00
ipc.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
key_press.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
libi3.h Convert ifdef CAIRO_SUPPORT to if statements to keep consistency with common.mk 2016-03-23 10:58:10 -05:00
load_layout.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
log.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
main.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
manage.h Remove dead code guarded with "#if 0 … #endif" (#2338) 2016-05-05 14:18:04 +02:00
match.h Refactor parsing of matches to avoid code duplication. 2015-10-04 17:40:25 +02:00
move.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
output.h Keep a sticky window focused if it was the focused window on the source workspace. 2015-09-24 22:10:17 +02:00
queue.h clang-format-3.5 **/*.h **/*.c 2014-06-19 11:20:32 +02:00
randr.h Properly close disabled outputs restored during a restart. (#2337) 2016-05-08 12:49:24 +02:00
regex.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
render.h Refactor out some individual functions in render_con() to make the code more readable. 2015-09-09 18:37:07 +02:00
resize.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
restore_layout.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
scratchpad.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
sd-daemon.h clang-format-3.5 **/*.h **/*.c 2014-06-19 11:20:32 +02:00
shmlog.h Fix spelling mistakes 2016-04-04 09:33:59 +02:00
sighandler.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
startup.h Turn "char *" into "const char *" for all command parser functions. 2015-09-28 14:24:08 +02:00
tree.h Validate matched containers for "kill" command correctly. 2015-12-28 02:35:25 -05:00
util.h Move title_format from window to container. 2016-01-05 12:22:27 -05:00
window.h fix memory leak when swallowing windows 2016-01-09 17:06:58 +01:00
workspace.h Remove dead code guarded with "#if 0 … #endif" (#2338) 2016-05-05 14:18:04 +02:00
x.h Remove redundant depth argument from x_con_init(). (#2323) 2016-05-05 14:18:27 +02:00
xcb.h Only grab the mouse buttons that need to be grabbed. (#2290) 2016-04-13 10:45:57 -07:00
xcb_compat.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
xcursor.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
xinerama.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
yajl_utils.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00