]> git.sur5r.net Git - i3/i3/log
i3/i3
14 years agoUpdate userguide, explain comments and normalize the paragraph about fonts (Thanks...
Michael Stapelberg [Sat, 6 Mar 2010 23:00:04 +0000 (00:00 +0100)]
Update userguide, explain comments and normalize the paragraph about fonts (Thanks kraM)

14 years agoFor num_clients == 0, the last fix is also valid
Michael Stapelberg [Sat, 6 Mar 2010 15:58:20 +0000 (16:58 +0100)]
For num_clients == 0, the last fix is also valid

14 years agoAvoid more errors by not trying to re-create a stack win with height == 0
Michael Stapelberg [Sat, 6 Mar 2010 15:51:17 +0000 (16:51 +0100)]
Avoid more errors by not trying to re-create a stack win with height == 0

14 years agoDon’t render if no stack_window has been opened
Michael Stapelberg [Sat, 6 Mar 2010 15:34:07 +0000 (16:34 +0100)]
Don’t render if no stack_window has been opened

This could happen when you have only one client in a stacking/tabbed
container. While not being a critical bug, this avoids X errors.

14 years agoRemove trailing whitespace
Michael Stapelberg [Fri, 5 Mar 2010 22:26:45 +0000 (23:26 +0100)]
Remove trailing whitespace

14 years agoChanging to stacking/tabbing toggles mode to default if already in stacking/tiling.
Thorsten Töpper [Fri, 5 Mar 2010 22:09:51 +0000 (23:09 +0100)]
Changing to stacking/tabbing toggles mode to default if already in stacking/tiling.

14 years agoClear urgency hints set by i3 (see HEAD~2)
Michael Stapelberg [Fri, 5 Mar 2010 19:03:38 +0000 (20:03 +0100)]
Clear urgency hints set by i3 (see HEAD~2)

14 years agoAdd testcase for the last commit
Michael Stapelberg [Fri, 5 Mar 2010 18:53:33 +0000 (19:53 +0100)]
Add testcase for the last commit

14 years agoput windows with WM_CLIENT_LEADER on the workspace of their leader
Michael Stapelberg [Fri, 5 Mar 2010 17:01:32 +0000 (18:01 +0100)]
put windows with WM_CLIENT_LEADER on the workspace of their leader

This fixes ticket #163

14 years agoAllow unsetting WM_CLIENT_LEADER (XCB_NONE is not an invalid value)
Michael Stapelberg [Fri, 5 Mar 2010 16:42:50 +0000 (17:42 +0100)]
Allow unsetting WM_CLIENT_LEADER (XCB_NONE is not an invalid value)

14 years agoUpdate function names, variable names and documentation for the RandR changes
Michael Stapelberg [Fri, 5 Mar 2010 15:18:41 +0000 (16:18 +0100)]
Update function names, variable names and documentation for the RandR changes

14 years agoBugfix: Correctly hide/show workspaces when enabling new outputs, correctly handle...
Michael Stapelberg [Fri, 5 Mar 2010 14:22:12 +0000 (15:22 +0100)]
Bugfix: Correctly hide/show workspaces when enabling new outputs, correctly handle focus (Thanks Merovius)

14 years agoBugfix: Fix clone mode with new RandR code (Thanks Merovius)
Michael Stapelberg [Fri, 5 Mar 2010 13:32:48 +0000 (14:32 +0100)]
Bugfix: Fix clone mode with new RandR code (Thanks Merovius)

14 years agoRemove superfluous definitions (Thanks Merovius)
Michael Stapelberg [Fri, 5 Mar 2010 00:59:52 +0000 (01:59 +0100)]
Remove superfluous definitions (Thanks Merovius)

14 years agofix comment (Thanks Merovius)
Michael Stapelberg [Thu, 4 Mar 2010 23:09:52 +0000 (00:09 +0100)]
fix comment (Thanks Merovius)

14 years agoi3-input: Bugfix: repeatedly grab the keyboard if it does not succeed
Michael Stapelberg [Wed, 3 Mar 2010 09:08:17 +0000 (10:08 +0100)]
i3-input: Bugfix: repeatedly grab the keyboard if it does not succeed

This should fix ticket #175

14 years agoUpdate fullscreen client position/size when an output changes (Thanks Merovius)
Michael Stapelberg [Wed, 3 Mar 2010 08:32:31 +0000 (09:32 +0100)]
Update fullscreen client position/size when an output changes (Thanks Merovius)

This fixes #187.

14 years agodraw consistent borders for each frame in a tabbed/stacked container
Michael Stapelberg [Wed, 3 Mar 2010 07:49:07 +0000 (08:49 +0100)]
draw consistent borders for each frame in a tabbed/stacked container

The condition was a relict from older rendering code, I think.
This fixes #172.

14 years agosighandler: only display on active outputs
Michael Stapelberg [Wed, 3 Mar 2010 07:48:57 +0000 (08:48 +0100)]
sighandler: only display on active outputs

14 years agoSave a resize_client() when handling the size hints
Michael Stapelberg [Wed, 3 Mar 2010 00:22:39 +0000 (01:22 +0100)]
Save a resize_client() when handling the size hints

14 years agoBugfix: checked for wrong flag in size hints
Michael Stapelberg [Wed, 3 Mar 2010 00:20:56 +0000 (01:20 +0100)]
Bugfix: checked for wrong flag in size hints

14 years agodebian: require libxcb-randr0-dev instead of libxcb-xinerama0-dev
Michael Stapelberg [Tue, 2 Mar 2010 17:56:57 +0000 (18:56 +0100)]
debian: require libxcb-randr0-dev instead of libxcb-xinerama0-dev

14 years agoWhen in fullscreen mode, focus whole screens instead of denying to focus (Thanks...
Michael Stapelberg [Tue, 2 Mar 2010 14:45:48 +0000 (15:45 +0100)]
When in fullscreen mode, focus whole screens instead of denying to focus (Thanks dothebart)

This fixes ticket #169.

14 years agoBugfix: only return active screens in get_screen_most
Michael Stapelberg [Tue, 2 Mar 2010 14:45:03 +0000 (15:45 +0100)]
Bugfix: only return active screens in get_screen_most

14 years agoMove autostart after creating the IPC socket in start process (Thanks Sasha)
Michael Stapelberg [Tue, 2 Mar 2010 14:30:23 +0000 (15:30 +0100)]
Move autostart after creating the IPC socket in start process (Thanks Sasha)

This fixes ticket #179.

14 years agoRestore geometry of all windows before exiting/restarting (Thanks Sasha)
Michael Stapelberg [Tue, 2 Mar 2010 14:25:08 +0000 (15:25 +0100)]
Restore geometry of all windows before exiting/restarting (Thanks Sasha)

This fixes ticket #185

14 years agouse scalloc instead of some places where calloc was still used
Michael Stapelberg [Tue, 2 Mar 2010 13:42:24 +0000 (14:42 +0100)]
use scalloc instead of some places where calloc was still used

14 years agoChange workspace assignments to use the RandR output name instead of <screen>
Michael Stapelberg [Tue, 2 Mar 2010 12:35:43 +0000 (13:35 +0100)]
Change workspace assignments to use the RandR output name instead of <screen>

14 years agoFix parallel compilation (sometimes it failed because of wrong order in lex/yacc)
Michael Stapelberg [Tue, 2 Mar 2010 11:56:45 +0000 (12:56 +0100)]
Fix parallel compilation (sometimes it failed because of wrong order in lex/yacc)

14 years agohuge change: implement RandR instead of Xinerama
Michael Stapelberg [Tue, 2 Mar 2010 11:47:21 +0000 (12:47 +0100)]
huge change: implement RandR instead of Xinerama

Thanks to Merovius for doing a proof of concept on this one and
being a driving force behind the idea.

Using RandR instead of Xinerama means that we are now able to use
the full potential of the modern way of configuring screens. That
means, i3 now has an idea of the outputs your graphic driver
provides, which allowed us to get rid of the ugly way of detecting
changes in the screen configuration which we used before. Now, your
workspaces should not be confused when changing output modes anymore.

Also, instead of having ugly heuristics to assign your workspaces
to (the screen at position X or the second screen in the list of
screens) you will be able to just specify an output name.

As this change basically touches everything, you should be prepared
for bugs. Please test and report them!

14 years agoadd xcb_set_window_rect which configures a window according to a Rect
Michael Stapelberg [Sun, 28 Feb 2010 19:35:30 +0000 (20:35 +0100)]
add xcb_set_window_rect which configures a window according to a Rect

14 years agoMove update_if_necessary to util.c, will be necessary later
Michael Stapelberg [Sun, 28 Feb 2010 17:39:11 +0000 (18:39 +0100)]
Move update_if_necessary to util.c, will be necessary later

14 years agodocs: the comparison is size and position, not only size (Thanks Merovius)
Michael Stapelberg [Mon, 22 Feb 2010 06:09:17 +0000 (07:09 +0100)]
docs: the comparison is size and position, not only size (Thanks Merovius)

14 years agowork around clients setting 0xFFFF as resize increments
Michael Stapelberg [Sat, 20 Feb 2010 19:32:43 +0000 (20:32 +0100)]
work around clients setting 0xFFFF as resize increments

I am not sure if behaviour is specified for this case, but as the
workaround is not really a big deal, why bother…

14 years agoAdd missing carriage return (Thanks fallen)
Michael Stapelberg [Tue, 16 Feb 2010 18:55:04 +0000 (19:55 +0100)]
Add missing carriage return (Thanks fallen)

14 years agoMake the warning about $terminal being deprecated an error (Thanks fallen)
Michael Stapelberg [Tue, 16 Feb 2010 18:25:07 +0000 (19:25 +0100)]
Make the warning about $terminal being deprecated an error (Thanks fallen)

14 years agoparser: ignore errors
Michael Stapelberg [Sun, 14 Feb 2010 15:59:22 +0000 (16:59 +0100)]
parser: ignore errors

14 years agoDocument the new options
Michael Stapelberg [Sat, 13 Feb 2010 18:58:43 +0000 (19:58 +0100)]
Document the new options

14 years agolexer/parser: proper error messages
Michael Stapelberg [Sat, 13 Feb 2010 18:42:54 +0000 (19:42 +0100)]
lexer/parser: proper error messages

Error messages now look like this:

13.02.2010 19:42:30 - ERROR:
13.02.2010 19:42:30 - ERROR: CONFIG: syntax error, unexpected <word>,
expecting default/stacking/tabbed or stack-limit
13.02.2010 19:42:30 - ERROR: CONFIG: in file "inv", line 15:
13.02.2010 19:42:30 - ERROR: CONFIG:   new_container foobar
13.02.2010 19:42:30 - ERROR: CONFIG:                 ^^^^^^
13.02.2010 19:42:30 - ERROR:

14 years agomakefile: parser/lexer also depend on header files
Michael Stapelberg [Sat, 13 Feb 2010 18:27:28 +0000 (19:27 +0100)]
makefile: parser/lexer also depend on header files

14 years agoparser: enable verbose error messages, add aliases to tokens
Michael Stapelberg [Sat, 13 Feb 2010 14:27:43 +0000 (15:27 +0100)]
parser: enable verbose error messages, add aliases to tokens

14 years agoAlso warp the pointer when moving a window to a another visible workspace (Thanks...
Michael Stapelberg [Fri, 12 Feb 2010 15:19:58 +0000 (16:19 +0100)]
Also warp the pointer when moving a window to a another visible workspace (Thanks Thomas)

14 years agoBugfix: Correctly do boundary checking/moving to other workspaces when moving floatin...
Michael Stapelberg [Fri, 12 Feb 2010 12:06:59 +0000 (13:06 +0100)]
Bugfix: Correctly do boundary checking/moving to other workspaces when moving floating clients via keyboard (Thanks sasha)

14 years agoBugfix: Use both parts of WM_CLASS (it contains instance and class) (Thanks fallen)
Michael Stapelberg [Fri, 12 Feb 2010 11:12:25 +0000 (12:12 +0100)]
Bugfix: Use both parts of WM_CLASS (it contains instance and class) (Thanks fallen)

Actually, WM_CLASS contains two null-terminated strings, so we cannot
use asprintf() to get its value but rather use strdup() to get both
of them. Both values are compared when a client is matched against
a wm_class/title combination (for assignments for example).

14 years agoRemove duplicate entry (Thanks Merovius)
Michael Stapelberg [Fri, 5 Feb 2010 15:11:15 +0000 (16:11 +0100)]
Remove duplicate entry (Thanks Merovius)

14 years agoAdd documentation for the new focus follows mouse-option
Michael Stapelberg [Fri, 29 Jan 2010 20:58:28 +0000 (21:58 +0100)]
Add documentation for the new focus follows mouse-option

14 years agoInvert logic for the last commit
Michael Stapelberg [Fri, 29 Jan 2010 20:51:38 +0000 (21:51 +0100)]
Invert logic for the last commit

This makes it more clear that the option is meant to be a special
case (it *disables* part of the focus handling). Also, when
initializing the config data structure with zeros, it will get
initialized with the right value.

Furthermore, the config file parser now also accepts various values
which represent "true", not only numbers.

14 years agoAdded focus_follows_mouse config option
Kim Silkebækken (lokaltog) [Tue, 26 Jan 2010 11:10:48 +0000 (12:10 +0100)]
Added focus_follows_mouse config option

14 years agodocs: improve documentation on modes (Thanks xeen)
Michael Stapelberg [Tue, 26 Jan 2010 21:48:12 +0000 (22:48 +0100)]
docs: improve documentation on modes (Thanks xeen)

14 years agoFixed cursor code in create_window(), allowing the cursor to be changed
Kim Silkebækken (lokaltog) [Tue, 26 Jan 2010 10:06:10 +0000 (11:06 +0100)]
Fixed cursor code in create_window(), allowing the cursor to be changed

14 years agoFixed cursor orientation when resizing
Kim Silkebækken (lokaltog) [Tue, 26 Jan 2010 10:05:59 +0000 (11:05 +0100)]
Fixed cursor orientation when resizing

14 years agoInclude date of the last commit in version number (Thanks Scytale)
Michael Stapelberg [Sat, 23 Jan 2010 21:35:10 +0000 (22:35 +0100)]
Include date of the last commit in version number (Thanks Scytale)

14 years agoImplement resize command for floating clients
Michael Stapelberg [Sat, 23 Jan 2010 17:57:29 +0000 (18:57 +0100)]
Implement resize command for floating clients

14 years agoBugfix: Don’t leak IPC socket to launched processes
Michael Stapelberg [Fri, 22 Jan 2010 23:34:29 +0000 (00:34 +0100)]
Bugfix: Don’t leak IPC socket to launched processes

14 years agomanpage: mention i3-msg and i3-input in SEE ALSO (Thanks artoj)
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)

14 years agoFeature: Cycle through workspaces
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.

14 years agobugfix: lexer: return to INITIAL state (Thanks dirkson)
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

14 years agoBugfix: if a font provides no per-char info for width, fall back to the default ...
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)

14 years agoBugfix: Use ev_loop_new instead of ev_default_loop because the latter one blocks...
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.

14 years agosighandler: last little style fixes
Michael Stapelberg [Sun, 3 Jan 2010 21:07:39 +0000 (22:07 +0100)]
sighandler: last little style fixes

14 years agograb the pointer inside the signal handler popup
Michael Stapelberg [Sun, 3 Jan 2010 21:02:07 +0000 (22:02 +0100)]
grab the pointer inside the signal handler popup

14 years agoCheck return code of sigaction()
Michael Stapelberg [Sun, 3 Jan 2010 20:55:22 +0000 (21:55 +0100)]
Check return code of sigaction()

14 years agoRemove expose event mask, expose events will not be generated in any case
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

14 years agoUse DLOG instead of LOG, remove unnecessary debug statement
Michael Stapelberg [Sun, 3 Jan 2010 20:54:47 +0000 (21:54 +0100)]
Use DLOG instead of LOG, remove unnecessary debug statement

14 years agosome little style changes
Michael Stapelberg [Sun, 3 Jan 2010 20:54:26 +0000 (21:54 +0100)]
some little style changes

14 years agoUse doxygen compatible comments
Michael Stapelberg [Sun, 3 Jan 2010 20:53:42 +0000 (21:53 +0100)]
Use doxygen compatible comments

14 years agoUpdate copyright to 2010
Michael Stapelberg [Sun, 3 Jan 2010 20:53:30 +0000 (21:53 +0100)]
Update copyright to 2010

14 years agoadded popup for handling SIGSEGV or SIGFPE
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

14 years agoewmh: Don’t push workspaces with width=0 and height=0 (Thanks Atsutane, badboy)
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.

14 years agoObey the XDG Base Directory Specification for config file paths
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.

14 years agoBugfix: Containers could lose their snap state (Thanks Atsutane)
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.

14 years agoRemove superfluous #include <assert.h> (Thanks badboy)
Michael Stapelberg [Fri, 1 Jan 2010 16:30:27 +0000 (17:30 +0100)]
Remove superfluous #include <assert.h> (Thanks badboy)

14 years agoExtend testcase for dock clients with wm_transient_for hint
Michael Stapelberg [Fri, 1 Jan 2010 15:19:55 +0000 (16:19 +0100)]
Extend testcase for dock clients with wm_transient_for hint

14 years agoBugfix: Don’t put dock clients into floating mode (Thanks xeen)
Michael Stapelberg [Fri, 1 Jan 2010 15:19:42 +0000 (16:19 +0100)]
Bugfix: Don’t put dock clients into floating mode (Thanks xeen)

14 years agoewmh: implement support for _NET_WORKAREA (rdesktop can use that)
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).

