gri3-wm/include
Nils Schneider f14efe85d1 Don't create empty workspaces on restart
This fixes a bug I introduced in #1921. When restarting i3 in place a
stray workspace was created on the root_output during restart. On first
start, this workspace would have been moved to the first real and empty
output.

However, this does not produce the desired result during restarts when
workspaces are alread present on all real outputs. The stray workspace would
still be added to the first real output which already contains some
workspaces. Thus, adding a new empty workspace to it.

Fix this by delaying creation of the root output's workspace until it is
known whether the output is active or not.

Fixes #1940
2015-09-21 13:26:58 +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 Handle _NET_WM_STATE_STICKY, but only for floating containers. If this atom is set, the floating window will always be automatically moved to the currently active workspace of the output that it is on. This is the equivalent of a sticky note stuck to the monitor. 2015-09-13 20:40:20 +02:00
bindings.h Use libxkbcommon for translating keysyms, support all XKB groups. 2015-08-26 09:56:42 +02: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 Implement new 'sticky' command to manually set, remove or toggle the sticky state on a window. 2015-09-13 20:40:20 +02:00
commands_parser.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
con.h Make sure sticky windows pop to the front if they get sticky while not being on a visible workspace. 2015-09-13 20:40:20 +02:00
config.h Revert "Add a timeout: delay_exit_on_zero_displays" 2015-09-14 22:34:05 +02:00
config_directives.h Revert "Add a timeout: delay_exit_on_zero_displays" 2015-09-14 22:34:05 +02:00
config_parser.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
data.h Handle _NET_WM_STATE_STICKY, but only for floating containers. If this atom is set, the floating window will always be automatically moved to the currently active workspace of the output that it is on. This is the equivalent of a sticky note stuck to the monitor. 2015-09-13 20:40:20 +02: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 Implement new 'sticky' command to manually set, remove or toggle the sticky state on a window. 2015-09-13 20:40:20 +02:00
fake_outputs.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
floating.h Support "resize set W H" 2015-09-11 23:12:07 +02:00
handlers.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
i3.h Use the EWMH support window rather than the root window as an input focus fallback. 2015-09-13 20:29:02 +02: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 Merge pull request #1816 from tcreech/tcreech-for-illumos 2015-08-04 00:10:06 -07: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 Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
match.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
move.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
output.h Make sure sticky windows pop to the front if they get sticky while not being on a visible workspace. 2015-09-13 20:40:20 +02:00
queue.h clang-format-3.5 **/*.h **/*.c 2014-06-19 11:20:32 +02:00
randr.h Don't create empty workspaces on restart 2015-09-21 13:26:58 +02:00
regex.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
render.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04: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 Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
sighandler.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
startup.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
tree.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
util.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
window.h Support _NET_WM_VISIBLE_NAME. As per specification this is necessary since we can display custom titles with title_format. 2015-08-30 22:42:14 +02:00
workspace.h Extract workspace names from bindings before reordering. 2015-09-14 09:28:42 +02:00
x.h Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
xcb.h Merge pull request #1665 from Airblader/feature-1658 2015-04-21 08:42:16 +02: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