]> git.sur5r.net Git - i3/i3/log
i3/i3
11 years agotests: unset $ENV{SHELL} to avoid breakage with fish (Thanks dRbiG)
Michael Stapelberg [Fri, 15 Feb 2013 15:41:28 +0000 (16:41 +0100)]
tests: unset $ENV{SHELL} to avoid breakage with fish (Thanks dRbiG)

11 years agoSplit workspace instead of changing orientation
Mats [Thu, 24 Jan 2013 16:56:03 +0000 (17:56 +0100)]
Split workspace instead of changing orientation

Move all children of the workspace into a new container if there is more
than one otherwise simply change the orientation.

fixes #922

11 years agouserguide: remove obsolete sentence about client.background (Thanks Tucos)
Michael Stapelberg [Thu, 14 Feb 2013 19:47:41 +0000 (20:47 +0100)]
userguide: remove obsolete sentence about client.background (Thanks Tucos)

11 years agoObey WM_SIZE_HINTS's resize increments in floating
oblique [Fri, 8 Feb 2013 16:41:41 +0000 (18:41 +0200)]
Obey WM_SIZE_HINTS's resize increments in floating

11 years agoAdd render_deco_height()
oblique [Fri, 8 Feb 2013 13:23:50 +0000 (15:23 +0200)]
Add render_deco_height()

11 years agoBugfix: Do not move focus if a container is moved across outputs
Sebastian Rachuj [Sat, 9 Feb 2013 19:23:01 +0000 (20:23 +0100)]
Bugfix: Do not move focus if a container is moved across outputs

fixes #809

This makes the moving behavior more consistent. If you want to focus the
workspace you are moving to, just chain the keybinding in your config
file:

    bindsym $mod+Shift+1 move workspace 1; workspace 1

11 years agohacking-howto: refer people to cr.i3wm.org
Michael Stapelberg [Sun, 10 Feb 2013 14:10:13 +0000 (15:10 +0100)]
hacking-howto: refer people to cr.i3wm.org

11 years agoi3test: fix get_focused() docs (Thanks knopwob)
Michael Stapelberg [Thu, 7 Feb 2013 14:57:15 +0000 (15:57 +0100)]
i3test: fix get_focused() docs (Thanks knopwob)

11 years agouserguide: be explicit about assignment processing order (Thanks Donald)
Michael Stapelberg [Thu, 7 Feb 2013 14:49:35 +0000 (15:49 +0100)]
userguide: be explicit about assignment processing order (Thanks Donald)

11 years agoi3-nagbar: kludge to run the command shell script when inside a noexec mount
Michael Stapelberg [Thu, 7 Feb 2013 14:30:40 +0000 (15:30 +0100)]
i3-nagbar: kludge to run the command shell script when inside a noexec mount

See the comment inside the commit for more information on how this
works.

fixes #947

11 years agoput common part of error messages into variable
Sascha Kruse [Mon, 28 Jan 2013 15:36:38 +0000 (16:36 +0100)]
put common part of error messages into variable

This makes future changes easier when new tokens are added to the
parser.

11 years agoi3-dmenu-desktop: List filenames of .desktop files
Mats [Mon, 28 Jan 2013 16:43:42 +0000 (17:43 +0100)]
i3-dmenu-desktop: List filenames of .desktop files

In addition to 'name' and 'command', add a third entry type 'filename'
to list the filenames of the .desktop files (e.g., 'firefox.desktop'
would be display as 'firefox').

Command line option '--entry-type' can be specified multiple times.

fixes #930

11 years agoscratchpad_show focus unfocused scratchpad window
Sascha Kruse [Mon, 28 Jan 2013 09:11:53 +0000 (10:11 +0100)]
scratchpad_show focus unfocused scratchpad window

When there's an unfocused scratchpad window on the current workspace
scratchpad_show will focus that scratchpad window.

11 years agoadd testcase for "move workspace <output>"
Michael Stapelberg [Wed, 30 Jan 2013 12:31:20 +0000 (13:31 +0100)]
add testcase for "move workspace <output>"

11 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 30 Jan 2013 12:30:59 +0000 (13:30 +0100)]
Merge branch 'master' into next

11 years agoMerge branch 'fix-move-ws'
Michael Stapelberg [Wed, 30 Jan 2013 12:30:59 +0000 (13:30 +0100)]
Merge branch 'fix-move-ws'

