Go to file
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
contrib contrib: add per-workspace-layout.pl 2014-01-26 16:51:32 +01:00
debian debian: update changelog 2015-09-08 09:25:53 +02:00
docs Revert "Add a timeout: delay_exit_on_zero_displays" 2015-09-14 22:34:05 +02:00
i3-config-wizard Merge pull request #1816 from tcreech/tcreech-for-illumos 2015-08-04 00:10:06 -07:00
i3-dump-log Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
i3-input Use safe wrappers wherever possible 2015-08-03 12:50:50 +03:00
i3-msg i3-msg: strdup getenv() result before freeing 2015-09-08 09:13:26 +02:00
i3-nagbar Use safe wrappers wherever possible 2015-08-03 12:50:50 +03:00
i3bar Use safe wrappers wherever possible 2015-08-03 12:50:50 +03:00
include Don't create empty workspaces on restart 2015-09-21 13:26:58 +02:00
libi3 Free the string returned by g_markup_escape_text. 2015-09-05 16:21:16 +02:00
man release i3 4.10.4 2015-09-08 09:19:17 +02:00
parser-specs Revert "Add a timeout: delay_exit_on_zero_displays" 2015-09-14 22:34:05 +02:00
src Don't create empty workspaces on restart 2015-09-21 13:26:58 +02:00
testcases Revert "Add a timeout: delay_exit_on_zero_displays" 2015-09-14 22:34:05 +02:00
.clang-format clang-format: don’t define ForeachMacros 2014-06-19 11:17:46 +02:00
.gitignore Rebuild version.o when version.c or LAST_VERSION change 2015-04-12 12:31:58 -04:00
.travis.yml .travis.yml: add a wrapped functions grepper script 2015-08-03 12:51:39 +03:00
common.mk Changes for compiling on Illumos 2015-07-30 07:44:10 -04:00
CONTRIBUTING.md docs: improve formatting for CONTRIBUTING 2015-08-01 14:50:55 -04:00
DEPENDS add util-{wm,keysyms} explicitly, remove obsolete xlib, update lkgv 2015-06-28 21:27:52 +02:00
generate-command-parser.pl generate parser enums stably: additionally sort on name 2015-08-05 21:23:51 +01:00
i3-dmenu-desktop Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
i3-migrate-config-to-v4 Remove dead documentation for non-existing feature "stack-limit". 2015-06-09 23:13:15 +02:00
i3-save-tree i3-save-tree: retain “rect” for floating_cons 2015-08-05 22:43:18 +02:00
i3-sensible-editor Use command -v (built-in) instead of which(1) (Thanks val) 2014-10-23 23:05:01 +02:00
i3-sensible-pager Added 'pg' to i3-sensible-pager 2015-07-14 20:03:55 +12:00
i3-sensible-terminal Added terminology to i3-sensible-terminal 2015-07-28 23:00:18 +02:00
i3-with-shmlog.xsession.desktop enable shmlog when invoked as i3-with-shmlog, install symlink + .desktop file 2014-01-04 12:18:45 +01:00
i3.applications.desktop Add 'NoDisplay=true' to i3.application.desktop 2013-06-12 19:47:57 +02:00
i3.config Add 'tray_output primary' to the default config 2015-08-25 18:56:05 +02:00
i3.config.keycodes Add 'tray_output primary' to the default config 2015-08-25 18:56:05 +02:00
i3.xsession.desktop set DesktopNames (which gdm uses) (Thanks Yves-Alexis) 2014-10-23 23:18:15 +02:00
LICENSE remove obsolete CMDMODE and TODO files, update LICENSE 2011-10-08 15:18:04 +01:00
logo.svg s/i3.zekjur.net/i3wm.org/g 2011-08-28 17:44:42 +02:00
Makefile Rebuild version.o when version.c or LAST_VERSION change 2015-04-12 12:31:58 -04:00
PACKAGE-MAINTAINER Introduce the i3-sensible-{pager,editor,terminal} scripts 2011-09-25 18:46:37 +01:00
pseudo-doc.doxygen s/i3.zekjur.net/i3wm.org/g 2011-08-28 17:44:42 +02:00
RELEASE-NOTES-4.10.4 release i3 4.10.4 2015-09-08 09:19:17 +02:00
release.sh update release.sh for 4.10.4 release 2015-09-08 09:27:59 +02:00