]> git.sur5r.net Git - i3/i3/log
i3/i3
14 years agoi3-msg: s/tree/get_tree for consistency, add new types to error message
Michael Stapelberg [Sun, 21 Nov 2010 20:39:09 +0000 (21:39 +0100)]
i3-msg: s/tree/get_tree for consistency, add new types to error message

14 years agoSend change:empty too.
Fernando Tarlá Cardoso Lemos [Sat, 20 Nov 2010 22:25:32 +0000 (20:25 -0200)]
Send change:empty too.

14 years agoUnlink the resolved path.
Fernando Tarlá Cardoso Lemos [Sat, 20 Nov 2010 22:14:28 +0000 (20:14 -0200)]
Unlink the resolved path.

14 years agoSend the workspace focus change event.
Fernando Tarlá Cardoso Lemos [Sat, 20 Nov 2010 22:04:01 +0000 (20:04 -0200)]
Send the workspace focus change event.

14 years agoSupport get_workspaces and get_outputs in i3-msg.
Fernando Tarlá Cardoso Lemos [Sat, 20 Nov 2010 21:50:24 +0000 (19:50 -0200)]
Support get_workspaces and get_outputs in i3-msg.

14 years agoPorted over some message types from -next.
Fernando Tarlá Cardoso Lemos [Sat, 20 Nov 2010 21:30:53 +0000 (19:30 -0200)]
Ported over some message types from -next.

14 years agoadd shortcut to default config for tiling/floating toggle
Michael Stapelberg [Sun, 21 Nov 2010 16:04:35 +0000 (17:04 +0100)]
add shortcut to default config for tiling/floating toggle

14 years agoBugfix: Don’t draw borders for fullscreen windows
Michael Stapelberg [Sun, 21 Nov 2010 16:00:10 +0000 (17:00 +0100)]
Bugfix: Don’t draw borders for fullscreen windows

14 years agoBugfix: Don’t attach tiling containers to floating containers
Michael Stapelberg [Sun, 21 Nov 2010 15:49:59 +0000 (16:49 +0100)]
Bugfix: Don’t attach tiling containers to floating containers

This bug happened when there were only floating containers on a workspace and a
new tiling window was to be opened.

14 years agoipc: s/floating-nodes/floating_nodes for consistency
Michael Stapelberg [Sun, 21 Nov 2010 15:34:45 +0000 (16:34 +0100)]
ipc: s/floating-nodes/floating_nodes for consistency

14 years agofloating-unmap.t: switch order, don’t use workaround
Michael Stapelberg [Sat, 20 Nov 2010 19:17:25 +0000 (20:17 +0100)]
floating-unmap.t: switch order, don’t use workaround

14 years agobugfix: don’t treat workspace as empty if they only have floating windows (+testcase)
Michael Stapelberg [Sat, 20 Nov 2010 19:16:15 +0000 (20:16 +0100)]
bugfix: don’t treat workspace as empty if they only have floating windows (+testcase)

14 years agoBugfix: Properly ignore UnmapNotify events (especially for floating windows)
Michael Stapelberg [Sat, 20 Nov 2010 18:11:43 +0000 (19:11 +0100)]
Bugfix: Properly ignore UnmapNotify events (especially for floating windows)

This fixes the bug which caused floating windows to be visible even when
switching to a different workspace.

Instead of ignoring a specific sequence, we now set an ignore_unmap counter for
each container. (So, should containers be closed too early or stay open even if
they should be closed, we probably need to have a closer look at the counter.
At the moment, it is increased by one on reparenting and unmapping (for
workspace changes) and decremented by one on each UnmapNotify event).

This system is better because a sequence does not describe a single unmap or
reparent request but a request to X11 on the network layer -- which can contain
multiple requests.

14 years agodebugging: implement a NOP command which just spits out its argument
Michael Stapelberg [Sat, 20 Nov 2010 17:40:25 +0000 (18:40 +0100)]
debugging: implement a NOP command which just spits out its argument

You can use this in testcases to mark specific sections:
  $i3->command('nop before trying to crash')->recv;
leads to the following output in the i3 logfile:
  -------------------------------------------------
    NOP: before trying to crash
  -------------------------------------------------

14 years agoBugfix: when no windows to focus, return the workspace instead of NULL
Michael Stapelberg [Sat, 20 Nov 2010 17:38:24 +0000 (18:38 +0100)]
Bugfix: when no windows to focus, return the workspace instead of NULL

14 years agoPort the IPC socket creation code from -next.
Fernando Tarlá Cardoso Lemos [Mon, 15 Nov 2010 01:01:04 +0000 (23:01 -0200)]
Port the IPC socket creation code from -next.

14 years agoPort the path resolution and config loading code from -next.
Fernando Tarlá Cardoso Lemos [Mon, 15 Nov 2010 00:54:40 +0000 (22:54 -0200)]
Port the path resolution and config loading code from -next.