11 years agoBugfix: Correctly parse `move ... workspace *_on_output`
Steven Allen [Tue, 29 Jan 2013 08:05:23 +0000 (03:05 -0500)]
Bugfix: Correctly parse `move ... workspace *_on_output`

The parse spec for `move ... workspace ...`  ordered next/prev before
next_on_output/prev_on_output causing the parser to match next/prev
before next_on_output/prev_on_output.

Ticket: http://bugs.i3wm.org/report/ticket/941

11 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 27 Jan 2013 19:20:53 +0000 (20:20 +0100)]
Merge branch 'master' into next

11 years agoMerge branch 'userguide-resize'
Michael Stapelberg [Sun, 27 Jan 2013 19:20:53 +0000 (20:20 +0100)]
Merge branch 'userguide-resize'

11 years agouserguide: be more clear about the resize command arguments (Thanks Tucos)
Michael Stapelberg [Sun, 27 Jan 2013 19:20:37 +0000 (20:20 +0100)]
userguide: be more clear about the resize command arguments (Thanks Tucos)

11 years agoFix decoration rect size for windows without border
Marius Muja [Mon, 31 Dec 2012 11:04:53 +0000 (03:04 -0800)]
Fix decoration rect size for windows without border

11 years agosplit main .gitignore and ignore more files
Vivien Didelot [Wed, 23 Jan 2013 22:37:27 +0000 (17:37 -0500)]
split main .gitignore and ignore more files

This patch splits the main .gitignore with a specific
testcases/.gitignore and also add 4 patterns to the ignore list:

  i3-command-parser.stamp
  i3-config-parser.stamp
  testcases/-
  testcases/i3-cfg-for-*

11 years agoadd testcase for "move to output" wrapping
Michael Stapelberg [Sat, 26 Jan 2013 18:28:11 +0000 (19:28 +0100)]
add testcase for "move to output" wrapping

11 years agowrap when moving things to outputs with direction
Francesco Mazzoli [Thu, 24 Jan 2013 23:02:09 +0000 (00:02 +0100)]
wrap when moving things to outputs with direction

11 years agoupdate tests to test the output wrapping
Francesco Mazzoli [Thu, 24 Jan 2013 23:02:37 +0000 (00:02 +0100)]
update tests to test the output wrapping

11 years agoi3-msg: parse command replies and display errors nicely if there were errors
Michael Stapelberg [Sat, 26 Jan 2013 16:56:43 +0000 (17:56 +0100)]
i3-msg: parse command replies and display errors nicely if there were errors

fixes #737

11 years agoMake i3-nagbar use the same font as configured for i3
Michael Stapelberg [Sat, 26 Jan 2013 08:55:38 +0000 (09:55 +0100)]
Make i3-nagbar use the same font as configured for i3

11 years agoremove the urgency indicator when a window is closed
Adrien Schildknecht [Fri, 25 Jan 2013 17:32:43 +0000 (18:32 +0100)]
remove the urgency indicator when a window is closed

11 years agoCall scratchpad_show() when focusing scratchpad windows via criteria
Michael Stapelberg [Fri, 25 Jan 2013 15:10:37 +0000 (16:10 +0100)]
Call scratchpad_show() when focusing scratchpad windows via criteria

fixes #931

11 years agoMerge branch 'fix-scratchpad-reconf'
Michael Stapelberg [Fri, 25 Jan 2013 14:48:38 +0000 (15:48 +0100)]
Merge branch 'fix-scratchpad-reconf'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Fri, 25 Jan 2013 14:48:38 +0000 (15:48 +0100)]
Merge branch 'master' into next

11 years agoBugfix: fix coordinates of scratchpad windows on output changes (Thanks badboy)
Michael Stapelberg [Fri, 25 Jan 2013 14:47:43 +0000 (15:47 +0100)]
Bugfix: fix coordinates of scratchpad windows on output changes (Thanks badboy)

Previously, after reconfiguring monitors, scratchpad windows could still
be focused but might be out of bounds for you to see.

fixes #929

11 years agoscratchpad: fix crash when moving last window of an invisible workspace (+test) ...
Michael Stapelberg [Fri, 25 Jan 2013 14:26:53 +0000 (15:26 +0100)]
scratchpad: fix crash when moving last window of an invisible workspace (+test) (Thanks bafain)

It looks like the code which was removed with this commit was not
necessary anyways since con_move_to_workspace() by now checks on its own
whether it moves to the scratchpad.

fixes #913

