]> git.sur5r.net Git - i3/i3/log
i3/i3
14 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.

14 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

14 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.

14 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

14 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.

14 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.

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

14 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)

14 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.

14 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)

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

14 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

14 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)

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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)

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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)

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

14 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)

14 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

14 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

14 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

14 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

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

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

14 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"

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

14 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

14 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)

14 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

14 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

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

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

14 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

14 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

14 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

14 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)

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

14 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)

14 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

14 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

14 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

14 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

14 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

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

14 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.

14 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.

14 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

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

14 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

14 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

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

14 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)

14 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

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

14 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

14 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)

14 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

14 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

14 years agoImplement correct removal of floating containers
Michael Stapelberg [Mon, 31 May 2010 21:16:20 +0000 (23:16 +0200)]
Implement correct removal of floating containers

14 years agofix: to always abort we need to assert(false)
Michael Stapelberg [Mon, 31 May 2010 21:08:16 +0000 (23:08 +0200)]
fix: to always abort we need to assert(false)

14 years agoReposition floating windows while dragging
Michael Stapelberg [Mon, 31 May 2010 21:01:08 +0000 (23:01 +0200)]
Reposition floating windows while dragging

14 years agore-enable sending fake configure notifies
Michael Stapelberg [Mon, 31 May 2010 21:00:36 +0000 (23:00 +0200)]
re-enable sending fake configure notifies

14 years agoImplement mode toggle
Michael Stapelberg [Mon, 31 May 2010 20:48:28 +0000 (22:48 +0200)]
Implement mode toggle

14 years agocleanup: introduce CT_WORKSPACE as type to avoid having to check parent->type
Michael Stapelberg [Sun, 30 May 2010 22:11:11 +0000 (00:11 +0200)]
cleanup: introduce CT_WORKSPACE as type to avoid having to check parent->type

14 years agoUpdate _NET_WM_STATE after fullscreen state changes
Michael Stapelberg [Wed, 26 May 2010 21:21:37 +0000 (23:21 +0200)]
Update _NET_WM_STATE after fullscreen state changes

14 years agoSet up _NET_WM_SUPPORTED and window manager name again
Michael Stapelberg [Fri, 14 May 2010 22:28:10 +0000 (00:28 +0200)]
Set up _NET_WM_SUPPORTED and window manager name again

This fixes MPlayer fullscreen mode

14 years agoAdd parameter to reparent windows instead of killing them when closing a container
Michael Stapelberg [Fri, 14 May 2010 22:16:59 +0000 (00:16 +0200)]
Add parameter to reparent windows instead of killing them when closing a container

Necessary because when windows are unmapped, they are not necessary to
be killed (an application can unmap it temporarily).

14 years agore-render the three after calling parse_cmd
Michael Stapelberg [Fri, 14 May 2010 21:41:17 +0000 (23:41 +0200)]
re-render the three after calling parse_cmd

14 years agoIgnore UnmapNotify events generated by reparenting
Michael Stapelberg [Fri, 14 May 2010 21:37:56 +0000 (23:37 +0200)]
Ignore UnmapNotify events generated by reparenting

14 years agouse the new parser for handling keybindings
Michael Stapelberg [Tue, 11 May 2010 21:04:47 +0000 (23:04 +0200)]
use the new parser for handling keybindings

14 years agogrammar: s/layout_mode/window_mode
Michael Stapelberg [Tue, 11 May 2010 21:04:21 +0000 (23:04 +0200)]
grammar: s/layout_mode/window_mode

14 years agoImplement 'restore' in new parser
Michael Stapelberg [Tue, 11 May 2010 21:00:31 +0000 (23:00 +0200)]
Implement 'restore' in new parser

14 years agoimplement 'move' command in the new parser
Michael Stapelberg [Tue, 11 May 2010 20:46:49 +0000 (22:46 +0200)]
implement 'move' command in the new parser

14 years agoImplement exec, exit, level, restart (without testcases for now)
Michael Stapelberg [Mon, 10 May 2010 08:12:35 +0000 (10:12 +0200)]
Implement exec, exit, level, restart (without testcases for now)

14 years agoImplement 'split'
Michael Stapelberg [Mon, 10 May 2010 07:33:10 +0000 (09:33 +0200)]
Implement 'split'

14 years agoImplement 'prev', extend testcase
Michael Stapelberg [Mon, 10 May 2010 07:08:31 +0000 (09:08 +0200)]
Implement 'prev', extend testcase

14 years agoimplement 'next' in the new command parser (testcase unfinished)
Michael Stapelberg [Sun, 9 May 2010 22:06:24 +0000 (00:06 +0200)]
implement 'next' in the new command parser (testcase unfinished)

14 years agobugfix: really return focus list in IPC tree dump (instead of nodes list)
Michael Stapelberg [Sun, 9 May 2010 22:00:43 +0000 (00:00 +0200)]
bugfix: really return focus list in IPC tree dump (instead of nodes list)

14 years agoalso re-render the tree for commands using the new parser
Michael Stapelberg [Sun, 9 May 2010 21:24:03 +0000 (23:24 +0200)]
also re-render the tree for commands using the new parser

14 years agobugfix: don’t clean up workspace when switching to the same workspace
Michael Stapelberg [Sun, 9 May 2010 21:20:49 +0000 (23:20 +0200)]
bugfix: don’t clean up workspace when switching to the same workspace

14 years agoMakefile: only enable when -freorder-blocks-and-partition when DEBUG != 1
Michael Stapelberg [Sun, 9 May 2010 20:45:21 +0000 (22:45 +0200)]
Makefile: only enable when -freorder-blocks-and-partition when DEBUG != 1

…otherwise you don’t see variables in gdb

14 years agoless boilerplate by using Test::Kit and -It/lib in Makefile
Michael Stapelberg [Sat, 17 Apr 2010 20:49:26 +0000 (22:49 +0200)]
less boilerplate by using Test::Kit and -It/lib in Makefile

14 years agomake testcases use AnyEvent::I3
Michael Stapelberg [Sat, 27 Mar 2010 14:20:38 +0000 (15:20 +0100)]
make testcases use AnyEvent::I3

14 years agoimplement 'fullscreen' command
Michael Stapelberg [Sat, 17 Apr 2010 17:29:44 +0000 (19:29 +0200)]
implement 'fullscreen' command

14 years agomake the fullscreen testcase test the 'fullscreen' command, too
Michael Stapelberg [Sat, 17 Apr 2010 17:29:27 +0000 (19:29 +0200)]
make the fullscreen testcase test the 'fullscreen' command, too