14 years agoWhen in tabbed mode, nail the orientation to horizontal
Michael Stapelberg [Mon, 15 Nov 2010 12:55:10 +0000 (13:55 +0100)]
When in tabbed mode, nail the orientation to horizontal

This is intuitive for the user as he can use the left/right keys to switch.
Also, we need to nail the orientation because you can be in either vertical or
horizontal mode when you enter the tabbed layout (like with the stacking
layout).

14 years agoRender the tabbed mode correctly.
Fernando Tarlá Cardoso Lemos [Sun, 14 Nov 2010 23:38:53 +0000 (21:38 -0200)]
Render the tabbed mode correctly.

14 years agoGet rid of the remaining hardcoded height.
Fernando Tarlá Cardoso Lemos [Sun, 14 Nov 2010 23:25:37 +0000 (21:25 -0200)]
Get rid of the remaining hardcoded height.

14 years agoUse the configured font to draw the decorations.
Fernando Tarlá Cardoso Lemos [Sun, 14 Nov 2010 23:14:49 +0000 (21:14 -0200)]
Use the configured font to draw the decorations.

14 years agobugfix: check if the client leader is a managed window (Thanks fernandotcl)
Michael Stapelberg [Sun, 14 Nov 2010 22:55:53 +0000 (23:55 +0100)]
bugfix: check if the client leader is a managed window (Thanks fernandotcl)

14 years agotake into account x11 border_width settings (fixes uxterm border issue)
Michael Stapelberg [Sun, 14 Nov 2010 22:44:13 +0000 (23:44 +0100)]
take into account x11 border_width settings (fixes uxterm border issue)

14 years agodon’t allow useless splits, change orientation of existing split container instead
Michael Stapelberg [Sun, 14 Nov 2010 22:18:39 +0000 (23:18 +0100)]
don’t allow useless splits, change orientation of existing split container instead

14 years agoBugfix: only set clients to floating which have a leader that is not their own window...
Michael Stapelberg [Sun, 14 Nov 2010 21:49:05 +0000 (22:49 +0100)]
Bugfix: only set clients to floating which have a leader that is not their own window (Thanks fernandotcl)

14 years agofix floating focus behaviour, extend testcase
Michael Stapelberg [Sun, 14 Nov 2010 21:35:44 +0000 (22:35 +0100)]
fix floating focus behaviour, extend testcase

14 years agoadd testcase for focus problem when toggling floating/tiling mode
Michael Stapelberg [Sun, 14 Nov 2010 20:43:31 +0000 (21:43 +0100)]
add testcase for focus problem when toggling floating/tiling mode

Test 3 does not yet pass.

14 years agoBugfix: use rectangles instead of a polygon to avoid strange rendering errors
Michael Stapelberg [Sun, 14 Nov 2010 20:17:27 +0000 (21:17 +0100)]
Bugfix: use rectangles instead of a polygon to avoid strange rendering errors

With the polygon, when using pidgin, having the buddy list in the middle of the
screen, 200 px width, full screen high, then opening the manage accounts
window, the decorations of the buddy list were visible on the accounts window.

14 years agoautomatically set windows with client_leader to floating
Michael Stapelberg [Sun, 14 Nov 2010 19:15:51 +0000 (20:15 +0100)]
automatically set windows with client_leader to floating

14 years agoBugfix: after the first UnmapNotify, unignore the event
Michael Stapelberg [Sun, 14 Nov 2010 19:15:12 +0000 (20:15 +0100)]
Bugfix: after the first UnmapNotify, unignore the event

14 years agoBugfix: don’t kill parent when currently in tree_close() for a child of this parent
Michael Stapelberg [Sun, 14 Nov 2010 19:14:09 +0000 (20:14 +0100)]
Bugfix: don’t kill parent when currently in tree_close() for a child of this parent

14 years agodon’t remove floating container twice (it’s already removed in con_detach)
Michael Stapelberg [Sun, 14 Nov 2010 19:11:46 +0000 (20:11 +0100)]
don’t remove floating container twice (it’s already removed in con_detach)

14 years agoresize/unmap container x11 windows on demand (makes background images visible again)
Michael Stapelberg [Sun, 14 Nov 2010 17:52:40 +0000 (18:52 +0100)]
resize/unmap container x11 windows on demand (makes background images visible again)

14 years agomodify t/04-floating.t to reflect the new way we are doing decorations
Michael Stapelberg [Sun, 14 Nov 2010 15:42:13 +0000 (16:42 +0100)]
modify t/04-floating.t to reflect the new way we are doing decorations

14 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

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

14 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

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

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

14 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

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

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

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

14 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

14 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

14 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

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

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

14 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

14 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

14 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

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

14 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

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

14 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

14 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

14 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

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

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

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

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

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