11 years agofix two more crashes when disabling an empty output
Michael Stapelberg [Fri, 25 Jan 2013 13:53:15 +0000 (14:53 +0100)]
fix two more crashes when disabling an empty output

11 years agoBugfix: fix crash when disabling output without any windows (Thanks xeen, knopwob)
Michael Stapelberg [Fri, 25 Jan 2013 13:14:06 +0000 (14:14 +0100)]
Bugfix: fix crash when disabling output without any windows (Thanks xeen, knopwob)

fixes #919

11 years agoMerge branch 'fix-workspace-ws'
Michael Stapelberg [Fri, 25 Jan 2013 12:56:26 +0000 (13:56 +0100)]
Merge branch 'fix-workspace-ws'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Fri, 25 Jan 2013 12:56:26 +0000 (13:56 +0100)]
Merge branch 'master' into next

11 years agoBugfix: parse outputs as "word", not "string", to ignore trailing whitespace (Thanks...
Michael Stapelberg [Fri, 25 Jan 2013 12:55:26 +0000 (13:55 +0100)]
Bugfix: parse outputs as "word", not "string", to ignore trailing whitespace (Thanks leifarne)

fixes #921

11 years agoi3bar: fix rendering positions
Michael Stapelberg [Thu, 24 Jan 2013 16:21:34 +0000 (17:21 +0100)]
i3bar: fix rendering positions

11 years agoi3bar: don’t use X11 borders to avoid overlapping in hide mode
Michael Stapelberg [Thu, 24 Jan 2013 15:09:51 +0000 (16:09 +0100)]
i3bar: don’t use X11 borders to avoid overlapping in hide mode

fixes #923

11 years agoMerge branch 'fix-key-release'
Michael Stapelberg [Thu, 24 Jan 2013 13:45:14 +0000 (14:45 +0100)]
Merge branch 'fix-key-release'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Thu, 24 Jan 2013 13:45:14 +0000 (14:45 +0100)]
Merge branch 'master' into next

11 years agoBugfix: fix “overlapping” --release key bindings (Thanks phlux)
Michael Stapelberg [Thu, 24 Jan 2013 13:44:01 +0000 (14:44 +0100)]
Bugfix: fix “overlapping” --release key bindings (Thanks phlux)

We eagerly marked all KeyRelease bindings as eligible to match without
checking modifiers, while this should only be allowed for the key
binding which actually was pressed.

fixes #915

11 years agoi3-input: set focus before sending the command (Thanks emias)
Michael Stapelberg [Thu, 24 Jan 2013 12:57:08 +0000 (13:57 +0100)]
i3-input: set focus before sending the command (Thanks emias)

This avoids problems with sending 'focus left' or other commands which
manipulate focus.

11 years agoFixing continuous resize bug in floating mode
Marius Muja [Wed, 2 Jan 2013 09:19:38 +0000 (01:19 -0800)]
Fixing continuous resize bug in floating mode

fixes #910

11 years agoAllow servers which do not support the XKB extension.
David Edmondson [Wed, 23 Jan 2013 16:21:07 +0000 (16:21 +0000)]
Allow servers which do not support the XKB extension.

If we can open the X display but the XKB extension is not available,
continue without it.

11 years agoipc: use ipc_recv_message instead of duplicate code
Michael Stapelberg [Wed, 23 Jan 2013 17:59:36 +0000 (18:59 +0100)]
ipc: use ipc_recv_message instead of duplicate code

This should fix the situation where i3 would read only the header and
not the payload of the message.

11 years agoipc_recv_message: store message_type, don’t compare. add distinct EOF retval
Michael Stapelberg [Wed, 23 Jan 2013 17:50:21 +0000 (18:50 +0100)]
ipc_recv_message: store message_type, don’t compare. add distinct EOF retval

Also use ELOG, which requires i3-msg to provide logging functions.

11 years agoi3-msg: include socket path in error message
Michael Stapelberg [Wed, 23 Jan 2013 07:11:27 +0000 (08:11 +0100)]
i3-msg: include socket path in error message

11 years agoinclude stdint.h in i3/ipc.h (Thanks Kai)
Michael Stapelberg [Fri, 11 Jan 2013 21:28:43 +0000 (22:28 +0100)]
include stdint.h in i3/ipc.h (Thanks Kai)

11 years agoipc_send_message: use stack frame with fixed size
Michael Stapelberg [Fri, 11 Jan 2013 18:09:41 +0000 (19:09 +0100)]
ipc_send_message: use stack frame with fixed size

