]>
git.sur5r.net Git - i3/i3/log
Michael Stapelberg [Tue, 4 Jan 2011 21:39:13 +0000 (22:39 +0100)]
use sstrdup() instead of strdup()
Michael Stapelberg [Tue, 4 Jan 2011 21:38:33 +0000 (22:38 +0100)]
fix memleak: free con->name before overwriting it
Michael Stapelberg [Tue, 4 Jan 2011 21:37:50 +0000 (22:37 +0100)]
cmdparse: free strings
Michael Stapelberg [Tue, 4 Jan 2011 21:15:52 +0000 (22:15 +0100)]
fix small memory leak (unused ->name)
Michael Stapelberg [Sun, 2 Jan 2011 17:08:45 +0000 (18:08 +0100)]
Bugfix: Also change focus when the killed container was focused (Thanks fernandotcl)
Axel Wagner [Sat, 1 Jan 2011 21:11:44 +0000 (22:11 +0100)]
Add font-option to i3-input
Axel Wagner [Thu, 30 Dec 2010 20:43:34 +0000 (21:43 +0100)]
Add forgetful restart to sighandler
Axel Wagner [Thu, 30 Dec 2010 20:15:55 +0000 (21:15 +0100)]
Retab sighandler.c
Axel Wagner [Thu, 30 Dec 2010 20:09:32 +0000 (21:09 +0100)]
Port sighandler to tree-branch
Michael Stapelberg [Fri, 31 Dec 2010 00:38:17 +0000 (01:38 +0100)]
Fix dragging floating containers / click handling
Michael Stapelberg [Thu, 30 Dec 2010 22:09:18 +0000 (23:09 +0100)]
For floating mode on workspace level, create a container around the content (Thanks Merovius)
Like when setting a workspace to stacked, we need to create a new container
around the content and set *that* to floating.
Michael Stapelberg [Thu, 30 Dec 2010 22:01:58 +0000 (23:01 +0100)]
Bugfix: Correctly change focus when closing a split-container
The problem was i3 leaving an invalid focus pointer valid (after killing the
container) because the container itself is not mapped (if it has no x11 window,
for example split containers).
Michael Stapelberg [Thu, 30 Dec 2010 01:39:14 +0000 (02:39 +0100)]
Bugfix: Don’t redistribute resize percentage values when closing floating (!) windows (Thanks Merovius) (+testcase)
Michael Stapelberg [Tue, 28 Dec 2010 18:54:56 +0000 (19:54 +0100)]
Bugfix: Fix closing windows in tabbed mode with border_style == 1pixel / none
Michael Stapelberg [Tue, 28 Dec 2010 15:25:34 +0000 (16:25 +0100)]
Fix resize handling on click on borders (did not correctly use orientation)
Michael Stapelberg [Tue, 28 Dec 2010 01:27:11 +0000 (02:27 +0100)]
Bugfix: Don’t focus next window if the window was not mapped at the moment (on a different ws)
Michael Stapelberg [Mon, 27 Dec 2010 21:28:59 +0000 (22:28 +0100)]
Bugfix: store and properly load workspace order when restarting
Fernando Tarlá Cardoso Lemos [Wed, 1 Dec 2010 02:14:08 +0000 (00:14 -0200)]
Default to a file in /tmp for the restart state.
The file is now created in /tmp using the process PID and the
username of the user running i3. The restart state file is only
loaded when restarting (the --restart option is appended to the
command line prior to the restart). That means that renaming the
old state file with the ".old" extension is no longer needed.
This "--restart" switch is supposed to be only used by i3. The
"-L" switch can be used to load a layout (and not delete it
afterwards). We unlink the state file after we load it so that
we don't keep cruft in /tmp or try to restart from an old config
file if restart_state is set.
Fernando Tarlá Cardoso Lemos [Wed, 1 Dec 2010 00:47:16 +0000 (22:47 -0200)]
util.c is the proper place for those functions.
Fernando Tarlá Cardoso Lemos [Wed, 1 Dec 2010 00:43:15 +0000 (22:43 -0200)]
Remove some commented out code.
Fernando Tarlá Cardoso Lemos [Tue, 7 Dec 2010 23:32:04 +0000 (21:32 -0200)]
Implement default border styles (thanks litemotiv).
Michael Stapelberg [Sat, 11 Dec 2010 16:07:20 +0000 (17:07 +0100)]
Bugfix: Don’t update focus when container is not mapped
Michael Stapelberg [Sat, 11 Dec 2010 16:03:53 +0000 (17:03 +0100)]
Bugfix: Invalidate focused_id to correctly focus new windows with the same ID
Michael Stapelberg [Mon, 6 Dec 2010 12:20:37 +0000 (13:20 +0100)]
remove i3-wsbar from 'make install', not supported at the moment
Michael Stapelberg [Mon, 6 Dec 2010 12:14:14 +0000 (13:14 +0100)]
need more escaping for the version string when replacing in makefile
Fernando Tarlá Cardoso Lemos [Mon, 29 Nov 2010 22:11:18 +0000 (20:11 -0200)]
Fix possible rounding errors.
Michael Stapelberg [Mon, 29 Nov 2010 21:35:46 +0000 (22:35 +0100)]
xinerama.c: fix indention
Michael Stapelberg [Mon, 29 Nov 2010 21:35:07 +0000 (22:35 +0100)]
xcb.c: fix indenting
Michael Stapelberg [Mon, 29 Nov 2010 21:32:19 +0000 (22:32 +0100)]
workspace.{c,h}: remove obsolete code
Michael Stapelberg [Mon, 29 Nov 2010 21:28:23 +0000 (22:28 +0100)]
log.c: fix indenting
Michael Stapelberg [Mon, 29 Nov 2010 21:25:55 +0000 (22:25 +0100)]
handlers.c: remove obsolete code
Michael Stapelberg [Mon, 29 Nov 2010 21:23:49 +0000 (22:23 +0100)]
floating.c: remove obsolete code, fix indenting
Fernando Tarlá Cardoso Lemos [Mon, 29 Nov 2010 02:11:30 +0000 (00:11 -0200)]
Fix click to focus.
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.