]>
git.sur5r.net Git - i3/i3/log
Michael Stapelberg [Mon, 29 Nov 2010 20:46:00 +0000 (21:46 +0100)]
Bugfix: Don’t attach floating clients to 'nodes' when restoring (Thanks EelVex)
Michael Stapelberg [Mon, 29 Nov 2010 19:39:56 +0000 (20:39 +0100)]
Bugfix: Correctly attach floating Cons to a different workspace, extend testcase
Michael Stapelberg [Mon, 29 Nov 2010 19:24:13 +0000 (20:24 +0100)]
tests: use cmd() in t/32-move-workspace.t
Michael Stapelberg [Mon, 29 Nov 2010 19:20:44 +0000 (20:20 +0100)]
Bugfix: Fix crash when moving a floating Con to a different workspace, add testcase (Thanks EelVex)
Michael Stapelberg [Mon, 29 Nov 2010 10:24:12 +0000 (11:24 +0100)]
Bugfix: Transfer 'percent' factor when splitting, add testcase for resizing
Michael Stapelberg [Mon, 29 Nov 2010 10:21:33 +0000 (11:21 +0100)]
tests: add cmd() function for typing less to get i3 to run a command
Michael Stapelberg [Mon, 29 Nov 2010 10:10:17 +0000 (11:10 +0100)]
Include 'percent' in tree JSON, use C-locale when dumping, update testcase
Michael Stapelberg [Mon, 29 Nov 2010 09:56:16 +0000 (10:56 +0100)]
Implement resizing (still buggy)
Committing basic resizing functionality. We need testcases for the bugs and
then eliminate them.
Michael Stapelberg [Sun, 28 Nov 2010 21:45:39 +0000 (22:45 +0100)]
use con_num_children()
Michael Stapelberg [Sun, 28 Nov 2010 21:12:53 +0000 (22:12 +0100)]
tests: mark t/10-dock.t as TODO, dock clients not implemented yet (makes all tests pass!)
Michael Stapelberg [Sun, 28 Nov 2010 21:08:34 +0000 (22:08 +0100)]
Bugfix: Use separate child_mapped instead of checking state->initial (makes t/02-fullscreen.t pass)
This is necessary for windows which are mapped later, for example when there is
a fullscreen window in front of everything.
Michael Stapelberg [Sun, 28 Nov 2010 21:07:54 +0000 (22:07 +0100)]
Correctly update the _NET_WM_STATE hint when *not* going into fullscreen (when already in fullscreen)
Michael Stapelberg [Sun, 28 Nov 2010 20:49:42 +0000 (21:49 +0100)]
tests: fix t/30-close-empty-split.t by properly creating a split con
Michael Stapelberg [Sun, 28 Nov 2010 20:28:44 +0000 (21:28 +0100)]
tests: fix t/31-stacking-order.t: don’t get focus on workspace level, use get_focused()
Michael Stapelberg [Sun, 28 Nov 2010 20:16:58 +0000 (21:16 +0100)]
tests: fix t/29-focus-after-close.t to correctly open a split container
Michael Stapelberg [Sun, 28 Nov 2010 20:11:14 +0000 (21:11 +0100)]
tests: fix t/27-regress-floating-parent.t (focus the other tiling client explictly)
Michael Stapelberg [Sun, 28 Nov 2010 20:07:08 +0000 (21:07 +0100)]
Bugfix: don’t update focus when moving mouse over stacked/tabbed decorations (Thanks fernandotcl)
Michael Stapelberg [Sun, 28 Nov 2010 19:43:35 +0000 (20:43 +0100)]
Bugfix: Add deco_height to bsr.y (to configure the floatingcon correctly). Fixes t/12-floating-resize.t
Michael Stapelberg [Sun, 28 Nov 2010 19:23:17 +0000 (20:23 +0100)]
tests: update t/04-floating.t for new border styles
Michael Stapelberg [Sun, 28 Nov 2010 19:19:26 +0000 (20:19 +0100)]
update .gitignore
Michael Stapelberg [Sun, 28 Nov 2010 19:15:47 +0000 (20:15 +0100)]
Bugfix for the last commit (broke some moving situations), update testcase
Michael Stapelberg [Sun, 28 Nov 2010 17:35:11 +0000 (18:35 +0100)]
look & feel: when moving, descend if the container in target direction is a split-container
Michael Stapelberg [Sun, 28 Nov 2010 17:05:53 +0000 (18:05 +0100)]
Bugfix: Fix focus when moving Cons
When having two v-splits on a horizontal desktop:
----------------
| t1 | t3 |
|-------|------|
| t2 | t4 |
----------------
…focus is on t2, and you move it into the right v-split (move after h), the
focus was not properly updated. That is, inside the right v-split, focus was
correct, but the workspace focus was still pointing to the left v-split.
Michael Stapelberg [Sun, 28 Nov 2010 16:29:44 +0000 (17:29 +0100)]
tests: update t/16-nestedcons.t with new window_rect parameter
Michael Stapelberg [Sun, 28 Nov 2010 16:20:29 +0000 (17:20 +0100)]
Also store/load window_rect when restarting
Michael Stapelberg [Sun, 28 Nov 2010 16:20:16 +0000 (17:20 +0100)]
Bugfix: Only set to_focus when focused is actually 1
Michael Stapelberg [Sun, 28 Nov 2010 13:45:14 +0000 (14:45 +0100)]
look and feel: when moving a Con is not possible, split a workspace level
This allows you to open three cons, then move the last one to the right (like
in previous i3 releases).
Michael Stapelberg [Sun, 28 Nov 2010 13:27:44 +0000 (14:27 +0100)]
Correctly restore focus when restarting (Thanks fernandotcl)
Michael Stapelberg [Sun, 28 Nov 2010 13:14:34 +0000 (14:14 +0100)]
update indenting of src/util.c
Michael Stapelberg [Sun, 28 Nov 2010 13:11:44 +0000 (14:11 +0100)]
re-enable ipc_shutdown() when restarting
Michael Stapelberg [Sun, 28 Nov 2010 13:03:43 +0000 (14:03 +0100)]
Bugfix: Use setsid() to avoid SIGINT for child processes
Michael Stapelberg [Sun, 28 Nov 2010 12:19:49 +0000 (13:19 +0100)]
Upon ConfigureRequests, send a generated ConfigureNotify (Thanks fernandotcl)
This fixes problems with GVim in stacking mode for example.
Blekos EelVex Kostas [Sat, 27 Nov 2010 21:37:29 +0000 (23:37 +0200)]
remove space for flex's -P flag
Michael Stapelberg [Sun, 28 Nov 2010 12:02:29 +0000 (13:02 +0100)]
little style fixes, add vim modeline
Fernando Tarlá Cardoso Lemos [Fri, 26 Nov 2010 23:26:51 +0000 (21:26 -0200)]
libXcursor support (themed cursors).
Michael Stapelberg [Sun, 28 Nov 2010 00:51:16 +0000 (01:51 +0100)]
Bugfix: Re-attach windows in correct order when switching layout (Thanks fernandotcl)
Michael Stapelberg [Sun, 28 Nov 2010 00:39:47 +0000 (01:39 +0100)]
Bugfix: Restore focus after changing layout (Thanks fernandotcl)
Michael Stapelberg [Sun, 28 Nov 2010 00:22:10 +0000 (01:22 +0100)]
fix third argument to strncat(), use smalloc(), use strlen(".old")+1
Fernando Tarlá Cardoso Lemos [Sat, 27 Nov 2010 00:27:38 +0000 (22:27 -0200)]
Make the restart path configurable.
Michael Stapelberg [Sun, 28 Nov 2010 00:13:18 +0000 (01:13 +0100)]
Fix switching containers by moving the mouse over their decorations when in the same container
Michael Stapelberg [Sat, 27 Nov 2010 23:52:24 +0000 (00:52 +0100)]
Bugfix: Also render decorations of nearby cons when getting an ExposeEvent (Thanks fernandotcl)
Michael Stapelberg [Sat, 27 Nov 2010 17:05:45 +0000 (18:05 +0100)]
remove some debug messages
Michael Stapelberg [Sat, 27 Nov 2010 16:45:23 +0000 (17:45 +0100)]
Bugfix: unmap windows in a separate step to avoid focus problems with fullscreen windows
This fixes an ugly bug with Adobe Flash in fullscreen mode, for example on
YouTube. See comments in the diff for some explanation.
Michael Stapelberg [Sat, 27 Nov 2010 15:44:45 +0000 (16:44 +0100)]
Bugfix: configure windows before mapping, correctly store window_rect instead of rect
Michael Stapelberg [Sat, 27 Nov 2010 15:44:32 +0000 (16:44 +0100)]
more debug for ClientMessages
Michael Stapelberg [Sat, 27 Nov 2010 15:44:20 +0000 (16:44 +0100)]
fix indention
Fernando Tarlá Cardoso Lemos [Mon, 22 Nov 2010 23:40:05 +0000 (21:40 -0200)]
Run the autostart commands.
Fernando Tarlá Cardoso Lemos [Mon, 22 Nov 2010 23:28:21 +0000 (21:28 -0200)]
Always add to the focus list, fixes crash.
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