11 years agoMerge branch 'fix-ipc-write'
Michael Stapelberg [Wed, 9 Jan 2013 17:11:17 +0000 (18:11 +0100)]
Merge branch 'fix-ipc-write'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 9 Jan 2013 17:11:17 +0000 (18:11 +0100)]
Merge branch 'master' into next

11 years agoBugfix: fix IPC messages writes with low buffer sizes (Thanks jasper, dcoppa)
Michael Stapelberg [Wed, 9 Jan 2013 17:11:03 +0000 (18:11 +0100)]
Bugfix: fix IPC messages writes with low buffer sizes (Thanks jasper, dcoppa)

Use the following command to reproduce this bug:

    echo 4096 | sudo tee /proc/sys/net/core/wmem_default

Then just switch workspaces with some windows on it and i3bar would
exit due to malformed IPC messages.

This bug hits OpenBSD users (and possibly other BSDs) due to their lower
default buffer size.

fixes #896

11 years agoAdds Go IPC lib to the docs.
slowpoke [Tue, 1 Jan 2013 19:09:03 +0000 (19:09 +0000)]
Adds Go IPC lib to the docs.

11 years agoi3bar: set _NET_SYSTEM_TRAY_COLORS for symbolic icons (gtk3+)
Michael Stapelberg [Wed, 2 Jan 2013 22:09:52 +0000 (23:09 +0100)]
i3bar: set _NET_SYSTEM_TRAY_COLORS for symbolic icons (gtk3+)

11 years agoi3bar: fake DestroyNotify and send MANAGER ClientMessages to fix tray restarts
Michael Stapelberg [Wed, 2 Jan 2013 21:48:20 +0000 (22:48 +0100)]
i3bar: fake DestroyNotify and send MANAGER ClientMessages to fix tray restarts

fixes #745

11 years agoi3bar: add missing \n to debug messages
Michael Stapelberg [Wed, 2 Jan 2013 10:38:03 +0000 (11:38 +0100)]
i3bar: add missing \n to debug messages

11 years agoMerge branch 'fix-assign-and-move'
Michael Stapelberg [Tue, 1 Jan 2013 15:31:27 +0000 (16:31 +0100)]
Merge branch 'fix-assign-and-move'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Tue, 1 Jan 2013 15:31:27 +0000 (16:31 +0100)]
Merge branch 'master' into next

11 years agoBugfix: Fix for_window moving of assigned windows (Thanks bafain)
Michael Stapelberg [Tue, 1 Jan 2013 15:31:08 +0000 (16:31 +0100)]
Bugfix: Fix for_window moving of assigned windows (Thanks bafain)

fixes #909

11 years agot/175-startup-notification: use the testcases X11 connection
Michael Stapelberg [Thu, 27 Dec 2012 17:02:23 +0000 (18:02 +0100)]
t/175-startup-notification: use the testcases X11 connection

This needs X11::XCB >= 0.07 and will be skipped if that is not
installed.

This fixes a race condition in the testsuite.

11 years agoignore MotionNotify events generated while warping the pointer
Michael Stapelberg [Thu, 27 Dec 2012 16:04:13 +0000 (17:04 +0100)]
ignore MotionNotify events generated while warping the pointer

11 years agodebug message for window focus: include window ID
Michael Stapelberg [Thu, 27 Dec 2012 15:58:46 +0000 (16:58 +0100)]
debug message for window focus: include window ID

11 years agot/132-move-workspace: add missing sync_with_i3
Michael Stapelberg [Thu, 27 Dec 2012 15:55:22 +0000 (16:55 +0100)]
t/132-move-workspace: add missing sync_with_i3

11 years agounregister as window manager before restarting (fixes a race condition)
Michael Stapelberg [Thu, 27 Dec 2012 15:54:54 +0000 (16:54 +0100)]
unregister as window manager before restarting (fixes a race condition)

11 years agouse xcb_aux_sync to make sure our changes reach the X server, flushing is not enough
Michael Stapelberg [Thu, 27 Dec 2012 15:54:36 +0000 (16:54 +0100)]
use xcb_aux_sync to make sure our changes reach the X server, flushing is not enough

11 years agot/166-assign: sync after mapping the window
Michael Stapelberg [Wed, 26 Dec 2012 21:04:35 +0000 (22:04 +0100)]
t/166-assign: sync after mapping the window