14 years agoFix bindings using the cursor keys in default config
Michael Stapelberg [Tue, 29 Dec 2009 16:48:16 +0000 (17:48 +0100)]
Fix bindings using the cursor keys in default config

14 years agoewmh: correctly set _NET_ACTIVE_WINDOW
Michael Stapelberg [Fri, 25 Dec 2009 14:19:39 +0000 (15:19 +0100)]
ewmh: correctly set _NET_ACTIVE_WINDOW

14 years agoewmh: correctly set _NET_CURRENT_DESKTOP to the number of the active workspace
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

14 years agoBugfix: Fix NULL pointer dereference in workspaces which have preferred screens but...
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)

14 years agoretab! src/container.c
Michael Stapelberg [Tue, 22 Dec 2009 22:43:05 +0000 (23:43 +0100)]
retab! src/container.c

14 years agoMake containers containing exactly one window behave like default containers
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.

14 years agomakefile: rather than a dependency for each source file, generate loglevels.h by...
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.

14 years agoCorrectly exit when another window manager is already running
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.

14 years agodebian: update changelog
Michael Stapelberg [Mon, 21 Dec 2009 22:08:08 +0000 (23:08 +0100)]
debian: update changelog

14 years agoxinerama: correctly put windows which are assigned to a specific screen on that scree...
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)

