]>
git.sur5r.net Git - i3/i3/log
Michael Stapelberg [Sat, 23 Jan 2010 17:57:29 +0000 (18:57 +0100)]
Implement resize command for floating clients
Michael Stapelberg [Fri, 22 Jan 2010 23:34:29 +0000 (00:34 +0100)]
Bugfix: Don’t leak IPC socket to launched processes
Michael Stapelberg [Wed, 20 Jan 2010 21:34:25 +0000 (22:34 +0100)]
manpage: mention i3-msg and i3-input in SEE ALSO (Thanks artoj)
Cedric Staub [Fri, 15 Jan 2010 15:30:28 +0000 (16:30 +0100)]
Feature: Cycle through workspaces
On command pw/nw, cycle through all workspaces (starting from
previous/next one) until we reach the current one again.
Michael Stapelberg [Fri, 8 Jan 2010 17:56:01 +0000 (18:56 +0100)]
bugfix: lexer: return to INITIAL state (Thanks dirkson)
'floating_modifier' after 'workspace' did not work because of wrong
state
Michael Stapelberg [Thu, 7 Jan 2010 13:38:00 +0000 (14:38 +0100)]
Bugfix: if a font provides no per-char info for width, fall back to the default (Thanks Ciprian)
Michael Stapelberg [Thu, 7 Jan 2010 12:36:52 +0000 (13:36 +0100)]
Bugfix: Use ev_loop_new instead of ev_default_loop because the latter one blocks SIGCHLD (Thanks Ciprian)
SIGCHLD was inherited to child processes started by i3 and not
all of them unblocked it (shells generally did, though), leading to
zombie processes.
Michael Stapelberg [Sun, 3 Jan 2010 21:07:39 +0000 (22:07 +0100)]
sighandler: last little style fixes
Michael Stapelberg [Sun, 3 Jan 2010 21:02:07 +0000 (22:02 +0100)]
grab the pointer inside the signal handler popup
Michael Stapelberg [Sun, 3 Jan 2010 20:55:22 +0000 (21:55 +0100)]
Check return code of sigaction()
Michael Stapelberg [Sun, 3 Jan 2010 20:55:02 +0000 (21:55 +0100)]
Remove expose event mask, expose events will not be generated in any case
Michael Stapelberg [Sun, 3 Jan 2010 20:54:47 +0000 (21:54 +0100)]
Use DLOG instead of LOG, remove unnecessary debug statement
Michael Stapelberg [Sun, 3 Jan 2010 20:54:26 +0000 (21:54 +0100)]
some little style changes
Michael Stapelberg [Sun, 3 Jan 2010 20:53:42 +0000 (21:53 +0100)]
Use doxygen compatible comments
Michael Stapelberg [Sun, 3 Jan 2010 20:53:30 +0000 (21:53 +0100)]
Update copyright to 2010
Jan-Erik Rediger [Sun, 3 Jan 2010 13:52:38 +0000 (14:52 +0100)]
added popup for handling SIGSEGV or SIGFPE
the popup is placed on each of the virtual screens
the user can decide to restart or quit i3
in case of an exit a core-dump is generated
Michael Stapelberg [Sun, 3 Jan 2010 17:36:50 +0000 (18:36 +0100)]
ewmh: Don’t push workspaces with width=0 and height=0 (Thanks Atsutane, badboy)
Even though i3 cannot know the width/height of some workspaces as
long as they are not initialized (say you used workspace 1 and 3,
but not workspace 2), some applications require this information.
In this case, it was Firefox which intersects the available workareas
(see mozilla/gfx/src/gtk/nsScreenGtk.cpp) and did not position some
windows correctly when being confronted with zero-width/height
workspaces.
Michael Stapelberg [Sun, 3 Jan 2010 15:58:41 +0000 (16:58 +0100)]
Obey the XDG Base Directory Specification for config file paths
This means you can now put your i3 config into
$XDG_CONFIG_HOME/i3/config, which probably is ~/.config/i3/config
if not set otherwise.
Michael Stapelberg [Fri, 1 Jan 2010 21:40:50 +0000 (22:40 +0100)]
Bugfix: Containers could lose their snap state (Thanks Atsutane)
When being on a different workspace than the one where the snapped
container is, the function to cleanup cols/rows would clean up too
much.
Michael Stapelberg [Fri, 1 Jan 2010 16:30:27 +0000 (17:30 +0100)]
Remove superfluous #include <assert.h> (Thanks badboy)
Michael Stapelberg [Fri, 1 Jan 2010 15:19:55 +0000 (16:19 +0100)]
Extend testcase for dock clients with wm_transient_for hint
Michael Stapelberg [Fri, 1 Jan 2010 15:19:42 +0000 (16:19 +0100)]
Bugfix: Don’t put dock clients into floating mode (Thanks xeen)
Michael Stapelberg [Thu, 31 Dec 2009 16:48:41 +0000 (17:48 +0100)]
ewmh: implement support for _NET_WORKAREA (rdesktop can use that)
Please note that rdesktop’s -g workarea option will not work on
64-bit systems at the moment because of a bug in rdesktop (see the
rdesktop-devel mailing list).
Michael Stapelberg [Tue, 29 Dec 2009 16:48:16 +0000 (17:48 +0100)]
Fix bindings using the cursor keys in default config
Michael Stapelberg [Fri, 25 Dec 2009 14:19:39 +0000 (15:19 +0100)]
ewmh: correctly set _NET_ACTIVE_WINDOW
Michael Stapelberg [Fri, 25 Dec 2009 14:05:17 +0000 (15:05 +0100)]
ewmh: correctly set _NET_CURRENT_DESKTOP to the number of the active workspace
Michael Stapelberg [Tue, 22 Dec 2009 23:39:03 +0000 (00:39 +0100)]
Bugfix: Fix NULL pointer dereference in workspaces which have preferred screens but were not used yet (Thanks badboy)
Michael Stapelberg [Tue, 22 Dec 2009 22:43:05 +0000 (23:43 +0100)]
retab! src/container.c
Michael Stapelberg [Tue, 22 Dec 2009 22:40:06 +0000 (23:40 +0100)]
Make containers containing exactly one window behave like default containers
Starting from this commit, a borderless window will always be
borderless if it is the only window in a container. For example,
you can have Firefox borderless in a tabbed container and as soon
as the download manager or a viewer gets opened, the container
will be rendered like a normal tabbed container.
This solves the user-interface dilemma of borderless/1-px-border
windows inside stacked/tabbed containers, at least for this special
case. Thanks to Merovius for this suggestion.
Michael Stapelberg [Tue, 22 Dec 2009 11:14:09 +0000 (12:14 +0100)]
makefile: rather than a dependency for each source file, generate loglevels.h by recursion
This little hack runs make recursively to generate include/loglevels.h
before running any other target but skip an explicit dependency on
loglevels.h in each rule. Therefore, you do not need to rebuild
every source file when compiling.
Michael Stapelberg [Tue, 22 Dec 2009 10:29:24 +0000 (11:29 +0100)]
Correctly exit when another window manager is already running
This is implemented by checking if setting the redirect mask returned
an error or not.
Michael Stapelberg [Mon, 21 Dec 2009 22:08:08 +0000 (23:08 +0100)]
debian: update changelog
Michael Stapelberg [Mon, 21 Dec 2009 21:30:08 +0000 (22:30 +0100)]
xinerama: correctly put windows which are assigned to a specific screen on that screen when it becomes available (Thanks badboy)
Michael Stapelberg [Mon, 21 Dec 2009 19:41:02 +0000 (20:41 +0100)]
xinerama: change some log messages to errors
Michael Stapelberg [Sun, 20 Dec 2009 22:43:49 +0000 (23:43 +0100)]
Remove -e and -t from loglevels.h target to make it POSIX compliant (Thanks Mirko)
Michael Stapelberg [Sun, 20 Dec 2009 11:58:45 +0000 (12:58 +0100)]
makefile: properly document dependencies on each target to fix parallel make (Thanks Atsutane)
Michael Stapelberg [Sat, 19 Dec 2009 21:42:24 +0000 (22:42 +0100)]
makefile: clean temporary files
Michael Stapelberg [Sat, 19 Dec 2009 21:39:00 +0000 (22:39 +0100)]
Touch each log message and classify it as DLOG (debug), ELOG (error) or LOG (verbose)
Michael Stapelberg [Sat, 19 Dec 2009 21:38:32 +0000 (22:38 +0100)]
Add new options -V for verbose mode and -d <loglevel> for debug log levels
Michael Stapelberg [Sat, 19 Dec 2009 21:37:15 +0000 (22:37 +0100)]
add log.c/log.h which contain all the log related macros and functions
Michael Stapelberg [Sat, 19 Dec 2009 21:33:50 +0000 (22:33 +0100)]
logging: new makefile target to generate loglevels at compile time
Using shell commands, a bitmask is generated for each file. Additionally,
a C header containing an array of loglevels and their files is created in
include/loglevels.h.
Michael Stapelberg [Wed, 16 Dec 2009 21:59:25 +0000 (22:59 +0100)]
Add x11-utils as dependency to have xmessage(1) for the welcome message
Michael Stapelberg [Tue, 15 Dec 2009 18:11:01 +0000 (19:11 +0100)]
Add clarification about border color in userguide (Thanks xeen)
Michael Stapelberg [Sun, 13 Dec 2009 16:02:22 +0000 (17:02 +0100)]
Distribute rest space between windows as long as possible. (Thanks msi)
When having 8 windows in a container which has 766 px available,
you ended up losing 0,75 px per window which would quickly sum up.
Now, the rest space (6 px in this example) is distributed in units
of one pixel to as many windows as possible.
Michael Stapelberg [Sat, 12 Dec 2009 21:27:57 +0000 (22:27 +0100)]
Take into account the window’s base_{width,height} when resizing (Thanks Mirko)
Michael Stapelberg [Sat, 12 Dec 2009 20:42:56 +0000 (21:42 +0100)]
Partly revert
4ba26659 , it was just wrong.
Michael Stapelberg [Sat, 12 Dec 2009 20:34:53 +0000 (21:34 +0100)]
Add new entry in debian/changelog to prevent apt from overwriting self-built packages
Michael Stapelberg [Sat, 12 Dec 2009 20:31:41 +0000 (21:31 +0100)]
Bugfix: Correctly check for fullscreen windows when mapping new clients
CUR_CELL only works if you currently are in that container (not for
windows which are assigned to invisible workspaces, for example).
Michael Stapelberg [Sat, 12 Dec 2009 20:29:07 +0000 (21:29 +0100)]
Bugfix: Correctly place new windows below fullscreen windows (Thanks Moredread)
This bug could happen if you have floating and tiling windows (for
example Firefox in tiling mode and its Open dialog in autmatically
floating mode) and you opened a new tiling window while in fullscreen.
i3 would then place the window below the floating windows, but
floating clients are above fullscreen windows. Thus, the client
would be placed above the fullscreen window.
Michael Stapelberg [Sat, 12 Dec 2009 17:43:30 +0000 (18:43 +0100)]
Bugfix: Fix assignments to not yet visible workspaces
This was broken by commit
5a1668db3
Michael Stapelberg [Fri, 11 Dec 2009 16:57:42 +0000 (17:57 +0100)]
Bugfix: close file handle after parsing
Michael Stapelberg [Tue, 8 Dec 2009 19:55:17 +0000 (20:55 +0100)]
Include unistd.h for usleep()
Michael Stapelberg [Tue, 8 Dec 2009 19:52:19 +0000 (20:52 +0100)]
Bugfix: Don’t resize client after base_height changes if client is in fullscreen mode
Michael Stapelberg [Tue, 8 Dec 2009 10:48:25 +0000 (11:48 +0100)]
Bugfix: Use more precise floating point arithmetic (Thanks helgiks)
This prevents errors in rounding leading to an unoccupied space of
-1 which in turn leads to infinity when calculating the new size
of a container after resizing.
Michael Stapelberg [Mon, 7 Dec 2009 18:06:57 +0000 (19:06 +0100)]
Correct typo
Michael Stapelberg [Mon, 7 Dec 2009 15:58:46 +0000 (16:58 +0100)]
Update and reformat the hacking howto
Michael Stapelberg [Mon, 7 Dec 2009 15:31:49 +0000 (16:31 +0100)]
When no screens are found, don’t hog the CPU. Also, wait longer for screens (10 seconds).
Instead of just going on, i3 will exit cleanly now, putting an
appropriate message into the logfile.
Michael Stapelberg [Mon, 7 Dec 2009 09:25:12 +0000 (10:25 +0100)]
Add new chapters to userguide: multi-monitor and software environment
Michael Stapelberg [Thu, 26 Nov 2009 21:17:38 +0000 (22:17 +0100)]
Bugfix: Fix two problems in resizing floating windows with right mouse button (Thanks Mirko)
Minimum width/height was not consistent with the limit for grabbing
and resizing a window at its border.
If one of both was violated (width < min_width for example), none
of them were updated.
Michael Stapelberg [Thu, 26 Nov 2009 20:32:53 +0000 (21:32 +0100)]
Bugfix: Render containers after setting the client active (Thanks Mirko)
This lead to race conditions when the window did not change its title
after mapping and was displayed in a tabbed container.
Michael Stapelberg [Mon, 23 Nov 2009 20:58:32 +0000 (21:58 +0100)]
debian: update changelog
Michael Stapelberg [Mon, 23 Nov 2009 20:50:01 +0000 (21:50 +0100)]
debian: Add i3-wm.doc-base
Michael Stapelberg [Mon, 23 Nov 2009 20:44:23 +0000 (21:44 +0100)]
debian: add missing files to docs/
Michael Stapelberg [Mon, 23 Nov 2009 20:34:21 +0000 (21:34 +0100)]
debian: set priority only for the source package, binaries will inherit
Michael Stapelberg [Mon, 23 Nov 2009 08:42:38 +0000 (09:42 +0100)]
Bugfix: Resize client after updating base_height/base_width (Thanks Merovius)
This fixes the problem that urxvt/xterm "lost" a line of space before
being resized the first time.
Michael Stapelberg [Mon, 23 Nov 2009 07:35:40 +0000 (08:35 +0100)]
Bugfix: Don’t ignore urgency flag when the client wants to clean it (Thanks Syntropy)
Michael Stapelberg [Sun, 22 Nov 2009 21:48:08 +0000 (22:48 +0100)]
Bugfix: Fix stack-limit cols, handle stack-limit cols on tabbed containers (Thanks jace)
Michael Stapelberg [Sun, 22 Nov 2009 19:25:33 +0000 (20:25 +0100)]
config: delete old parser, new lexer/parser is the default by now
Michael Stapelberg [Sun, 22 Nov 2009 13:32:40 +0000 (14:32 +0100)]
Bugfix: Also fix horizontal resizing
The same problem as in the commit before this one was present. Additionally,
the dock_clients and internal bar were not taken into account everywhere.
Michael Stapelberg [Sun, 22 Nov 2009 13:05:35 +0000 (14:05 +0100)]
Bugfix: Correctly calculate width when resizing (Thanks Merovius)
Michael Stapelberg [Fri, 20 Nov 2009 14:56:18 +0000 (15:56 +0100)]
Expand testcase for urgency hint
Michael Stapelberg [Fri, 20 Nov 2009 14:55:54 +0000 (15:55 +0100)]
Bugfix: Don’t set the urgency flag if the window is currently active
Michael Stapelberg [Fri, 20 Nov 2009 14:33:38 +0000 (15:33 +0100)]
Bugfix: Accept underscores in bindsym (Thanks jace)
Michael Stapelberg [Wed, 18 Nov 2009 21:53:17 +0000 (22:53 +0100)]
Bugfix: Fix resizing of floating windows in borderless/1-px-border mode (Thanks Grauwolf)
Calculations were wrong (they simply didn’t take into account that
there is more than one border style, the code was from before we
implemented that…). We cannot directly set child_rect to the coordinates
as resize_client takes rect and calculates the child_rect, so we need
the new lines of code for this bugfix in any case (rect needs to be
updated).
Michael Stapelberg [Wed, 18 Nov 2009 21:52:34 +0000 (22:52 +0100)]
Add testcase for resizing of floating windows
Michael Stapelberg [Wed, 18 Nov 2009 19:39:53 +0000 (20:39 +0100)]
Add testcase for the urgency hint
Needs latest X11::XCB from git
Michael Stapelberg [Wed, 18 Nov 2009 19:20:54 +0000 (20:20 +0100)]
Bugfix: Correctly clear the urgency hint if a window gets unmapped without clearing the hint
Michael Stapelberg [Wed, 18 Nov 2009 18:53:57 +0000 (19:53 +0100)]
Bugfix: Also allow WORDs as workspace names (Thanks Grauwolf)
Michael Stapelberg [Sun, 15 Nov 2009 16:35:15 +0000 (17:35 +0100)]
Bugfix: Don’t hide window titles in tabbing mode (Thanks badboy)
Michael Stapelberg [Fri, 13 Nov 2009 19:36:59 +0000 (20:36 +0100)]
Remove the terminal option from config.
The welcome message is displayed using xmessage(1), not using your
terminal. Thus, it makes no sense to have this option anymore. Also,
the new lex/yacc parser cannot correctly handle the situation:
normal variables are expanded before parsing the file. As a replacement,
you can use:
set $terminal /usr/bin/urxvt
Michael Stapelberg [Fri, 13 Nov 2009 19:22:23 +0000 (20:22 +0100)]
Bugfix: Correctly replay pointer if the click handler does not trigger (Thanks merovius)
Michael Stapelberg [Fri, 13 Nov 2009 18:55:34 +0000 (19:55 +0100)]
Bugfix: Correctly switch border types for floating windows (Thanks msi)
Michael Stapelberg [Fri, 13 Nov 2009 18:46:07 +0000 (19:46 +0100)]
Bugfix: Don’t draw window title when titlebar is disabled (Thanks msi)
Michael Stapelberg [Thu, 12 Nov 2009 23:30:42 +0000 (00:30 +0100)]
Disable XKB instead of quitting with an error (Thanks sur5r)
This is necessary for running i3 in Xvnc for example.
Michael Stapelberg [Thu, 12 Nov 2009 19:28:09 +0000 (20:28 +0100)]
Add ctrl as synonym for control
Michael Stapelberg [Tue, 10 Nov 2009 13:37:51 +0000 (14:37 +0100)]
Makefile: Use POSIX-compliant method to delete multiple files (for-loop)
Michael Stapelberg [Mon, 9 Nov 2009 23:07:40 +0000 (00:07 +0100)]
Fix compilation warning on OpenBSD (Thanks bapt)
Michael Stapelberg [Mon, 9 Nov 2009 21:44:40 +0000 (22:44 +0100)]
debian: Add flex/bison to build-deps
Michael Stapelberg [Mon, 9 Nov 2009 21:41:31 +0000 (22:41 +0100)]
debian: update packaging
Michael Stapelberg [Mon, 9 Nov 2009 21:36:26 +0000 (22:36 +0100)]
parser: Use right parameter, suppress warning about expected shift/reduce conflict
Michael Stapelberg [Mon, 9 Nov 2009 20:31:51 +0000 (21:31 +0100)]
Update regexp in make dist
Michael Stapelberg [Mon, 9 Nov 2009 20:29:54 +0000 (21:29 +0100)]
Only evaluate the $(shell) expansions once in Makefiles
Michael Stapelberg [Mon, 9 Nov 2009 20:29:10 +0000 (21:29 +0100)]
Bump version in manpage
Michael Stapelberg [Mon, 9 Nov 2009 20:28:29 +0000 (21:28 +0100)]
Change makefile for the release of 3.d
Michael Stapelberg [Mon, 9 Nov 2009 20:28:15 +0000 (21:28 +0100)]
Add manpage for i3-input
Michael Stapelberg [Mon, 9 Nov 2009 19:53:56 +0000 (20:53 +0100)]
Update changelog / release-notes
Michael Stapelberg [Sun, 8 Nov 2009 20:43:47 +0000 (21:43 +0100)]
Bugfix: WHITESPACE was missing in front of the workspace name (Thanks Mirko)
Michael Stapelberg [Sun, 8 Nov 2009 12:04:14 +0000 (13:04 +0100)]
Fix rendering of 1-px-border windows which require background filling
Michael Stapelberg [Sun, 8 Nov 2009 11:45:33 +0000 (12:45 +0100)]
s/for(/for (/
Michael Stapelberg [Sun, 8 Nov 2009 11:45:05 +0000 (12:45 +0100)]
document the new border option