11 years agot/173-regress-focus-assign: sync after mapping the window
Michael Stapelberg [Wed, 26 Dec 2012 21:04:15 +0000 (22:04 +0100)]
t/173-regress-focus-assign: sync after mapping the window

11 years agot/189-floating-constraints: sync before getting window rects
Michael Stapelberg [Wed, 26 Dec 2012 21:03:37 +0000 (22:03 +0100)]
t/189-floating-constraints: sync before getting window rects

11 years agot/510-focus-across-outputs: fix sync order
Michael Stapelberg [Wed, 26 Dec 2012 21:03:02 +0000 (22:03 +0100)]
t/510-focus-across-outputs: fix sync order

syncing _after_ fresh_workspace makes no change, but we need to wait for
the WarpPointer request to be processed.

11 years agot/503-workspace: sync after switching focus to a different output
Michael Stapelberg [Wed, 26 Dec 2012 21:02:43 +0000 (22:02 +0100)]
t/503-workspace: sync after switching focus to a different output

11 years agouserguide: fix typo: s/11x/11px/
Michael Stapelberg [Wed, 26 Dec 2012 17:32:13 +0000 (18:32 +0100)]
userguide: fix typo: s/11x/11px/

11 years agoi3-dmenu-desktop: skip broken files (no/empty Exec=) but warn about them
Michael Stapelberg [Wed, 26 Dec 2012 17:31:33 +0000 (18:31 +0100)]
i3-dmenu-desktop: skip broken files (no/empty Exec=) but warn about them

11 years agoi3-dmenu-desktop: skip files with broken utf8 but warn about it
Michael Stapelberg [Wed, 26 Dec 2012 17:31:21 +0000 (18:31 +0100)]
i3-dmenu-desktop: skip files with broken utf8 but warn about it

11 years agoi3-config-wizard: clean all traces of the old config parser (Thanks cradle)
Michael Stapelberg [Wed, 26 Dec 2012 13:23:47 +0000 (14:23 +0100)]
i3-config-wizard: clean all traces of the old config parser (Thanks cradle)

11 years agodrop the flex/bison dependency \o/
Michael Stapelberg [Tue, 25 Dec 2012 13:20:21 +0000 (14:20 +0100)]
drop the flex/bison dependency \o/

11 years agoi3-config-wizard: switch away from bison/flex to hand-written parser
Michael Stapelberg [Tue, 25 Dec 2012 13:15:06 +0000 (14:15 +0100)]
i3-config-wizard: switch away from bison/flex to hand-written parser

This adds some code duplication which we might remove in a future
refactoring or not. Depends on whether unifying the parsers actually
makes the code better or not. I suspect it doesn’t :-).

11 years agoi3-dmenu-desktop: strip newlines from dmenu ≥ 4.4 (Thanks saurabhgeek92)
Michael Stapelberg [Tue, 25 Dec 2012 11:41:00 +0000 (12:41 +0100)]
i3-dmenu-desktop: strip newlines from dmenu ≥ 4.4 (Thanks saurabhgeek92)

fixes #891

11 years agomove visible scratchpad window to focused workspace
Simon Elsbrock [Fri, 21 Dec 2012 21:13:31 +0000 (22:13 +0100)]
move visible scratchpad window to focused workspace

If there is a visible scratchpad on another (non-internal) workspace,
bring it to the focused workspace instead of doing nothing.

closes #784

11 years agomove scratchpad test to separate file, otherwise it is non-conclusive
Michael Stapelberg [Mon, 24 Dec 2012 18:19:32 +0000 (19:19 +0100)]
move scratchpad test to separate file, otherwise it is non-conclusive

11 years agofix formatting in get_process_filename.c
Michael Stapelberg [Mon, 24 Dec 2012 15:57:30 +0000 (16:57 +0100)]
fix formatting in get_process_filename.c

11 years agoi3-nagbar: don’t quote the -e argument for i3-sensible-terminal
Michael Stapelberg [Mon, 24 Dec 2012 15:56:20 +0000 (16:56 +0100)]
i3-nagbar: don’t quote the -e argument for i3-sensible-terminal

…not all terminals support it

11 years agorefactor both i3-nagbar starts into src/util.c
Michael Stapelberg [Mon, 24 Dec 2012 15:53:20 +0000 (16:53 +0100)]
refactor both i3-nagbar starts into src/util.c

With this change, libev >= 4 is a hard dependency. It should be present
in all major linux distributions (even the latest ubuntu LTS).

