]> git.sur5r.net Git - i3/i3/log
i3/i3
13 years agoImplement setting the WM_NAME of i3 container windows for debugging
Michael Stapelberg [Sun, 14 Nov 2010 15:41:46 +0000 (16:41 +0100)]
Implement setting the WM_NAME of i3 container windows for debugging

13 years agoset withdrawn/normal state when unmapping/mapping (for xprop/java)
Michael Stapelberg [Sun, 14 Nov 2010 12:53:47 +0000 (13:53 +0100)]
set withdrawn/normal state when unmapping/mapping (for xprop/java)

13 years agoparser: return a proper JSON reply on parse errors
Michael Stapelberg [Sun, 14 Nov 2010 00:45:05 +0000 (01:45 +0100)]
parser: return a proper JSON reply on parse errors

13 years agoRendering fixes for stacking mode
Michael Stapelberg [Sat, 13 Nov 2010 21:39:59 +0000 (22:39 +0100)]
Rendering fixes for stacking mode

13 years agoInfo about client.background for the user guide.
Fernando Tarlá Cardoso Lemos [Sat, 25 Sep 2010 01:01:56 +0000 (22:01 -0300)]
Info about client.background for the user guide.

13 years agoport fernando’s custom background color patch
Michael Stapelberg [Sat, 13 Nov 2010 19:07:49 +0000 (20:07 +0100)]
port fernando’s custom background color patch

13 years agoPaint the window decorations using the theme.
Fernando Tarlá Cardoso Lemos [Sat, 13 Nov 2010 17:15:15 +0000 (15:15 -0200)]
Paint the window decorations using the theme.

