]> git.sur5r.net Git - i3/i3/log
i3/i3
11 years agodump-asy: start gv without widgets and fit the drawing to window
Michael Stapelberg [Fri, 23 Nov 2012 19:29:08 +0000 (20:29 +0100)]
dump-asy: start gv without widgets and fit the drawing to window

11 years agodump-asy: let AnyEvent::I3 figure out the socket path
Michael Stapelberg [Fri, 23 Nov 2012 19:28:38 +0000 (20:28 +0100)]
dump-asy: let AnyEvent::I3 figure out the socket path

11 years agoBugfix: Don’t move floating windows when their size constraints forbid resizing ...
Michael Stapelberg [Tue, 27 Nov 2012 08:26:31 +0000 (09:26 +0100)]
Bugfix: Don’t move floating windows when their size constraints forbid resizing (Thanks aksr)

fixes #883

11 years agocode style fixes for the previous commit
Michael Stapelberg [Sun, 25 Nov 2012 19:55:49 +0000 (20:55 +0100)]
code style fixes for the previous commit

• our function names use underscores
• rewrote the function’s comment
• function comments must be in the source _and_ in the header
• no blank lines after function signatures

11 years agoThe command to resize a floating window now checks the minimum and maximum size.
Adrien \"schischi\" Schildknecht [Thu, 22 Nov 2012 04:15:49 +0000 (05:15 +0100)]
The command to resize a floating window now checks the minimum and maximum size.

11 years agoFix memory leaks in config_parser.
Emil Mikulic [Sat, 24 Nov 2012 05:02:20 +0000 (16:02 +1100)]
Fix memory leaks in config_parser.

push_token() doesn't take ownership of its str argument.

11 years agouserguide: add section with synonym "screen" for "RandR output"
Michael Stapelberg [Tue, 20 Nov 2012 16:11:54 +0000 (17:11 +0100)]
userguide: add section with synonym "screen" for "RandR output"

While the docs describe the feature, plenty of people ask for it on IRC.
Let’s see if this makes it easier to find.

11 years agoconfig parser: recover after invalid input
Michael Stapelberg [Tue, 20 Nov 2012 16:09:03 +0000 (17:09 +0100)]
config parser: recover after invalid input

This is done by ignoring the rest of the current line and jumping to the
nearest <error> token.

fixes #879

11 years agoi3bar: Add current binding mode indicator
Pavel Löbl [Sat, 10 Nov 2012 12:41:39 +0000 (13:41 +0100)]
i3bar: Add current binding mode indicator

11 years agocomplete-run: run 000-load-deps as early as possible
Michael Stapelberg [Tue, 13 Nov 2012 20:04:13 +0000 (21:04 +0100)]
complete-run: run 000-load-deps as early as possible

11 years agotests: 000-load-deps: bail out when dependencies are not found, test more of them
Michael Stapelberg [Tue, 13 Nov 2012 20:03:44 +0000 (21:03 +0100)]
tests: 000-load-deps: bail out when dependencies are not found, test more of them

This should be a better hint for people who forgot to install the
testsuite dependencies :).

11 years agotests: 115-ipc-workspaces: ensure the i3 ipc socket is connected
Michael Stapelberg [Tue, 13 Nov 2012 20:03:25 +0000 (21:03 +0100)]
tests: 115-ipc-workspaces: ensure the i3 ipc socket is connected

11 years agoset LC_NUMERIC=C when dumping nodes in the workspace event
Michael Stapelberg [Tue, 13 Nov 2012 08:49:08 +0000 (09:49 +0100)]
set LC_NUMERIC=C when dumping nodes in the workspace event

Otherwise the resulting JSON might be invalid because it uses the
locale-specific comma separator, e.g. "16,666" instead of "16.666".

11 years agot/115: make the test a little shorter by using helper functions
Michael Stapelberg [Tue, 13 Nov 2012 08:39:42 +0000 (09:39 +0100)]
t/115: make the test a little shorter by using helper functions

11 years agoworkspace events test
Francesco Mazzoli [Sat, 3 Nov 2012 11:17:33 +0000 (11:17 +0000)]
workspace events test

11 years agobetter docs for the focus workspace ipc event
Francesco Mazzoli [Sat, 3 Nov 2012 11:17:32 +0000 (11:17 +0000)]
better docs for the focus workspace ipc event