11 years agoremove all references to the old cfgparse
Michael Stapelberg [Mon, 24 Dec 2012 14:57:02 +0000 (15:57 +0100)]
remove all references to the old cfgparse

11 years agoremove old cfgparse.{l,y}
Michael Stapelberg [Mon, 24 Dec 2012 14:46:57 +0000 (15:46 +0100)]
remove old cfgparse.{l,y}

11 years agorender_con: initialize int sizes[children]
Sascha Kruse [Mon, 10 Dec 2012 18:13:05 +0000 (19:13 +0100)]
render_con: initialize int sizes[children]

This fixes a clang-analyzer warning

11 years agoRevert "initialize array to fix clang-analyze warning"
Michael Stapelberg [Mon, 24 Dec 2012 14:28:08 +0000 (15:28 +0100)]
Revert "initialize array to fix clang-analyze warning"

This reverts commit 56e0ceb44e0745b1670952be8f324783abdb28c5.

11 years agopod2html: remove "(testsuite)" from title, it’s also for i3-dmenu-desktop
Michael Stapelberg [Mon, 24 Dec 2012 14:27:09 +0000 (15:27 +0100)]
pod2html: remove "(testsuite)" from title, it’s also for i3-dmenu-desktop

11 years agoinitialize array to fix clang-analyze warning
Michael Stapelberg [Mon, 24 Dec 2012 14:19:20 +0000 (15:19 +0100)]
initialize array to fix clang-analyze warning

11 years agofix possibly uninitialized variable (Thanks knopwob)
Michael Stapelberg [Mon, 24 Dec 2012 14:13:47 +0000 (15:13 +0100)]
fix possibly uninitialized variable (Thanks knopwob)

11 years agoi3-dump-log/main.c: error handling for write(...)
Sascha Kruse [Mon, 10 Dec 2012 16:45:14 +0000 (17:45 +0100)]
i3-dump-log/main.c: error handling for write(...)

11 years agoMerge branch 'master' into next
Michael Stapelberg [Mon, 24 Dec 2012 13:50:15 +0000 (14:50 +0100)]
Merge branch 'master' into next

11 years agoMerge branch 'fix-mapreq'
Michael Stapelberg [Mon, 24 Dec 2012 13:50:11 +0000 (14:50 +0100)]
Merge branch 'fix-mapreq'

11 years agoBugfix: handle MapRequests sent between i3 registering as a wm and handling events
Michael Stapelberg [Mon, 24 Dec 2012 13:49:19 +0000 (14:49 +0100)]
Bugfix: handle MapRequests sent between i3 registering as a wm and handling events

This fixes the problem where i3-nagbar does not come up because its
MapRequest is ignored.

fixes #892

11 years agoBugfix: Correctly close floating windows (Thanks eeemsi)
Michael Stapelberg [Sun, 23 Dec 2012 17:51:17 +0000 (18:51 +0100)]
Bugfix: Correctly close floating windows (Thanks eeemsi)

11 years agoRender tree before destroying X11 containers upon unmap (Thanks Merovius)
Michael Stapelberg [Sun, 23 Dec 2012 14:54:49 +0000 (15:54 +0100)]
Render tree before destroying X11 containers upon unmap (Thanks Merovius)

When an X11 window is closed (say, urxvt), i3 gets an UnmapNotify event
and destroys (DestroyWindow) the window decorations. Before this commit,
the DestroyWindow call was sent immediately.

This lead to a situation where — due to the DestroyNotify — EnterNotify
events were generated that would cause the focus to be set to the
underlying window.

With this commit, i3 first renders the tree and pushes changes to X11
before calling DestroyWindow. Therefore, the surrounding containers will
take up any space that was freed by the window which was closed and no
EnterNotify will be generated.

fixes #660

11 years agoDraw 1px tab separators left/right instead of 2px on the right only
Joep van Delft [Thu, 20 Dec 2012 17:32:11 +0000 (18:32 +0100)]
Draw 1px tab separators left/right instead of 2px on the right only

fixes #894

11 years agonew-test: add launch_with_config to multi-monitor template
Michael Stapelberg [Sat, 22 Dec 2012 13:08:25 +0000 (14:08 +0100)]
new-test: add launch_with_config to multi-monitor template

11 years agoMerge branch 'fix-scratch-confreq'
Michael Stapelberg [Sat, 22 Dec 2012 13:08:14 +0000 (14:08 +0100)]
Merge branch 'fix-scratch-confreq'