13 years agoadd testcases/complete-run.pl, a script for conveniently running the testsuite (or...
Michael Stapelberg [Sat, 13 Nov 2010 16:29:20 +0000 (17:29 +0100)]
add testcases/complete-run.pl, a script for conveniently running the testsuite (or parts of it)

13 years agoBugfix: Close containers which are empty due to a move (Thanks fernando)
Michael Stapelberg [Sat, 13 Nov 2010 13:55:11 +0000 (14:55 +0100)]
Bugfix: Close containers which are empty due to a move (Thanks fernando)

13 years agot/16-nestedcons.t: add 'border' key
Michael Stapelberg [Sat, 13 Nov 2010 13:33:58 +0000 (14:33 +0100)]
t/16-nestedcons.t: add 'border' key

13 years agoimplement support for WM_TRANSIENT_FOR, expand testcase
Michael Stapelberg [Sat, 13 Nov 2010 00:19:21 +0000 (01:19 +0100)]
implement support for WM_TRANSIENT_FOR, expand testcase

13 years agoImplement support for WM_CLIENT_LEADER
Michael Stapelberg [Fri, 12 Nov 2010 22:46:03 +0000 (23:46 +0100)]
Implement support for WM_CLIENT_LEADER

13 years agoFix build on freebsd (uint32_t unknown if stdint.h not
Baptiste Daroussin [Fri, 12 Nov 2010 22:04:30 +0000 (23:04 +0100)]
Fix build on freebsd (uint32_t unknown if stdint.h not

included)

13 years agoimplement configure requests, adapt testcase
Michael Stapelberg [Fri, 12 Nov 2010 20:41:10 +0000 (21:41 +0100)]
implement configure requests, adapt testcase

testcase does not pass 100% due to clients not being reparented correctly yet.

13 years agoonly re-position floating clients mapped to (0, 0), add pixels for decoration
Michael Stapelberg [Fri, 12 Nov 2010 19:55:43 +0000 (20:55 +0100)]
only re-position floating clients mapped to (0, 0), add pixels for decoration

13 years agorespect position in geometry of floating windows
Michael Stapelberg [Fri, 12 Nov 2010 19:55:26 +0000 (20:55 +0100)]
respect position in geometry of floating windows

13 years agobugfix: need to use window_type instead of type in t/04-floating.t
Michael Stapelberg [Fri, 12 Nov 2010 19:36:37 +0000 (20:36 +0100)]
bugfix: need to use window_type instead of type in t/04-floating.t

13 years agoadd testcase for invalid commands
Michael Stapelberg [Fri, 12 Nov 2010 19:26:53 +0000 (20:26 +0100)]
add testcase for invalid commands

13 years agoparser: don’t exit(1) on invalid command, use better error message
Michael Stapelberg [Fri, 12 Nov 2010 19:22:55 +0000 (20:22 +0100)]
parser: don’t exit(1) on invalid command, use better error message

13 years agoimplement different border styles
Michael Stapelberg [Fri, 12 Nov 2010 18:37:43 +0000 (19:37 +0100)]
implement different border styles

Wow, that actually was easy :).

13 years agomake borders around every container configurable for debugging
Michael Stapelberg [Fri, 12 Nov 2010 18:37:32 +0000 (19:37 +0100)]
make borders around every container configurable for debugging

13 years agoinclude border style in ipc tree dump
Michael Stapelberg [Fri, 12 Nov 2010 18:16:38 +0000 (19:16 +0100)]
include border style in ipc tree dump

13 years agoparser: bugfix: initialize match when parsing new command
Michael Stapelberg [Fri, 12 Nov 2010 18:07:35 +0000 (19:07 +0100)]
parser: bugfix: initialize match when parsing new command

13 years agolexer/parser: implement 'border' command
Michael Stapelberg [Fri, 12 Nov 2010 17:41:54 +0000 (18:41 +0100)]
lexer/parser: implement 'border' command

13 years agodon’t close workspaces which are still visible (multi-monitor)
Michael Stapelberg [Fri, 12 Nov 2010 16:34:13 +0000 (17:34 +0100)]
don’t close workspaces which are still visible (multi-monitor)

13 years agoenumerate workspaces when initializing outputs
Michael Stapelberg [Fri, 12 Nov 2010 16:33:59 +0000 (17:33 +0100)]
enumerate workspaces when initializing outputs

13 years agoImplement support for size hints (including test case)
Michael Stapelberg [Mon, 11 Oct 2010 19:32:04 +0000 (21:32 +0200)]
Implement support for size hints (including test case)

13 years agoImplement sticky windows
Michael Stapelberg [Wed, 1 Sep 2010 16:11:01 +0000 (18:11 +0200)]
Implement sticky windows

The implementation works like this:
Containers can have a 'sticky-group' attribute. Imagine two different
containers (on two different workspaces) which have the same sticky-group.
Now you open a window in the first container. When you switch to the
other workspace, the window will be re-assigned to the other container.

An obvious problem which is not covered with the code at the moment is
having two containers with the same sticky-group visible at the same time.

13 years agoremove proof-of-concept code in main.c
Michael Stapelberg [Sat, 21 Aug 2010 16:36:51 +0000 (18:36 +0200)]
remove proof-of-concept code in main.c

13 years agoBug fix of invalid presentation of container's split orientation.
Lourens Rozema [Fri, 20 Aug 2010 19:35:24 +0000 (21:35 +0200)]
Bug fix of invalid presentation of container's split orientation.

13 years agoFix some indention problems in gtk-tree-watch.pl
Michael Stapelberg [Sat, 21 Aug 2010 16:34:51 +0000 (18:34 +0200)]
Fix some indention problems in gtk-tree-watch.pl

13 years agoInitial commit of gtk-tree-watch.pl which uses GTK/Perl to visualize the i3 tree...
Lourens Rozema [Fri, 20 Aug 2010 19:33:18 +0000 (21:33 +0200)]
Initial commit of gtk-tree-watch.pl which uses GTK/Perl to visualize the i3 tree. It is based on the dump-asy.pl code.

13 years agoBugfix for the kill command (used a.o. in test 18). Call to match_init is to be used...
Lourens Rozema [Fri, 20 Aug 2010 19:41:05 +0000 (21:41 +0200)]
Bugfix for the kill command (used a.o. in test 18). Call to match_init is to be used i.o. a simple memset() to zero. Otherwise the boolean dock field doesn't get initalized to -1.

13 years agoIndent clean up.
Lourens Rozema [Fri, 20 Aug 2010 19:40:22 +0000 (21:40 +0200)]
Indent clean up.

13 years agot/22-split: Bugfix: don’t declare old_count twice (Thanks Lourens)
Michael Stapelberg [Sat, 21 Aug 2010 16:25:48 +0000 (18:25 +0200)]
t/22-split: Bugfix: don’t declare old_count twice (Thanks Lourens)

13 years agoTest 16 fixed expectation of the (root) focused field to exist in the tree and always...
Lourens Rozema [Fri, 20 Aug 2010 19:38:07 +0000 (21:38 +0200)]
Test 16 fixed expectation of the (root) focused field to exist in the tree and always be zero.

13 years agorecognize dock windows (and support matching them)
Michael Stapelberg [Sun, 15 Aug 2010 10:18:27 +0000 (12:18 +0200)]
recognize dock windows (and support matching them)

13 years agofix typo
Michael Stapelberg [Sun, 15 Aug 2010 10:18:05 +0000 (12:18 +0200)]
fix typo

13 years agotestcase: use open_empty_con in some more testcases
Michael Stapelberg [Sat, 17 Jul 2010 13:52:22 +0000 (15:52 +0200)]
testcase: use open_empty_con in some more testcases

13 years agot/29-focus-after-close.t: add more tests (for a regression)
Michael Stapelberg [Sat, 17 Jul 2010 13:17:33 +0000 (15:17 +0200)]
t/29-focus-after-close.t: add more tests (for a regression)

13 years agotestcases: Implement open_empty_con which directly returns the ID
Michael Stapelberg [Sat, 17 Jul 2010 13:17:16 +0000 (15:17 +0200)]
testcases: Implement open_empty_con which directly returns the ID

13 years agoipc/parser: commands can now return custom JSON replies
Michael Stapelberg [Sat, 17 Jul 2010 13:15:37 +0000 (15:15 +0200)]
ipc/parser: commands can now return custom JSON replies

Also, finally add include/cmdparse.h

13 years agoBugfix: Even when not going one level up, we need to travel down the whole focus...
Michael Stapelberg [Sat, 17 Jul 2010 13:08:22 +0000 (15:08 +0200)]
Bugfix: Even when not going one level up, we need to travel down the whole focus stack

13 years agomore explanation in t/29-focus-after-close.t
Michael Stapelberg [Sat, 17 Jul 2010 11:37:21 +0000 (13:37 +0200)]
more explanation in t/29-focus-after-close.t

13 years agoBugfix: Keep focus on the current workspace when moving containers, add testcase
Michael Stapelberg [Sat, 17 Jul 2010 11:27:34 +0000 (13:27 +0200)]
Bugfix: Keep focus on the current workspace when moving containers, add testcase

13 years agoBugfix: Don’t go further when switching focus on a CT_WORKSPACE
Michael Stapelberg [Fri, 16 Jul 2010 23:56:16 +0000 (01:56 +0200)]
Bugfix: Don’t go further when switching focus on a CT_WORKSPACE

13 years agoTreat stacking containers as if they are in vertical orientation, add testcase
Michael Stapelberg [Fri, 16 Jul 2010 23:27:47 +0000 (01:27 +0200)]
Treat stacking containers as if they are in vertical orientation, add testcase

13 years agoclose empty parent containers, add testcase
Michael Stapelberg [Fri, 16 Jul 2010 22:54:47 +0000 (00:54 +0200)]
close empty parent containers, add testcase

13 years agos/con->parent/parent to make it more readable
Michael Stapelberg [Fri, 16 Jul 2010 22:54:03 +0000 (00:54 +0200)]
s/con->parent/parent to make it more readable

(and necessary for the next commit)

13 years agoAdd more documentation to functions/header files
Michael Stapelberg [Tue, 13 Jul 2010 09:35:05 +0000 (11:35 +0200)]
Add more documentation to functions/header files

13 years agoBugfix: Push all following window stacking orders to X11 when the order of a single...
Michael Stapelberg [Sun, 11 Jul 2010 21:41:02 +0000 (23:41 +0200)]
Bugfix: Push all following window stacking orders to X11 when the order of a single pair changed

13 years agoBugfix: raise fullscreen containers before rendering their content
Michael Stapelberg [Sun, 11 Jul 2010 21:40:50 +0000 (23:40 +0200)]
Bugfix: raise fullscreen containers before rendering their content

13 years agoRemove some dead code (to be re-implemented), rename nc.c to main.c
Michael Stapelberg [Sun, 11 Jul 2010 20:12:25 +0000 (22:12 +0200)]
Remove some dead code (to be re-implemented), rename nc.c to main.c

13 years agouse decimal coordinates in debug message
Michael Stapelberg [Sun, 11 Jul 2010 20:01:25 +0000 (22:01 +0200)]
use decimal coordinates in debug message

13 years agoipc: add member 'focused' to every container
Michael Stapelberg [Sun, 4 Jul 2010 20:17:18 +0000 (22:17 +0200)]
ipc: add member 'focused' to every container

13 years agoBugfix: Don’t try to focus the container itself when closing
Michael Stapelberg [Sun, 4 Jul 2010 20:16:54 +0000 (22:16 +0200)]
Bugfix: Don’t try to focus the container itself when closing

13 years agotestcases: remove 'use v5.10' as this is automatically done in lib/i3test
Michael Stapelberg [Sun, 4 Jul 2010 17:53:05 +0000 (19:53 +0200)]
testcases: remove 'use v5.10' as this is automatically done in lib/i3test

13 years agoBugfix: Correctly restore focus after close (and add testcase)
Michael Stapelberg [Sun, 4 Jul 2010 17:50:44 +0000 (19:50 +0200)]
Bugfix: Correctly restore focus after close (and add testcase)

13 years agoconfig: add reload keybinding
Michael Stapelberg [Sat, 3 Jul 2010 17:27:25 +0000 (19:27 +0200)]
config: add reload keybinding

13 years agoBugfix: Insert new containers at the right position (and add testcase)
Michael Stapelberg [Sat, 3 Jul 2010 15:42:36 +0000 (17:42 +0200)]
Bugfix: Insert new containers at the right position (and add testcase)

13 years agolib/i3test: use custom import() instead of Test::Kit to also import v5.10
Michael Stapelberg [Sat, 3 Jul 2010 14:28:58 +0000 (16:28 +0200)]
lib/i3test: use custom import() instead of Test::Kit to also import v5.10

13 years agot/18-openkill.t: search not focused container instead of using the first one
Michael Stapelberg [Sat, 3 Jul 2010 13:29:44 +0000 (15:29 +0200)]
t/18-openkill.t: search not focused container instead of using the first one

13 years agoBugfix: Ignore sequences of mapping/unmapping windows to avoid getting enter_notifies
Michael Stapelberg [Fri, 2 Jul 2010 18:33:26 +0000 (20:33 +0200)]
Bugfix: Ignore sequences of mapping/unmapping windows to avoid getting enter_notifies

13 years agobugfix: correctly focus follow up window when closing floating windows
Michael Stapelberg [Wed, 30 Jun 2010 20:37:57 +0000 (22:37 +0200)]
bugfix: correctly focus follow up window when closing floating windows

13 years agoparser: implement move
Michael Stapelberg [Wed, 30 Jun 2010 20:23:32 +0000 (22:23 +0200)]
parser: implement move

13 years agoparser: implement resize command
Michael Stapelberg [Wed, 30 Jun 2010 17:47:23 +0000 (19:47 +0200)]
parser: implement resize command

13 years agoparser: implement explicit "mode floating"/"mode tiling"
Michael Stapelberg [Wed, 30 Jun 2010 13:54:34 +0000 (15:54 +0200)]
parser: implement explicit "mode floating"/"mode tiling"

13 years agoparser: implement "reload"
Michael Stapelberg [Wed, 30 Jun 2010 13:31:29 +0000 (15:31 +0200)]
parser: implement "reload"

13 years agoparser: call tree_close_con() instead of tree_close() when run interactively
Michael Stapelberg [Wed, 30 Jun 2010 13:27:18 +0000 (15:27 +0200)]
parser: call tree_close_con() instead of tree_close() when run interactively

13 years agoupdate configfile for the new commands (this is not the final default config file)
Michael Stapelberg [Tue, 29 Jun 2010 22:25:11 +0000 (00:25 +0200)]
update configfile for the new commands (this is not the final default config file)

13 years agoGo down the tree when moving windows, add testcase for moving
Michael Stapelberg [Tue, 29 Jun 2010 17:05:31 +0000 (19:05 +0200)]
Go down the tree when moving windows, add testcase for moving

13 years agofloating: correctly kill floating containers when closing
Michael Stapelberg [Mon, 28 Jun 2010 20:37:35 +0000 (22:37 +0200)]
floating: correctly kill floating containers when closing

13 years agofloating: use con_fix_percent
Michael Stapelberg [Mon, 28 Jun 2010 20:36:08 +0000 (22:36 +0200)]
floating: use con_fix_percent

13 years agore-implement click to focus
Michael Stapelberg [Mon, 28 Jun 2010 20:26:23 +0000 (22:26 +0200)]
re-implement click to focus

13 years agofloating: re-implement floating_modifier + left/right mouse button to drag/resize
Michael Stapelberg [Mon, 28 Jun 2010 20:23:32 +0000 (22:23 +0200)]
floating: re-implement floating_modifier + left/right mouse button to drag/resize

13 years agoautomatically set dialog windows to floating
Michael Stapelberg [Mon, 28 Jun 2010 19:40:36 +0000 (21:40 +0200)]
automatically set dialog windows to floating

13 years agosplit up toggle_floating_mode into floating_enable and floating_disable
Michael Stapelberg [Mon, 28 Jun 2010 19:40:17 +0000 (21:40 +0200)]
split up toggle_floating_mode into floating_enable and floating_disable

13 years agoUpdate testcases (and skip some tests for the moment)
Michael Stapelberg [Wed, 2 Jun 2010 21:53:22 +0000 (23:53 +0200)]
Update testcases (and skip some tests for the moment)

13 years agoImplement mark/goto, modify testcase
Michael Stapelberg [Wed, 2 Jun 2010 21:32:05 +0000 (23:32 +0200)]
Implement mark/goto, modify testcase

13 years agosplit containers do not directly accepts windows (they only have children)
Michael Stapelberg [Wed, 2 Jun 2010 20:35:37 +0000 (22:35 +0200)]
split containers do not directly accepts windows (they only have children)

13 years agobugfix: only print the first match when looking for the loglevel
Michael Stapelberg [Wed, 2 Jun 2010 20:34:31 +0000 (22:34 +0200)]
bugfix: only print the first match when looking for the loglevel

fixes problems with con.c, container.c, config.c

13 years agobugfix: the layout command needs to change the layout of the parent container
Michael Stapelberg [Wed, 2 Jun 2010 16:58:52 +0000 (18:58 +0200)]
bugfix: the layout command needs to change the layout of the parent container

13 years agoRe-implement support for the urgency hint, extend t/13-urgent.t
Michael Stapelberg [Wed, 2 Jun 2010 15:51:58 +0000 (17:51 +0200)]
Re-implement support for the urgency hint, extend t/13-urgent.t

The actual rendering will follow

13 years agot/lib/i3test.pm: refactor get_ws and get_ws_content using List::Util’s first
Michael Stapelberg [Wed, 2 Jun 2010 15:50:06 +0000 (17:50 +0200)]
t/lib/i3test.pm: refactor get_ws and get_ws_content using List::Util’s first

13 years agoparser: implement matching on the window id
Michael Stapelberg [Wed, 2 Jun 2010 15:20:32 +0000 (17:20 +0200)]
parser: implement matching on the window id

13 years agomore debug output
Michael Stapelberg [Wed, 2 Jun 2010 15:04:26 +0000 (17:04 +0200)]
more debug output

13 years agoDon’t ignore sequence in UnmapNotify, there might be multiple windows in one sequence
Michael Stapelberg [Wed, 2 Jun 2010 15:03:26 +0000 (17:03 +0200)]
Don’t ignore sequence in UnmapNotify, there might be multiple windows in one sequence

This would lead to i3 thinking that a new window was already managed if it
has the same X-ID as the old window. Instead, we need to fix the EnterNotify
problem in a different way.

13 years agoClear event mask while reparenting
Michael Stapelberg [Wed, 2 Jun 2010 15:02:10 +0000 (17:02 +0200)]
Clear event mask while reparenting

This way, we can avoid to ignore UnmapNotify events generated by reparenting.
It is generally considerable to have as little ignored events as possible
due to side-effects.

13 years agoInclude git branch name in the version string
Michael Stapelberg [Wed, 2 Jun 2010 09:21:52 +0000 (11:21 +0200)]
Include git branch name in the version string

13 years agoparser: implement 'layout'
Michael Stapelberg [Tue, 1 Jun 2010 21:20:57 +0000 (23:20 +0200)]
parser: implement 'layout'

13 years agoMake splitting a container which was already split a noop
Michael Stapelberg [Tue, 1 Jun 2010 20:45:18 +0000 (22:45 +0200)]
Make splitting a container which was already split a noop

13 years agot/22: extend to verify that splitting in the same direction multiple times does not...
Michael Stapelberg [Tue, 1 Jun 2010 20:29:19 +0000 (22:29 +0200)]
t/22: extend to verify that splitting in the same direction multiple times does not create new containers

13 years agot/21: formatting
Michael Stapelberg [Tue, 1 Jun 2010 20:29:09 +0000 (22:29 +0200)]
t/21: formatting

13 years ago"Re-parent" floating clients whose old_parent is being closed (makes t/27 pass)
Michael Stapelberg [Tue, 1 Jun 2010 19:34:47 +0000 (21:34 +0200)]
"Re-parent" floating clients whose old_parent is being closed (makes t/27 pass)

13 years agoadd testcase for crash on closing floating windows whose parent was killed
Michael Stapelberg [Tue, 1 Jun 2010 18:52:59 +0000 (20:52 +0200)]
add testcase for crash on closing floating windows whose parent was killed

13 years agolib/i3test: Implement get_focused
Michael Stapelberg [Tue, 1 Jun 2010 18:52:22 +0000 (20:52 +0200)]
lib/i3test: Implement get_focused

13 years agoipc: include floating-nodes in tree reply
Michael Stapelberg [Tue, 1 Jun 2010 18:50:23 +0000 (20:50 +0200)]
ipc: include floating-nodes in tree reply

13 years agoImplement focus command (and extend t/21-next-prev.t to test it)
Michael Stapelberg [Tue, 1 Jun 2010 16:49:43 +0000 (18:49 +0200)]
Implement focus command (and extend t/21-next-prev.t to test it)

13 years agobugfix: allocate one more zero-byte to definitely get a zero-terminated string
Michael Stapelberg [Tue, 1 Jun 2010 16:46:14 +0000 (18:46 +0200)]
bugfix: allocate one more zero-byte to definitely get a zero-terminated string

13 years agoAdd testcase which ensures that floating windows can be closed
Michael Stapelberg [Mon, 31 May 2010 21:17:02 +0000 (23:17 +0200)]
Add testcase which ensures that floating windows can be closed

See last commit