14 years agoxinerama: change some log messages to errors
Michael Stapelberg [Mon, 21 Dec 2009 19:41:02 +0000 (20:41 +0100)]
xinerama: change some log messages to errors

14 years agoRemove -e and -t from loglevels.h target to make it POSIX compliant (Thanks Mirko)
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)

14 years agomakefile: properly document dependencies on each target to fix parallel make (Thanks...
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)

14 years agomakefile: clean temporary files
Michael Stapelberg [Sat, 19 Dec 2009 21:42:24 +0000 (22:42 +0100)]
makefile: clean temporary files

14 years agoTouch each log message and classify it as DLOG (debug), ELOG (error) or LOG (verbose)
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)

14 years agoAdd new options -V for verbose mode and -d <loglevel> for debug log levels
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

14 years agoadd log.c/log.h which contain all the log related macros and functions
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

14 years agologging: new makefile target to generate loglevels at compile time
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.

14 years agoAdd x11-utils as dependency to have xmessage(1) for the welcome message
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

14 years agoAdd clarification about border color in userguide (Thanks xeen)
Michael Stapelberg [Tue, 15 Dec 2009 18:11:01 +0000 (19:11 +0100)]
Add clarification about border color in userguide (Thanks xeen)

14 years agoDistribute rest space between windows as long as possible. (Thanks msi)
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.

14 years agoTake into account the window’s base_{width,height} when resizing (Thanks Mirko)
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)

14 years agoPartly revert 4ba26659, it was just wrong.
Michael Stapelberg [Sat, 12 Dec 2009 20:42:56 +0000 (21:42 +0100)]
Partly revert 4ba26659, it was just wrong.

14 years agoAdd new entry in debian/changelog to prevent apt from overwriting self-built packages
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

14 years agoBugfix: Correctly check for fullscreen windows when mapping new clients
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).