]>
git.sur5r.net Git - i3/i3/log
Michael Stapelberg [Thu, 27 Jan 2011 14:40:02 +0000 (15:40 +0100)]
RandR: respect primary output
Fernando Tarlá Cardoso Lemos [Wed, 26 Jan 2011 00:49:23 +0000 (22:49 -0200)]
Fix the percentages when moving containers.
Fernando Tarlá Cardoso Lemos [Wed, 26 Jan 2011 00:23:18 +0000 (22:23 -0200)]
Fix floating mode according to the new requirements.
At all times any given non-leaf container should have the sum of
the percentages of its children == 1.0, otherwise we'll crash on
an assertion failure.
Fernando Tarlá Cardoso Lemos [Wed, 26 Jan 2011 00:14:04 +0000 (22:14 -0200)]
Fix the resize algorithm I broke earlier.
The reason it was broken was that it was ok for the sum of the
percentages to be something other than 1.0. Now this is no longer
the case, the sum of the percentages must always be 1.0 or an
assertion will fail when we render the containers.
Fernando Tarlá Cardoso Lemos [Wed, 26 Jan 2011 00:12:43 +0000 (22:12 -0200)]
This parameter is no longer needed.
The algorithm is now always the same, doesn't matter if we're
adding or removing a container to/from its parent.
Fernando Tarlá Cardoso Lemos [Tue, 25 Jan 2011 23:50:23 +0000 (21:50 -0200)]
A new logic to calculate the percentages.
It's slower, but this way we make sure that the resulting
percentages *ALWAYS* sum up to 1.0 (or as close to that as we get
with double math).
Fernando Tarlá Cardoso Lemos [Tue, 25 Jan 2011 23:49:22 +0000 (21:49 -0200)]
Only fix the percentages after we insert the container.
This is what floating.c does and it allows us to unify the logic that
calculates those percentages.
Fernando Tarlá Cardoso Lemos [Tue, 25 Jan 2011 23:47:37 +0000 (21:47 -0200)]
Crash when we get the percentages wrong.
Better to crash with an assertion than to get into an infinite loop.
We cold work around this, but there's a bug here and it's not a
rounding bug, so it's better not to conceal it.
Axel Wagner [Wed, 26 Jan 2011 11:56:49 +0000 (12:56 +0100)]
Bugfix: Use free-workspaces() in xcb-cleanup (thx dothebart)
Axel Wagner [Wed, 26 Jan 2011 11:02:09 +0000 (12:02 +0100)]
Bugfix: free() output-names seperately (thx dothebart)
Axel Wagner [Wed, 26 Jan 2011 11:56:49 +0000 (12:56 +0100)]
Bugfix: Use free-workspaces() in xcb-cleanup (thx dothebart)
Axel Wagner [Wed, 26 Jan 2011 11:02:09 +0000 (12:02 +0100)]
Bugfix: free() output-names seperately (thx dothebart)
Axel Wagner [Wed, 26 Jan 2011 00:51:46 +0000 (01:51 +0100)]
Bugfix: Also free() the head of slist/tailq (Thx dothebart)
Axel Wagner [Tue, 25 Jan 2011 23:55:15 +0000 (00:55 +0100)]
Bugfix: free() text, after drawing it (thx dothebart)
Axel Wagner [Wed, 26 Jan 2011 00:38:48 +0000 (01:38 +0100)]
Bugfix: free() workspace-list of outputs seperately (thx dothebart)
Axel Wagner [Tue, 25 Jan 2011 23:54:35 +0000 (00:54 +0100)]
Remove superflous FREE_SLIST
Axel Wagner [Tue, 25 Jan 2011 23:34:15 +0000 (00:34 +0100)]
Bugfix: free() workspace-names seperately (thx dothebart)
Axel Wagner [Wed, 26 Jan 2011 00:24:54 +0000 (01:24 +0100)]
Bugfix: free() command-string, after it is not needed anymore
Axel Wagner [Wed, 26 Jan 2011 00:21:36 +0000 (01:21 +0100)]
Bugfix: Test for outputs == NULL
Axel Wagner [Wed, 26 Jan 2011 00:51:46 +0000 (01:51 +0100)]
Bugfix: Also free() the head of slist/tailq (Thx dothebart)
Axel Wagner [Tue, 25 Jan 2011 23:55:15 +0000 (00:55 +0100)]
Bugfix: free() text, after drawing it (thx dothebart)
Axel Wagner [Wed, 26 Jan 2011 00:38:48 +0000 (01:38 +0100)]
Bugfix: free() workspace-list of outputs seperately (thx dothebart)
Axel Wagner [Tue, 25 Jan 2011 23:54:35 +0000 (00:54 +0100)]
Remove superflous FREE_SLIST
Axel Wagner [Tue, 25 Jan 2011 23:34:15 +0000 (00:34 +0100)]
Bugfix: free() workspace-names seperately (thx dothebart)
Axel Wagner [Wed, 26 Jan 2011 00:24:54 +0000 (01:24 +0100)]
Bugfix: free() command-string, after it is not needed anymore
Axel Wagner [Wed, 26 Jan 2011 00:21:36 +0000 (01:21 +0100)]
Bugfix: Test for outputs == NULL
Fernando Tarlá Cardoso Lemos [Sat, 22 Jan 2011 18:09:11 +0000 (16:09 -0200)]
Round up as well if needed (thanks Merovius).
Fernando Tarlá Cardoso Lemos [Sat, 22 Jan 2011 18:09:11 +0000 (16:09 -0200)]
Round up as well if needed (thanks Merovius).
Fernando Tarlá Cardoso Lemos [Sat, 22 Jan 2011 17:54:49 +0000 (15:54 -0200)]
Round up as well if needed (thanks Merovius).
Raphael Kubo da Costa [Sat, 22 Jan 2011 18:03:29 +0000 (16:03 -0200)]
Build fix: Explicitly include stdint.h before cfgparse.tab.h
cfgparse.tab.h uses uint32_t, which is defined in stdint.h.
Should fix the build of 3.ε-bf2 on FreeBSD.
Signed-off-by: Raphael Kubo da Costa <kubito@gmail.com>
Raphael Kubo da Costa [Sat, 22 Jan 2011 18:03:29 +0000 (16:03 -0200)]
Build fix: Explicitly include stdint.h before cfgparse.tab.h
cfgparse.tab.h uses uint32_t, which is defined in stdint.h.
Should fix the build of 3.ε-bf2 on FreeBSD.
Signed-off-by: Raphael Kubo da Costa <kubito@gmail.com>
Axel Wagner [Sat, 22 Jan 2011 16:41:24 +0000 (17:41 +0100)]
Change default socketpath to /tmp/i3-ipc.sock
Michael Stapelberg [Sat, 22 Jan 2011 16:00:27 +0000 (17:00 +0100)]
Bugfix: Use strdup() for the initial value of socket_path (Thanks mseed)
Michael Stapelberg [Fri, 21 Jan 2011 21:58:22 +0000 (22:58 +0100)]
Bugfix: fix restoring the orientation (Thanks Merovius/fernandotcl)
Michael Stapelberg [Fri, 21 Jan 2011 21:09:04 +0000 (22:09 +0100)]
bugfix: you can’t unfullscreen workspaces (Thanks Merovius)
Michael Stapelberg [Fri, 21 Jan 2011 20:49:56 +0000 (21:49 +0100)]
Bugfix: Fix focus problems when switching workspaces by pushing the window stack before mapping
Michael Stapelberg [Fri, 21 Jan 2011 20:01:02 +0000 (21:01 +0100)]
Bugfix: Don’t send fake configure notify with not yet rendered rect for floating windows
This fixes a bug where opening the Xpdf find dialog when Xpdf is in fullscreen
mode would crash Xpdf due to a zero-width and zero-height ConfigureNotify rect.
Michael Stapelberg [Thu, 20 Jan 2011 09:09:43 +0000 (10:09 +0100)]
Bugfix: also close empty split containers when the clients are moved away (Thanks mseed)
Also update the testcase (which used only 'kill' before).
Michael Stapelberg [Wed, 19 Jan 2011 20:39:50 +0000 (21:39 +0100)]
update website for 3.ε-bf2
Michael Stapelberg [Wed, 19 Jan 2011 20:33:38 +0000 (21:33 +0100)]
add debian/source/format
Michael Stapelberg [Wed, 19 Jan 2011 20:28:57 +0000 (21:28 +0100)]
fix typo in release notes
Michael Stapelberg [Wed, 19 Jan 2011 20:26:13 +0000 (21:26 +0100)]
update debian/ for 3.ε-bf2
Michael Stapelberg [Wed, 19 Jan 2011 20:23:30 +0000 (21:23 +0100)]
add release notes for 3.ε-bf2
Michael Stapelberg [Wed, 19 Jan 2011 08:31:31 +0000 (09:31 +0100)]
Bugfix: fix crash in tree_flatten (Thanks mseed)
Michael Stapelberg [Mon, 17 Jan 2011 13:38:16 +0000 (14:38 +0100)]
When in stacking mode with only one child, respect border styles 1pixel and none (Thanks Merovius)
Michael Stapelberg [Mon, 17 Jan 2011 13:27:49 +0000 (14:27 +0100)]
re-implement xkb support for detecting keyboard layout changes
Michael Stapelberg [Mon, 17 Jan 2011 13:11:56 +0000 (14:11 +0100)]
Bugfix: Call mark_unmapped() on floating nodes aswell (Thanks mseed)
This fixes #292.
Axel Wagner [Fri, 14 Jan 2011 18:16:52 +0000 (19:16 +0100)]
Use tree-command for workspace-switching
Axel Wagner [Fri, 14 Jan 2011 16:33:40 +0000 (17:33 +0100)]
Display socket-path in connection-error-message
Axel Wagner [Fri, 14 Jan 2011 16:33:40 +0000 (17:33 +0100)]
Display socket-path in connection-error-message
Axel Wagner [Tue, 11 Jan 2011 04:25:04 +0000 (05:25 +0100)]
Save environment-variable AFTER reading the configfile
Axel Wagner [Tue, 11 Jan 2011 03:39:48 +0000 (04:39 +0100)]
Use I3SOCK-environment-variable
Michael Stapelberg [Wed, 12 Jan 2011 09:12:24 +0000 (10:12 +0100)]
fix some memory leaks when user passes command line arguments twice (Thanks Tiago)
Axel Wagner [Tue, 11 Jan 2011 04:02:55 +0000 (05:02 +0100)]
Use I3SOCK environment-variable
Axel Wagner [Tue, 11 Jan 2011 04:02:55 +0000 (05:02 +0100)]
Use I3SOCK environment-variable
Michael Stapelberg [Sun, 9 Jan 2011 01:55:48 +0000 (02:55 +0100)]
website: add reference to the ubuntu lucid repository
Fernando Tarlá Cardoso Lemos [Mon, 3 Jan 2011 00:39:49 +0000 (22:39 -0200)]
Separate the lines received in a single read.
Fixes the case where multiple lines are read in a single read syscall
(it could be better optimized in the future). Also fixes a memory
corruption issue when rec == 0.
Fernando Tarlá Cardoso Lemos [Mon, 3 Jan 2011 00:39:49 +0000 (22:39 -0200)]
Separate the lines received in a single read.
Fixes the case where multiple lines are read in a single read syscall
(it could be better optimized in the future). Also fixes a memory
corruption issue when rec == 0.
Michael Stapelberg [Sat, 8 Jan 2011 11:03:03 +0000 (12:03 +0100)]
Fix switching to a workspace on a different output
Michael Stapelberg [Fri, 7 Jan 2011 23:45:10 +0000 (00:45 +0100)]
ipc: adapt dump-asy.pl for the new orientation format
Michael Stapelberg [Fri, 7 Jan 2011 23:44:03 +0000 (00:44 +0100)]
Bugfix: Don’t use ->old_parent for floating cons (Thanks eelvex)
Instead, we attach them to their workspace when toggling back to tiling. This
makes more sense; afterall, floating clients are always directly below a
CT_WORKSPACE container.
Michael Stapelberg [Fri, 7 Jan 2011 23:38:10 +0000 (00:38 +0100)]
fix a problem with workspace switching when the focus got to the target workspace
This could explain some strange effects where workspaces would just stay blank.
We’ll see.
Michael Stapelberg [Fri, 7 Jan 2011 23:10:49 +0000 (00:10 +0100)]
Bugfix: Look for cons to focus *starting* at the ws, not beneath the ws (Thanks mseed)
This should fix #286.
Michael Stapelberg [Fri, 7 Jan 2011 23:10:30 +0000 (00:10 +0100)]
Bugfix: Correctly maintain focus when setting a workspace to floating
Michael Stapelberg [Fri, 7 Jan 2011 22:56:32 +0000 (23:56 +0100)]
Bugfix: Correctly move to other workspaces when a floating window is focused on the target ws (Thanks mseed)
Michael Stapelberg [Fri, 7 Jan 2011 21:21:41 +0000 (22:21 +0100)]
Implement tree flattening to automatically solve situations of redundant chains of split containers
This should fix the move problems. See comment of tree_flatten() for a little
example.
Michael Stapelberg [Fri, 7 Jan 2011 19:58:58 +0000 (20:58 +0100)]
change many LOG/printf messages to use DLOG
Michael Stapelberg [Fri, 7 Jan 2011 19:48:01 +0000 (20:48 +0100)]
ipc: change 'orientation' to human readable string instead of raw integer value
Michael Stapelberg [Fri, 7 Jan 2011 02:01:58 +0000 (03:01 +0100)]
fix enum value
Michael Stapelberg [Fri, 7 Jan 2011 01:50:35 +0000 (02:50 +0100)]
Bugfix: fix fullscreen mode for floating windows
Axel Wagner [Thu, 6 Jan 2011 16:35:23 +0000 (17:35 +0100)]
Bugfix: If hide-on-modifier is set, stop the child after starting
Axel Wagner [Thu, 6 Jan 2011 16:28:21 +0000 (17:28 +0100)]
Bugfix: Recreate double-buffers on reconfiguring (thx sECuRE)
Axel Wagner [Thu, 6 Jan 2011 16:35:23 +0000 (17:35 +0100)]
Bugfix: If hide-on-modifier is set, stop the child after starting
Axel Wagner [Thu, 6 Jan 2011 16:28:21 +0000 (17:28 +0100)]
Bugfix: Recreate double-buffers on reconfiguring (thx sECuRE)
Michael Stapelberg [Thu, 6 Jan 2011 13:35:04 +0000 (14:35 +0100)]
Bugfix: randr: Don’t close container if it was not initialized before
Michael Stapelberg [Tue, 4 Jan 2011 23:26:23 +0000 (00:26 +0100)]
RandR: use the next unused workspace instead of fixed counting
Michael Stapelberg [Tue, 4 Jan 2011 23:19:51 +0000 (00:19 +0100)]
Also initialize output->con when using neither RandR nor Xinerama
Michael Stapelberg [Tue, 4 Jan 2011 23:16:10 +0000 (00:16 +0100)]
Re-Implement support for RandR changes
Michael Stapelberg [Tue, 4 Jan 2011 21:51:42 +0000 (22:51 +0100)]
retab! randr.c
Michael Stapelberg [Tue, 4 Jan 2011 21:40:05 +0000 (22:40 +0100)]
Bugfix: Correctly change focus after closing floating containers (Thanks litemotiv!)
Michael Stapelberg [Tue, 4 Jan 2011 21:39:45 +0000 (22:39 +0100)]
fix memleak: free struct Window members
Michael Stapelberg [Tue, 4 Jan 2011 21:39:24 +0000 (22:39 +0100)]
fix memleak: free X state structure
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 [Sat, 1 Jan 2011 21:11:44 +0000 (22:11 +0100)]
Add font-option to i3-input
Axel Wagner [Sat, 1 Jan 2011 15:48:30 +0000 (16:48 +0100)]
Use strerror() for more usefull errormessages
Axel Wagner [Sat, 1 Jan 2011 15:48:30 +0000 (16:48 +0100)]
Use strerror() for more usefull errormessages
Axel Wagner [Sat, 1 Jan 2011 14:19:55 +0000 (15:19 +0100)]
Fix typo (thx julien)
Axel Wagner [Sat, 1 Jan 2011 14:19:17 +0000 (15:19 +0100)]
Only use font_info after we know, the request succeded
Axel Wagner [Sat, 1 Jan 2011 14:19:55 +0000 (15:19 +0100)]
Fix typo (thx julien)
Axel Wagner [Sat, 1 Jan 2011 14:19:17 +0000 (15:19 +0100)]
Only use font_info after we know, the request succeded
Axel Wagner [Sat, 1 Jan 2011 14:07:28 +0000 (15:07 +0100)]
Use "*buffer == '\0'" instead of "strlen(buffer) == 0" (thanks dothebart)
Axel Wagner [Sat, 1 Jan 2011 14:07:28 +0000 (15:07 +0100)]
Use "*buffer == '\0'" instead of "strlen(buffer) == 0" (thanks dothebart)
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