]>
git.sur5r.net Git - i3/i3/log
Michael Stapelberg [Fri, 26 Nov 2010 22:08:12 +0000 (23:08 +0100)]
look and feel: create split container when switching workspace layout
Quote from the source:
When the container type is CT_WORKSPACE, the user wants to change the
whole workspace into stacked/tabbed mode. To do this and still allow
intuitive operations (like level-up and then opening a new window), we
need to create a new split container. */
Michael Stapelberg [Fri, 26 Nov 2010 21:38:05 +0000 (22:38 +0100)]
Bugfix: use bufcopy instead of buf (Thanks fernando)
Michael Stapelberg [Fri, 26 Nov 2010 21:15:09 +0000 (22:15 +0100)]
remove some obsolete code
Michael Stapelberg [Fri, 26 Nov 2010 19:15:08 +0000 (20:15 +0100)]
Bugfix: always reset state->initial to false, not only for different stacking order
As initial may be set to true again after initializing the window, we need to
ensure that it is properly cleared. Otherwise, this leads to ghost windows when
unmapping (such as the Xpdf about dialog) due to i3 issuing MapWindow after an
Unmap happened but before i3 actually received/handled the UnmapNotify.
Michael Stapelberg [Fri, 26 Nov 2010 18:24:14 +0000 (19:24 +0100)]
Bugfix: Don’t draw decorations of CT_FLOATING_CONs
Michael Stapelberg [Fri, 26 Nov 2010 17:57:15 +0000 (18:57 +0100)]
Implement click on stack/tab decoration to focus
Michael Stapelberg [Fri, 26 Nov 2010 17:48:27 +0000 (18:48 +0100)]
re-indent click function
Michael Stapelberg [Fri, 26 Nov 2010 17:37:34 +0000 (18:37 +0100)]
Bugfix: Upon ExposEvents, redraw decoration also for the window itself
In the meantime, windows can have decorations (borders) on their own frame, too.
Michael Stapelberg [Fri, 26 Nov 2010 17:18:40 +0000 (18:18 +0100)]
Bugfix: When handling an EnterNotify for a child window, access the correct con->layout
Michael Stapelberg [Fri, 26 Nov 2010 10:25:02 +0000 (11:25 +0100)]
Bugfix: Correctly count variables when parsing the configfile (Thanks dbp)
Michael Stapelberg [Sun, 21 Nov 2010 22:35:49 +0000 (23:35 +0100)]
correctly sort numbered workspaces (+testcase)
Numbered workspaces (workspaces with a name containing only digits) will be
inserted in the correct order now. Named workspaces are always sorted after
numbered workspaces and in the order of creation.
Michael Stapelberg [Sun, 21 Nov 2010 21:12:34 +0000 (22:12 +0100)]
ipc: fix current_workspace
Michael Stapelberg [Sun, 21 Nov 2010 21:03:55 +0000 (22:03 +0100)]
fix indention of src/ipc.c
Michael Stapelberg [Sun, 21 Nov 2010 20:42:28 +0000 (21:42 +0100)]
perl: use get_tree instead of get_workspaces
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
Fernando Tarlá Cardoso Lemos [Sat, 20 Nov 2010 22:25:32 +0000 (20:25 -0200)]
Send change:empty too.
Fernando Tarlá Cardoso Lemos [Sat, 20 Nov 2010 22:14:28 +0000 (20:14 -0200)]
Unlink the resolved path.
Fernando Tarlá Cardoso Lemos [Sat, 20 Nov 2010 22:04:01 +0000 (20:04 -0200)]
Send the workspace focus change event.
Fernando Tarlá Cardoso Lemos [Sat, 20 Nov 2010 21:50:24 +0000 (19:50 -0200)]
Support get_workspaces and get_outputs in i3-msg.
Fernando Tarlá Cardoso Lemos [Sat, 20 Nov 2010 21:30:53 +0000 (19:30 -0200)]
Ported over some message types from -next.
Michael Stapelberg [Sun, 21 Nov 2010 16:04:35 +0000 (17:04 +0100)]
add shortcut to default config for tiling/floating toggle
Michael Stapelberg [Sun, 21 Nov 2010 16:00:10 +0000 (17:00 +0100)]
Bugfix: Don’t draw borders for fullscreen windows
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.
Michael Stapelberg [Sun, 21 Nov 2010 15:34:45 +0000 (16:34 +0100)]
ipc: s/floating-nodes/floating_nodes for consistency
Michael Stapelberg [Sat, 20 Nov 2010 19:17:25 +0000 (20:17 +0100)]
floating-unmap.t: switch order, don’t use workaround
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)
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.
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
-------------------------------------------------
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
Fernando Tarlá Cardoso Lemos [Mon, 15 Nov 2010 01:01:04 +0000 (23:01 -0200)]
Port the IPC socket creation 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.
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).
Fernando Tarlá Cardoso Lemos [Sun, 14 Nov 2010 23:38:53 +0000 (21:38 -0200)]
Render the tabbed mode correctly.
Fernando Tarlá Cardoso Lemos [Sun, 14 Nov 2010 23:25:37 +0000 (21:25 -0200)]
Get rid of the remaining hardcoded height.
Fernando Tarlá Cardoso Lemos [Sun, 14 Nov 2010 23:14:49 +0000 (21:14 -0200)]
Use the configured font to draw the decorations.
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)
Michael Stapelberg [Sun, 14 Nov 2010 22:44:13 +0000 (23:44 +0100)]
take into account x11 border_width settings (fixes uxterm border issue)
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
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)
Michael Stapelberg [Sun, 14 Nov 2010 21:35:44 +0000 (22:35 +0100)]
fix floating focus behaviour, extend testcase
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.
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.
Michael Stapelberg [Sun, 14 Nov 2010 19:15:51 +0000 (20:15 +0100)]
automatically set windows with client_leader to floating
Michael Stapelberg [Sun, 14 Nov 2010 19:15:12 +0000 (20:15 +0100)]
Bugfix: after the first UnmapNotify, unignore the event
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
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)
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)
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
Michael Stapelberg [Sun, 14 Nov 2010 15:41:46 +0000 (16:41 +0100)]
Implement setting the WM_NAME of i3 container windows for debugging
Michael Stapelberg [Sun, 14 Nov 2010 12:53:47 +0000 (13:53 +0100)]
set withdrawn/normal state when unmapping/mapping (for xprop/java)
Michael Stapelberg [Sun, 14 Nov 2010 00:45:05 +0000 (01:45 +0100)]
parser: return a proper JSON reply on parse errors
Michael Stapelberg [Sat, 13 Nov 2010 21:39:59 +0000 (22:39 +0100)]
Rendering fixes for stacking mode
Fernando Tarlá Cardoso Lemos [Sat, 25 Sep 2010 01:01:56 +0000 (22:01 -0300)]
Info about client.background for the user guide.
Michael Stapelberg [Sat, 13 Nov 2010 19:07:49 +0000 (20:07 +0100)]
port fernando’s custom background color patch
Fernando Tarlá Cardoso Lemos [Sat, 13 Nov 2010 17:15:15 +0000 (15:15 -0200)]
Paint the window decorations using the theme.
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)
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)
Michael Stapelberg [Sat, 13 Nov 2010 13:33:58 +0000 (14:33 +0100)]
t/16-nestedcons.t: add 'border' key
Michael Stapelberg [Sat, 13 Nov 2010 00:19:21 +0000 (01:19 +0100)]
implement support for WM_TRANSIENT_FOR, expand testcase
Michael Stapelberg [Fri, 12 Nov 2010 22:46:03 +0000 (23:46 +0100)]
Implement support for WM_CLIENT_LEADER
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)
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.
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
Michael Stapelberg [Fri, 12 Nov 2010 19:55:26 +0000 (20:55 +0100)]
respect position in geometry of floating windows
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
Michael Stapelberg [Fri, 12 Nov 2010 19:26:53 +0000 (20:26 +0100)]
add testcase for invalid commands
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
Michael Stapelberg [Fri, 12 Nov 2010 18:37:43 +0000 (19:37 +0100)]
implement different border styles
Wow, that actually was easy :).
Michael Stapelberg [Fri, 12 Nov 2010 18:37:32 +0000 (19:37 +0100)]
make borders around every container configurable for debugging
Michael Stapelberg [Fri, 12 Nov 2010 18:16:38 +0000 (19:16 +0100)]
include border style in ipc tree dump
Michael Stapelberg [Fri, 12 Nov 2010 18:07:35 +0000 (19:07 +0100)]
parser: bugfix: initialize match when parsing new command
Michael Stapelberg [Fri, 12 Nov 2010 17:41:54 +0000 (18:41 +0100)]
lexer/parser: implement 'border' command
Michael Stapelberg [Fri, 12 Nov 2010 16:34:13 +0000 (17:34 +0100)]
don’t close workspaces which are still visible (multi-monitor)
Michael Stapelberg [Fri, 12 Nov 2010 16:33:59 +0000 (17:33 +0100)]
enumerate workspaces when initializing outputs
Michael Stapelberg [Mon, 11 Oct 2010 19:32:04 +0000 (21:32 +0200)]
Implement support for size hints (including test case)
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.
Michael Stapelberg [Sat, 21 Aug 2010 16:36:51 +0000 (18:36 +0200)]
remove proof-of-concept code in main.c
Lourens Rozema [Fri, 20 Aug 2010 19:35:24 +0000 (21:35 +0200)]
Bug fix of invalid presentation of container's split orientation.
Michael Stapelberg [Sat, 21 Aug 2010 16:34:51 +0000 (18:34 +0200)]
Fix some indention problems in gtk-tree-watch.pl
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.
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.
Lourens Rozema [Fri, 20 Aug 2010 19:40:22 +0000 (21:40 +0200)]
Indent clean up.
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)
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.
Michael Stapelberg [Sun, 15 Aug 2010 10:18:27 +0000 (12:18 +0200)]
recognize dock windows (and support matching them)
Michael Stapelberg [Sun, 15 Aug 2010 10:18:05 +0000 (12:18 +0200)]
fix typo
Michael Stapelberg [Sat, 17 Jul 2010 13:52:22 +0000 (15:52 +0200)]
testcase: use open_empty_con in some more testcases
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)
Michael Stapelberg [Sat, 17 Jul 2010 13:17:16 +0000 (15:17 +0200)]
testcases: Implement open_empty_con which directly returns the ID
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
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
Michael Stapelberg [Sat, 17 Jul 2010 11:37:21 +0000 (13:37 +0200)]
more explanation in t/29-focus-after-close.t
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
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
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
Michael Stapelberg [Fri, 16 Jul 2010 22:54:47 +0000 (00:54 +0200)]
close empty parent containers, add testcase
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)
Michael Stapelberg [Tue, 13 Jul 2010 09:35:05 +0000 (11:35 +0200)]
Add more documentation to functions/header files
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
Michael Stapelberg [Sun, 11 Jul 2010 21:40:50 +0000 (23:40 +0200)]
Bugfix: raise fullscreen containers before rendering their content