11 years agorefactor, name changes
Francesco Mazzoli [Sat, 3 Nov 2012 11:17:31 +0000 (11:17 +0000)]
refactor, name changes

We need to send the workspace event earlier, because otherwise 'old'
might already be destroyed (if it was empty).

11 years agotake care of non-existant old workspaces
Francesco Mazzoli [Sat, 3 Nov 2012 11:17:30 +0000 (11:17 +0000)]
take care of non-existant old workspaces

11 years agomore informative `workspace' events
Francesco Mazzoli [Sat, 3 Nov 2012 11:17:29 +0000 (11:17 +0000)]
more informative `workspace' events

Add a `current' and `old' properties to the `focus' change type,
containing the current and old workspace respectively.  These additions
are not necessary anywhere else because `focus' is always triggered when
changing ws.

11 years agosimplify yajl related code
Francesco Mazzoli [Sat, 3 Nov 2012 11:17:28 +0000 (11:17 +0000)]
simplify yajl related code

Specifically, put the version dependent code in some macros, and put
that plus the `y' and `ystr' macros in a separate file, `yajl_utils.h'.

11 years agoMerge branch 'master' into next
Michael Stapelberg [Sat, 10 Nov 2012 08:01:24 +0000 (09:01 +0100)]
Merge branch 'master' into next

11 years agoMerge branch 'fix-baf-after-scratchpad'
Michael Stapelberg [Sat, 10 Nov 2012 08:01:24 +0000 (09:01 +0100)]
Merge branch 'fix-baf-after-scratchpad'

11 years agobugfix: fix workspace back_and_forth after displaying a scratchpad window
Michael Stapelberg [Sat, 10 Nov 2012 08:01:04 +0000 (09:01 +0100)]
bugfix: fix workspace back_and_forth after displaying a scratchpad window

fixes #868

11 years agolibi3/font: Use "pango:" prefix to avoid confusion
Quentin Glidic [Wed, 7 Nov 2012 08:54:17 +0000 (09:54 +0100)]
libi3/font: Use "pango:" prefix to avoid confusion

Also add a user-friendly font description syntax to userguide

11 years agocomplete-run: Unset I3SOCK
Quentin Glidic [Sat, 11 Aug 2012 20:17:23 +0000 (22:17 +0200)]
complete-run: Unset I3SOCK

11 years agointroduce new command to rename focused workspace
Michael Walle [Mon, 29 Oct 2012 21:42:20 +0000 (22:42 +0100)]
introduce new command to rename focused workspace

The corresponding command is 'rename workspace to <name>'. As a side-effect
this fixes the command 'rename workspace 1 to to'.

Signed-off-by: Michael Walle <michael@walle.cc>
11 years agodocs/testsuite: add "Installing the dependencies" section (Thanks bitonic)
Michael Stapelberg [Tue, 30 Oct 2012 18:14:11 +0000 (19:14 +0100)]
docs/testsuite: add "Installing the dependencies" section (Thanks bitonic)

fixes #863

11 years agoMerge branch 'master' into next
Michael Stapelberg [Mon, 29 Oct 2012 15:42:11 +0000 (16:42 +0100)]
Merge branch 'master' into next

11 years agoMerge branch 'fix-split-indicator'
Michael Stapelberg [Mon, 29 Oct 2012 15:42:01 +0000 (16:42 +0100)]
Merge branch 'fix-split-indicator'

11 years agoBugfix: force rendering when the parent’s orientation changed
Michael Stapelberg [Mon, 29 Oct 2012 15:41:16 +0000 (16:41 +0100)]
Bugfix: force rendering when the parent’s orientation changed

Otherwise, the split indicator might not be refreshed even though it
should be.

fixes #858

11 years agodocs/userguide: s/alt/Alt/
Conley Moorhous [Fri, 19 Oct 2012 03:12:11 +0000 (22:12 -0500)]
docs/userguide: s/alt/Alt/

11 years agoImplement smart popup_during_fullscreen mode
Michael Stapelberg [Wed, 24 Oct 2012 17:59:09 +0000 (19:59 +0200)]
Implement smart popup_during_fullscreen mode

With this commit, the default behavior is to display popups while there
is a fullscreen application only if the popup belongs to that
application (as determined by the WM_TRANSIENT_FOR hint which
applications have to set properly).

fixes #663

11 years agospelling error: s/implementaiton/implementation/g
Michael Stapelberg [Wed, 24 Oct 2012 05:58:03 +0000 (07:58 +0200)]
spelling error: s/implementaiton/implementation/g

11 years agokeycode default config: s/bindcode/bindsym (Thanks Tim)
Michael Stapelberg [Fri, 19 Oct 2012 17:26:05 +0000 (19:26 +0200)]
keycode default config: s/bindcode/bindsym (Thanks Tim)

11 years agodocs/userguide: use $mod consistently (Thanks Conley)
Michael Stapelberg [Tue, 16 Oct 2012 21:02:04 +0000 (23:02 +0200)]
docs/userguide: use $mod consistently (Thanks Conley)

11 years agoSkip floating windows in the focus stack when moving through the tree
Deiz [Mon, 15 Oct 2012 00:40:34 +0000 (20:40 -0400)]
Skip floating windows in the focus stack when moving through the tree

Includes a test for the new behaviour

11 years agoFocus windows when middle-clicking (X paste)
Deiz [Sun, 14 Oct 2012 18:24:37 +0000 (14:24 -0400)]
Focus windows when middle-clicking (X paste)

As with most click-based focusing, this only has an effect when
focus_follows_mouse is disabled.

11 years agoSkip floating cons in focus (child|parent) and stop them from being split
Deiz [Tue, 16 Oct 2012 15:50:39 +0000 (11:50 -0400)]
Skip floating cons in focus (child|parent) and stop them from being split

Focusing child from a workspace should now skip over the floating con and
go directly to its child. Focusing parent from that grandchild should leave
the workspace focused again.

11 years agobugfix: don’t send workspace command when at beginning/end of workspaces (Thanks...
Michael Stapelberg [Sun, 14 Oct 2012 19:05:44 +0000 (21:05 +0200)]
bugfix: don’t send workspace command when at beginning/end of workspaces (Thanks whitequark)

fixes #843

11 years agoexit with a proper error message when there are no outputs available (Thanks flo)
Michael Stapelberg [Sun, 14 Oct 2012 18:56:13 +0000 (20:56 +0200)]
exit with a proper error message when there are no outputs available (Thanks flo)

fixes #842

11 years agoconfig parser: make newlines okay before opening braces (Thanks aksr)
Michael Stapelberg [Wed, 10 Oct 2012 06:18:15 +0000 (08:18 +0200)]
config parser: make newlines okay before opening braces (Thanks aksr)

11 years agoBugfix: Actually set border width in config_directives.c (Thanks strcat)
Michael Stapelberg [Tue, 9 Oct 2012 20:06:36 +0000 (22:06 +0200)]
Bugfix: Actually set border width in config_directives.c (Thanks strcat)

11 years agoAllow 'focus $dir' to move out of non-global fullscreen containers
Deiz [Mon, 8 Oct 2012 16:28:08 +0000 (12:28 -0400)]
Allow 'focus $dir' to move out of non-global fullscreen containers

11 years agoAllow workspace contents to be moved if there are only floating children
Deiz [Thu, 4 Oct 2012 18:10:10 +0000 (14:10 -0400)]
Allow workspace contents to be moved if there are only floating children

11 years agoFix fullscreen focus bug and corresponding test flaw
Deiz [Sat, 6 Oct 2012 20:41:04 +0000 (16:41 -0400)]
Fix fullscreen focus bug and corresponding test flaw

As the workspace might be reached via recursion (e.g. moving from the edge
of a fullscreen split container), it's necessary to check for a fullscreen
container whenever a workspace is reached.

11 years agoGrab keys with all permutations of lock and numlock
Deiz [Tue, 9 Oct 2012 17:26:33 +0000 (13:26 -0400)]
Grab keys with all permutations of lock and numlock

This should prevent all cases of caps lock (or shift lock, on some
keyboards) from interfering with i3 key bindings.

11 years agotests: fix error messages, add 'bind' as synonym to mode blocks
Michael Stapelberg [Tue, 9 Oct 2012 12:11:35 +0000 (14:11 +0200)]
tests: fix error messages, add 'bind' as synonym to mode blocks

11 years agoFix warning: exclude NULL parameters from format string (Thanks knopwob)
Michael Stapelberg [Tue, 9 Oct 2012 12:08:14 +0000 (14:08 +0200)]
Fix warning: exclude NULL parameters from format string (Thanks knopwob)

11 years agoaccept ctrl as synonym of control (Thanks SardemFF7)
Michael Stapelberg [Tue, 9 Oct 2012 12:05:49 +0000 (14:05 +0200)]
accept ctrl as synonym of control (Thanks SardemFF7)

11 years agoerror out instead of accepting invalid key bindings (Thanks SardemFF7)
Michael Stapelberg [Tue, 9 Oct 2012 12:05:37 +0000 (14:05 +0200)]
error out instead of accepting invalid key bindings (Thanks SardemFF7)

11 years agoadd missing include/config_parser.h (Thanks slowpoke)
Michael Stapelberg [Mon, 8 Oct 2012 14:28:32 +0000 (16:28 +0200)]
add missing include/config_parser.h (Thanks slowpoke)

11 years agobugfix: config-parser: bind is a synonym for bindcode
Michael Stapelberg [Mon, 8 Oct 2012 11:40:44 +0000 (13:40 +0200)]
bugfix: config-parser: bind is a synonym for bindcode

11 years agofix warning about printf() field length
Michael Stapelberg [Mon, 8 Oct 2012 11:30:14 +0000 (13:30 +0200)]
fix warning about printf() field length

11 years agoadd test.config_parser to .gitignore
Michael Stapelberg [Mon, 8 Oct 2012 11:27:42 +0000 (13:27 +0200)]
add test.config_parser to .gitignore

11 years agouse the new parser by default
Michael Stapelberg [Mon, 8 Oct 2012 11:26:42 +0000 (13:26 +0200)]
use the new parser by default

you can force the old parser with the command line flag
--force-old-config-parser-v4.4-only (which will be present in v4.4 only,
as the name suggests)

11 years agomove owindow definition into the command parser
Michael Stapelberg [Mon, 8 Oct 2012 11:26:24 +0000 (13:26 +0200)]
move owindow definition into the command parser

11 years agolink the parser test binaries with -g
Michael Stapelberg [Mon, 8 Oct 2012 11:25:57 +0000 (13:25 +0200)]
link the parser test binaries with -g

11 years agochange the commands_parser prefix to 'command' for consistency
Michael Stapelberg [Mon, 8 Oct 2012 11:25:32 +0000 (13:25 +0200)]
change the commands_parser prefix to 'command' for consistency

11 years agot/201-config-parser: test more directives, test error handling
Michael Stapelberg [Mon, 8 Oct 2012 11:24:47 +0000 (13:24 +0200)]
t/201-config-parser: test more directives, test error handling

11 years agoport the entire old config parser to the new one
Michael Stapelberg [Mon, 8 Oct 2012 11:23:48 +0000 (13:23 +0200)]
port the entire old config parser to the new one

11 years agoconfig_parser: implement <number>s, proper error handling
Michael Stapelberg [Mon, 8 Oct 2012 11:23:06 +0000 (13:23 +0200)]
config_parser: implement <number>s, proper error handling

11 years agotests: use new assign syntax, drop legacy test
Michael Stapelberg [Mon, 8 Oct 2012 11:21:48 +0000 (13:21 +0200)]
tests: use new assign syntax, drop legacy test

11 years agogenerate-command-parser: support <number>s, state ID replacing and…
Michael Stapelberg [Mon, 8 Oct 2012 11:19:33 +0000 (13:19 +0200)]
generate-command-parser: support <number>s, state ID replacing and…

…determining the next state within a function like cfg_criteria_pop() by
passing next_state in the ConfigResult (or CommandResult) and using it
after calling.

11 years agoadd first bits of a (custom) config parser
Michael Stapelberg [Sun, 7 Oct 2012 14:32:50 +0000 (16:32 +0200)]
add first bits of a (custom) config parser

11 years agogenerate-command-parser: make input/output configurable
Michael Stapelberg [Sun, 7 Oct 2012 14:30:34 +0000 (16:30 +0200)]
generate-command-parser: make input/output configurable

11 years agoi3-msg.man: fix reference to the "reply section" (Thanks slowpoke)
Michael Stapelberg [Sat, 6 Oct 2012 20:27:57 +0000 (22:27 +0200)]
i3-msg.man: fix reference to the "reply section" (Thanks slowpoke)

11 years agoallow floating cons to be reached using 'focus parent'
Michael Stapelberg [Thu, 4 Oct 2012 16:50:33 +0000 (18:50 +0200)]
allow floating cons to be reached using 'focus parent'

I suppose this was just an oversight. Let’s see if it causes any issues.

fixes #831

11 years agoImprove startup sequence termination conditions
Deiz [Thu, 4 Oct 2012 01:06:04 +0000 (21:06 -0400)]
Improve startup sequence termination conditions

If a window with _NET_STARTUP_ID set is moved to another workspace, it
will delete any associated startup sequence immediately. This will also
occur if a window has a leader with _NET_STARTUP_ID set, if the leader
has no container (never been mapped).

A startup sequence may also be deleted if it's matched by
startup_workspace_for_window() and its 30-second timeout has elapsed.

11 years agoReplace the discrete 'split' Con property with a simple function.
Deiz [Wed, 3 Oct 2012 17:10:48 +0000 (13:10 -0400)]
Replace the discrete 'split' Con property with a simple function.

11 years agoUn-fullscreen as needed when moving fullscreen containers
Deiz [Thu, 4 Oct 2012 08:22:41 +0000 (04:22 -0400)]
Un-fullscreen as needed when moving fullscreen containers

This avoids a case where a fullscreen container could be moved onto a
workspace that already had its own fullscreen container, leading to
two fullscreen containers on top of each other.

11 years agoshmlog: Remove O_TRUNC flag for shm_open, we truncate ourselves
Michael Stapelberg [Thu, 4 Oct 2012 15:05:08 +0000 (17:05 +0200)]
shmlog: Remove O_TRUNC flag for shm_open, we truncate ourselves

11 years agorelease-notes: s/mod+l/mod+e/ (Thanks hax404)
Michael Stapelberg [Thu, 4 Oct 2012 15:04:37 +0000 (17:04 +0200)]
release-notes: s/mod+l/mod+e/ (Thanks hax404)

11 years agodocs/ipc: add a warning to use an existing library (Thanks slowpoke)
Michael Stapelberg [Wed, 3 Oct 2012 21:59:33 +0000 (23:59 +0200)]
docs/ipc: add a warning to use an existing library (Thanks slowpoke)

11 years agodocs/ipc: remove unnecessary newline (Thanks Merovius)
Michael Stapelberg [Wed, 3 Oct 2012 21:54:35 +0000 (23:54 +0200)]
docs/ipc: remove unnecessary newline (Thanks Merovius)

11 years agoMerge branch 'fix-ws-layout'
Michael Stapelberg [Wed, 3 Oct 2012 13:08:31 +0000 (15:08 +0200)]
Merge branch 'fix-ws-layout'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 3 Oct 2012 13:08:31 +0000 (15:08 +0200)]
Merge branch 'master' into next

11 years agoset workspace_layout in create_workspace_on_output
Sascha Kruse [Wed, 3 Oct 2012 01:52:57 +0000 (03:52 +0200)]
set workspace_layout in create_workspace_on_output

fixes #835

11 years agoFocus the relevant workspace when clicking any container.
Deiz [Sun, 30 Sep 2012 09:26:38 +0000 (05:26 -0400)]
Focus the relevant workspace when clicking any container.

11 years agoMaintain relative positioning when moving floating windows between outputs.
Deiz [Sun, 30 Sep 2012 04:30:03 +0000 (00:30 -0400)]
Maintain relative positioning when moving floating windows between outputs.

11 years agotestsuite: add 'new-test' helper script
Michael Stapelberg [Tue, 2 Oct 2012 22:13:30 +0000 (00:13 +0200)]
testsuite: add 'new-test' helper script

11 years agoadd test for previous commit
Michael Stapelberg [Tue, 2 Oct 2012 22:04:05 +0000 (00:04 +0200)]
add test for previous commit

11 years agoOnly re-focus the workspace when moving a con if the target ws is hidden.
Deiz [Mon, 1 Oct 2012 02:44:19 +0000 (22:44 -0400)]
Only re-focus the workspace when moving a con if the target ws is hidden.

11 years agoImplement moving workspaces as if they're regular containers
Deiz [Fri, 28 Sep 2012 17:54:24 +0000 (13:54 -0400)]
Implement moving workspaces as if they're regular containers

11 years agoMerge branch 'master' into next
Michael Stapelberg [Fri, 28 Sep 2012 22:03:42 +0000 (00:03 +0200)]
Merge branch 'master' into next

11 years agoMerge branch 'fix-floating-move'
Michael Stapelberg [Fri, 28 Sep 2012 22:03:25 +0000 (00:03 +0200)]
Merge branch 'fix-floating-move'

11 years agoBugfix: Correctly move floating windows to invisible workspaces cross-output (Thanks...
Michael Stapelberg [Fri, 28 Sep 2012 22:02:41 +0000 (00:02 +0200)]
Bugfix: Correctly move floating windows to invisible workspaces cross-output (Thanks swh)

11 years agoBugfix: with one ws per output, don’t crash on cross-output moves (Thanks moju)
Michael Stapelberg [Fri, 28 Sep 2012 21:04:37 +0000 (23:04 +0200)]
Bugfix: with one ws per output, don’t crash on cross-output moves (Thanks moju)

fixes #827

11 years agoMake the resize command honor criteria (Thanks Tblue)
Michael Stapelberg [Fri, 28 Sep 2012 18:36:25 +0000 (20:36 +0200)]
Make the resize command honor criteria (Thanks Tblue)

fixes #816

11 years agoMerge branch 'fix-indicator-pos'
Michael Stapelberg [Fri, 28 Sep 2012 17:47:16 +0000 (19:47 +0200)]
Merge branch 'fix-indicator-pos'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Fri, 28 Sep 2012 17:47:16 +0000 (19:47 +0200)]
Merge branch 'master' into next

11 years agoBugfix: Draw h-split indicator at the right position
Michael Stapelberg [Fri, 28 Sep 2012 17:46:50 +0000 (19:46 +0200)]
Bugfix: Draw h-split indicator at the right position

fixes #817

11 years agoFix 'border toggle' (it "skipped" 1px border) (Thanks joepd)
Michael Stapelberg [Fri, 28 Sep 2012 17:29:14 +0000 (19:29 +0200)]
Fix 'border toggle' (it "skipped" 1px border) (Thanks joepd)

fixes #818

11 years agoMerge branch 'fix-floating-move'
Michael Stapelberg [Fri, 28 Sep 2012 16:24:04 +0000 (18:24 +0200)]
Merge branch 'fix-floating-move'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Fri, 28 Sep 2012 16:24:04 +0000 (18:24 +0200)]
Merge branch 'master' into next

11 years agoBugfix: don’t crash when dragged floating window closes (Thanks darkraven)
Michael Stapelberg [Fri, 28 Sep 2012 16:23:01 +0000 (18:23 +0200)]
Bugfix: don’t crash when dragged floating window closes (Thanks darkraven)

Previously, while the loop would not be executed anymore, the callback
(for actually repositioning the window after a MotionNotify) would still
get called once. This commit avoids that, thus fixing the crash.

fixes #819

11 years agouserguide: document how to "un-scratchpad" a window (Thanks knopwob)
Michael Stapelberg [Fri, 28 Sep 2012 16:03:36 +0000 (18:03 +0200)]
userguide: document how to "un-scratchpad" a window (Thanks knopwob)

11 years agofix crash: send non-floating window with floating parent to scratchpad (thanks pkordy)
Simon Elsbrock [Thu, 27 Sep 2012 22:38:02 +0000 (00:38 +0200)]
fix crash: send non-floating window with floating parent to scratchpad (thanks pkordy)

Fix a crash that occured when moving a window to the scratchpad that is
seemingly floating to the user, but actually a descendant of a floating
parent con (and itself non-floating). If that is the case, move the
floating parent container to scratchpad instead of the window.

fixes #740

11 years agoRevert "raise floating windows when focusing (Thanks Marcos)"
Michael Stapelberg [Fri, 28 Sep 2012 15:57:17 +0000 (17:57 +0200)]
Revert "raise floating windows when focusing (Thanks Marcos)"

This commit breaks floating window keyboard focus order
(t/135-floating-focus.t) when you have > 2 floating windows. Since
keyboard focus is more important than saving one click to raise floating
windows, I revert the commit.

Note that we cannot implement this without keeping a third list (beneath
floating_windows and focus) for the z coordinate of a floating window.
This seems not worth it.

This reverts commit 064be457e59603e1d4a4b45b4bf138dcc231a849.

11 years agoraise floating windows when focusing (Thanks Marcos)
Michael Stapelberg [Thu, 27 Sep 2012 10:41:38 +0000 (12:41 +0200)]
raise floating windows when focusing (Thanks Marcos)

11 years agoadd testcase for commit 87525ad
Michael Stapelberg [Thu, 27 Sep 2012 10:37:38 +0000 (12:37 +0200)]
add testcase for commit 87525ad