]> git.sur5r.net Git - i3/i3/log
i3/i3
10 years agoRaise floating windows on `focus [direction]`
Tony Crisci [Mon, 28 Jul 2014 02:32:50 +0000 (22:32 -0400)]
Raise floating windows on `focus [direction]`

Raise a window when cycling focus between floating windows with `focus
[direction]` command so that newly focused windows are rendered on top
of other windows.

This is done by placing the window last in the floating nodes of the
parent and reordering the stack so the relative order is preserved.

fixes #1322

10 years agomake AnyEvent::I3 dependency versioned (Thanks sur5r)
Michael Stapelberg [Tue, 5 Aug 2014 09:49:16 +0000 (11:49 +0200)]
make AnyEvent::I3 dependency versioned (Thanks sur5r)

10 years agoMerge branch 'master' into next
Michael Stapelberg [Thu, 24 Jul 2014 08:11:34 +0000 (10:11 +0200)]
Merge branch 'master' into next

10 years agoMerge branch 'fix-tray-restart'
Michael Stapelberg [Thu, 24 Jul 2014 08:11:34 +0000 (10:11 +0200)]
Merge branch 'fix-tray-restart'

10 years agoBugfix: add a sync call to i3bar to confirm reparents before exiting
Michael Stapelberg [Thu, 24 Jul 2014 08:09:53 +0000 (10:09 +0200)]
Bugfix: add a sync call to i3bar to confirm reparents before exiting

Without this call, sometimes the tray icon windows are reparented into
i3’s container around the i3bar window, i.e. into the next remaining
window in the window hierarchy. Since i3 then closes that container
(since the i3bar window itself was closed), the tray window will also
get closed. In general, this weird interaction (getting reparented and
then closed) is not well received by tray icon providers :).

closes: #1296

10 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 23 Jul 2014 07:48:26 +0000 (09:48 +0200)]
Merge branch 'master' into next

10 years agoMerge branch 'fix-decoration'
Michael Stapelberg [Wed, 23 Jul 2014 07:48:26 +0000 (09:48 +0200)]
Merge branch 'fix-decoration'

10 years agoBugfix: missed case for decoration rerender
Tony Crisci [Tue, 24 Jun 2014 21:27:01 +0000 (17:27 -0400)]
Bugfix: missed case for decoration rerender

Rerender the decoration when the container requires a pixmap and does
not have one.

fixes #1292

10 years agoRemove TODO for cycling through the floating z-index.
Michael Stapelberg [Sun, 20 Jul 2014 21:49:08 +0000 (23:49 +0200)]
Remove TODO for cycling through the floating z-index.

I think this is not a good feature to have. It shouldn’t be necessary
for a tiling window manager that explicitly discourages the use of
floating windows.

fixes #1324

10 years agodon’t set names corresponding to debug colors, remove “sleep 1”.
Michael Stapelberg [Tue, 15 Jul 2014 08:35:52 +0000 (10:35 +0200)]
don’t set names corresponding to debug colors, remove “sleep 1”.

The names were (mostly) internal to i3 anyway.

Hopefully this doesn’t break anything, but I really think this old
behavior needs to go now :).

10 years agoMerge branch 'fix-layout-output'
Michael Stapelberg [Tue, 15 Jul 2014 08:28:51 +0000 (10:28 +0200)]
Merge branch 'fix-layout-output'

10 years agoMerge branch 'master' into next
Michael Stapelberg [Tue, 15 Jul 2014 08:28:51 +0000 (10:28 +0200)]
Merge branch 'master' into next

10 years agoBugfix: properly restore workspace containers (Thanks vals)
Michael Stapelberg [Tue, 15 Jul 2014 08:15:04 +0000 (10:15 +0200)]
Bugfix: properly restore workspace containers (Thanks vals)

fixes #1306

10 years agoHandle WM_CLASS changes
Tony Crisci [Sat, 12 Jul 2014 02:23:23 +0000 (22:23 -0400)]
Handle WM_CLASS changes

http://tronche.com/gui/x/icccm/sec-4.html

> The WM_CLASS property (of type STRING without control characters)
> contains two consecutive null-terminated strings. These specify the
> Instance and Class names to be used by both the client and the window
> manager for looking up resources for the application or as identifying
> information.

i3 processes changes to WM_CLASS by updating the cached property and
running assignments. This allows the property to be used in criteria
selection.

fixes #1052

10 years agoMerge branch 'master' into next
Michael Stapelberg [Fri, 11 Jul 2014 07:51:28 +0000 (09:51 +0200)]
Merge branch 'master' into next

10 years agoMerge branch 'fix-path'
Michael Stapelberg [Fri, 11 Jul 2014 07:51:27 +0000 (09:51 +0200)]
Merge branch 'fix-path'

10 years agoBugfix: i3-dmenu-desktop: quote path (Thanks nikolaus)
Michael Stapelberg [Fri, 11 Jul 2014 07:51:05 +0000 (09:51 +0200)]
Bugfix: i3-dmenu-desktop: quote path (Thanks nikolaus)

fixes #1316

10 years agoAlways explicitly set border widths on manage
Tony Crisci [Tue, 8 Jul 2014 01:01:14 +0000 (21:01 -0400)]
Always explicitly set border widths on manage

When a window becomes managed, explicitly set the current border width
to the default instead of relying on the default value of -1 to apply
the correct value.

Now that there are two different kinds of default borders, a border
width value of -1 is ambiguous. This can lead to different border widths
effectively being applied when the container changes from tiling to
floating, which is surprising behavior.

This commit extends behavior introduced in this commit to normal
borders:

7afe9cc78b4d22dfd5a0c5866382a0e001ea38b6

Explicitly set current border width when BS_PIXEL

fixes #1304

10 years agoMerge branch 'fix-first-line'
Michael Stapelberg [Thu, 10 Jul 2014 22:33:13 +0000 (00:33 +0200)]
Merge branch 'fix-first-line'

10 years agoMerge branch 'master' into next
Michael Stapelberg [Thu, 10 Jul 2014 22:33:13 +0000 (00:33 +0200)]
Merge branch 'master' into next

10 years agoBugfix: render bars after the first chunk of JSON (Thanks javier)
Michael Stapelberg [Thu, 10 Jul 2014 22:32:42 +0000 (00:32 +0200)]
Bugfix: render bars after the first chunk of JSON (Thanks javier)

fixes #1315

10 years agoi3bar: implement custom mouse wheel commands
Tony Crisci [Fri, 4 Jul 2014 09:53:22 +0000 (05:53 -0400)]
i3bar: implement custom mouse wheel commands

Users can specify a command to run when a button was pressed on i3bar to
override the default behavior. Currently only the mouse wheel buttons
are supported. This is useful for disabling the scroll wheel action or
running scripts that implement custom behavior for these buttons.

Example:

bar {
    wheel_up_cmd nop
    wheel_down_cmd exec ~/.i3/scripts/custom_wheel_down
}

fixes #1104

10 years agoHandle EWMH requests to change current desktop
Tony Crisci [Fri, 4 Jul 2014 09:39:07 +0000 (05:39 -0400)]
Handle EWMH requests to change current desktop

This request is used by pagers and bars to change the current
desktop likely as a result of some user action. We interpret this as
a request to focus the given workspace.

for more information see:

http://standards.freedesktop.org/wm-spec/latest/ar01s03.html#idm140251368135008

10 years agobugfix: default floating border regression
Tony Crisci [Mon, 7 Jul 2014 22:42:15 +0000 (18:42 -0400)]
bugfix: default floating border regression

Fixes a bug where a normal floating default border is not applied when
the default tiling border is set to a pixel value.

This bug was introduced in this commit:

43b447855df095c56e860117d53acd0dd09ac42b

Consider motif border for floating geometry

Fixes a comment that claimed default floating border could override
motif hints, which was never the case.

fixes #1305

10 years agoAdd testcase for EWMH desktop viewport
Tony Crisci [Sun, 6 Jul 2014 21:26:16 +0000 (17:26 -0400)]
Add testcase for EWMH desktop viewport

Test that the EWMH specified property _NET_DESKTOP_VIEWPORT is updated
properly on the root window. We interpret this as a list of x/y
coordinate pairs for the upper left corner of the respective outputs of
the workspaces.

This test is for this commit:

feature: implement ewmh desktop viewport property

4205973135f28a0ab0e25a63dbc8c6fff0d3539e

10 years agotests: include error message when unable to create a FIFO
Michael Stapelberg [Thu, 10 Jul 2014 20:30:45 +0000 (22:30 +0200)]
tests: include error message when unable to create a FIFO

I have seen this message once or twice, but since the actual error
message was not included, I cannot definitely say what’s going on.

I think it might be a race condition where the file with the specified
tmpname() already exists, but let’s be sure before we attempt to fix it.

10 years agoAdd link to git repository in hacking docs
Tony Crisci [Sat, 5 Jul 2014 14:38:46 +0000 (10:38 -0400)]
Add link to git repository in hacking docs

10 years agoAdd testcase for EWMH desktop names
Tony Crisci [Sat, 5 Jul 2014 13:57:33 +0000 (09:57 -0400)]
Add testcase for EWMH desktop names

Test that the EWMH specified property _NET_DESKTOP_NAMES is updated
properly on the root window. We interpret this as a list of the open
workspace names.

This test is for this commit:

Implement EWMH desktop names

a9c094b7313b48491c182a5da1194a0bb06747aa

10 years agoMake absolute floating move work with criteria
Tony Crisci [Tue, 1 Jul 2014 06:12:28 +0000 (02:12 -0400)]
Make absolute floating move work with criteria

Make commands of type `move [window|container] [to] [absolute] position
<px> [px] <px> [px]` work with command selection criteria.

fixes #1301

10 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 2 Jul 2014 17:06:01 +0000 (19:06 +0200)]
Merge branch 'master' into next

10 years agoMerge branch 'fix-i3bar-colors'
Michael Stapelberg [Wed, 2 Jul 2014 17:02:31 +0000 (19:02 +0200)]
Merge branch 'fix-i3bar-colors'

10 years agoUse FREE macro for freeing colors
Tony Crisci [Wed, 2 Jul 2014 03:17:02 +0000 (23:17 -0400)]
Use FREE macro for freeing colors

This macro will set the colors to NULL which avoids a double free on
reload when colors that were unconfigured become configured.

fixes #1299

10 years agoBugfix: _NET_SUPPORTED property fixes
Tony Crisci [Tue, 1 Jul 2014 00:40:31 +0000 (20:40 -0400)]
Bugfix: _NET_SUPPORTED property fixes

Fix a typing mistake that may cause _NET_SUPPORTED root property to
become corrupted.

This bug was introduced in:

Implement EWMH number of desktops property

http://code.stapelberg.de/git/i3/commit/?h=next&id=b47f480728a6d053c117e4b99ee4c78d99ba6a71

Additionally adds one missing atom to _NET_SUPPORTED.

fixes #1298

10 years agoMerge branch 'revert-warp'
Michael Stapelberg [Sat, 28 Jun 2014 11:05:40 +0000 (13:05 +0200)]
Merge branch 'revert-warp'

10 years agoMerge branch 'master' into next
Michael Stapelberg [Sat, 28 Jun 2014 11:05:40 +0000 (13:05 +0200)]
Merge branch 'master' into next

10 years agoRevert "Disable render-time pointer warps if asked"
Michael Stapelberg [Sat, 28 Jun 2014 11:04:52 +0000 (13:04 +0200)]
Revert "Disable render-time pointer warps if asked"

This reverts commit b109b1b20dd51401dc929407453d3acdd8ff5566.

Turns out the change in behavior was unexpected by a number of users, so
let’s revert it and make those users that want this behavior configure
it explicitly.

Sorry for the back-and-forth here.

10 years agoMerge branch 'master' into next
Michael Stapelberg [Sat, 28 Jun 2014 11:01:48 +0000 (13:01 +0200)]
Merge branch 'master' into next

10 years agoMerge branch 'fix-width'
Michael Stapelberg [Sat, 28 Jun 2014 11:01:28 +0000 (13:01 +0200)]
Merge branch 'fix-width'

10 years agoExplicitly set current border width when BS_PIXEL
Tony Crisci [Sat, 28 Jun 2014 01:20:12 +0000 (21:20 -0400)]
Explicitly set current border width when BS_PIXEL

When a window becomes managed, if the config specifies a pixel border
style, explicitly set the current border width so it does not change
when the container changes from tiling to floating.

fixes #1266

10 years agoMerge branch 'master' into next
Michael Stapelberg [Fri, 27 Jun 2014 07:05:32 +0000 (09:05 +0200)]
Merge branch 'master' into next

10 years agoMerge branch 'fix-restart'
Michael Stapelberg [Fri, 27 Jun 2014 07:05:32 +0000 (09:05 +0200)]
Merge branch 'fix-restart'

10 years agoBugfix: create the directory for storing the restart state (Thanks hjem)
Michael Stapelberg [Fri, 27 Jun 2014 07:04:51 +0000 (09:04 +0200)]
Bugfix: create the directory for storing the restart state (Thanks hjem)

fixes #1303

10 years agocleanup: src/i3.mk: add XKB_COMMON_CFLAGS when compiling i3
Michael Stapelberg [Wed, 25 Jun 2014 15:58:16 +0000 (17:58 +0200)]
cleanup: src/i3.mk: add XKB_COMMON_CFLAGS when compiling i3

10 years agolibxkbcommon 0.4.0 is required, 0.2.0 is too old (Thanks Mii)
Michael Stapelberg [Wed, 25 Jun 2014 15:57:48 +0000 (17:57 +0200)]
libxkbcommon 0.4.0 is required, 0.2.0 is too old (Thanks Mii)

fixes #1295

10 years agoMerge branch 'fix-i3-save-tree-unicode-args'
Michael Stapelberg [Wed, 25 Jun 2014 08:00:59 +0000 (10:00 +0200)]
Merge branch 'fix-i3-save-tree-unicode-args'

10 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 25 Jun 2014 08:00:59 +0000 (10:00 +0200)]
Merge branch 'master' into next

10 years agoBugfix: interpret commandline parameters as utf-8
Michael Stapelberg [Wed, 25 Jun 2014 08:00:23 +0000 (10:00 +0200)]
Bugfix: interpret commandline parameters as utf-8

fixes #1293

10 years agoMerge branch 'log-dpi'
Michael Stapelberg [Tue, 24 Jun 2014 07:57:05 +0000 (09:57 +0200)]
Merge branch 'log-dpi'

10 years agoMerge branch 'master' into next
Michael Stapelberg [Tue, 24 Jun 2014 07:57:05 +0000 (09:57 +0200)]
Merge branch 'master' into next

10 years agoadd log messages for the detected DPI
Michael Stapelberg [Tue, 24 Jun 2014 07:56:31 +0000 (09:56 +0200)]
add log messages for the detected DPI

Currently, the DPI is only logged when pango fonts are used, which is
often not the case when people report problems with the DPI detection.

10 years agoHandle WM_CHANGE_STATE requests for iconic state
Tony Crisci [Wed, 18 Jun 2014 08:23:00 +0000 (04:23 -0400)]
Handle WM_CHANGE_STATE requests for iconic state

http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.4

 > IconicState - The client's top-level window is iconic (whatever that
 > means for this window manager). The client can assume that its
 > top-level window is not viewable, its icon_window (if any) will be
 > viewable and, failing that, its icon_pixmap (if any) or its
 > WM_ICON_NAME will be displayed.

For these requests, we just close the window.

fixes #1279

10 years agoremove unneeded render on map request
Tony Crisci [Mon, 16 Jun 2014 06:34:22 +0000 (02:34 -0400)]
remove unneeded render on map request

manage_window() will call tree_render() when appropriate, so pushing
changes to X here is not needed.

10 years agoremove unneeded render on unmap
Tony Crisci [Mon, 16 Jun 2014 06:31:03 +0000 (02:31 -0400)]
remove unneeded render on unmap

tree_render() will call x_push_changes(), so calling it afterward is not
needed.

10 years agoConsider motif border for floating geometry
Tony Crisci [Fri, 20 Jun 2014 11:26:36 +0000 (07:26 -0400)]
Consider motif border for floating geometry

When calculating the geometry of a floating window with motif hints that
specify a border style, take into account that this window will have a
different border style when calculating its position with
floating_enable() when the window becomes managed.

A nice side effect of this is that users can override motif hints with
`new_float` config directives when they are specified other than
`normal`.

fixes #1270

10 years agoCross-output focus focus floating exception
Tony Crisci [Fri, 20 Jun 2014 09:19:30 +0000 (05:19 -0400)]
Cross-output focus focus floating exception

Focusing across outputs with `focus [direction]` should focus an
existing floating con when no tiling con exists on the output in
[direction].

10 years agoImplement the window::urgent event
Tony Crisci [Fri, 20 Jun 2014 12:33:02 +0000 (08:33 -0400)]
Implement the window::urgent event

The window::urgent event is emitted when a container becomes urgent or
loses its urgent status.

10 years agoImplement EWMH desktop names
Tony Crisci [Mon, 23 Jun 2014 21:44:24 +0000 (17:44 -0400)]
Implement EWMH desktop names

Maintain the _NET_DESKTOP_NAMES property on the root window.

http://standards.freedesktop.org/wm-spec/latest/ar01s03.html#idm140251368131760

> _NET_DESKTOP_NAMES
>
> _NET_DESKTOP_NAMES, UTF8_STRING[]
>
> The names of all virtual desktops. This is a list of NULL-terminated
> strings in UTF-8 encoding [UTF8]. This property MAY be changed by a
> Pager or the Window Manager at any time.

10 years agoMerge branch 'master' into next
Michael Stapelberg [Tue, 24 Jun 2014 07:01:59 +0000 (09:01 +0200)]
Merge branch 'master' into next

10 years agoMerge branch 'fix-focus-unmapped'
Michael Stapelberg [Tue, 24 Jun 2014 07:01:39 +0000 (09:01 +0200)]
Merge branch 'fix-focus-unmapped'

10 years agoBugfix: don't focus unmapped container on manage
Tony Crisci [Mon, 23 Jun 2014 21:25:23 +0000 (17:25 -0400)]
Bugfix: don't focus unmapped container on manage

A window may become unmapped on manage when an assignment command unmaps
the window, such as moving it to the scratchpad or killing it.

This can cause i3 focus to be an unmapped window and different than X
focus which can lead to complications

fixes #1283

10 years agoWorkspace command number selection
Tony Crisci [Sun, 22 Jun 2014 16:24:26 +0000 (12:24 -0400)]
Workspace command number selection

If a `workspace {N}` or `move to workspace {N}` command is given with N
as a plain number, the workspace of this number is selected for the
context of the command if one exists and there is no workspace with a
name that exactly matches N.

10 years agofeature: implement ewmh desktop viewport property
Tony Crisci [Sun, 22 Jun 2014 19:20:14 +0000 (15:20 -0400)]
feature: implement ewmh desktop viewport property

Set and update the _NET_DESKTOP_VIEWPORT property

http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#idm140146176862048

> _NET_DESKTOP_VIEWPORT x, y, CARDINAL[][2]/32
> Array of pairs of cardinals that define the top left corner of each
> desktop's viewport.

10 years agofix src/commands.c with clang-format
Michael Stapelberg [Mon, 23 Jun 2014 19:29:42 +0000 (21:29 +0200)]
fix src/commands.c with clang-format

10 years agoImplement the window::floating event
Tony Crisci [Fri, 20 Jun 2014 11:44:08 +0000 (07:44 -0400)]
Implement the window::floating event

The window::floating event should be emitted when a window transitions
to or from the floating state.

10 years agoMake command `move [direction]` work with criteria
Tony Crisci [Thu, 19 Jun 2014 12:09:31 +0000 (08:09 -0400)]
Make command `move [direction]` work with criteria

A container selected with criteria should be moved with the `move
[direction]` command, instead of this command always acting on the
focused container.

10 years agoConsistently parse workspace numbers
Tony Crisci [Sun, 22 Jun 2014 15:12:51 +0000 (11:12 -0400)]
Consistently parse workspace numbers

Use ws_name_to_number() to parse workspace numbers where this
transformation takes place.

10 years agoDEPENDS: add libxkbcommon{,-x11}, update lkgv (Thanks okraits)
Michael Stapelberg [Sun, 22 Jun 2014 12:42:28 +0000 (14:42 +0200)]
DEPENDS: add libxkbcommon{,-x11}, update lkgv (Thanks okraits)

10 years agoSwitch to xcb-xkb and libxkbcommon
Michael Stapelberg [Thu, 2 Jan 2014 07:40:03 +0000 (08:40 +0100)]
Switch to xcb-xkb and libxkbcommon

This removes our last dependency on Xlib! :)

(Okay, an Xlib dependency still comes in through other libraries that we
 link against, but it’s not us. Our code is simpler by this change and
 uses one less connection to X11.)

10 years agoImplement the window::move event
Tony Crisci [Thu, 19 Jun 2014 08:58:03 +0000 (04:58 -0400)]
Implement the window::move event

The window::move event should be emitted when the window moves position
in the tree.

10 years agoImplement the window::close event
Tony Crisci [Thu, 19 Jun 2014 07:17:52 +0000 (03:17 -0400)]
Implement the window::close event

The window::close event should be emitted when a window closes.

10 years agoFeature: implement mouse bindings
Tony Crisci [Tue, 17 Jun 2014 13:34:13 +0000 (09:34 -0400)]
Feature: implement mouse bindings

A configured mouse binding (for example `bindsym button3 kill`) runs
its command when the mouse button is pressed over parts of a container.

If the binding has no modifer, it will only run when the button is
clicked on the window titlebar.

Otherwise if the binding has a modifier, it will run over the titlebar
or any part of the contained window.

fixes #558

10 years agotests: explicitly set input hint
Michael Stapelberg [Thu, 19 Jun 2014 10:17:05 +0000 (12:17 +0200)]
tests: explicitly set input hint

Since i3 honors the “Globally Active Input” focus model, we need to
explicitly state that we are not using that in our testcases :).

This requires X11::XCB from git to work (commit
71b25dcaafc509e710b8fd7de20c97ac3549fc39).

10 years agobugfix: don't set input focus if not accepted
Tony Crisci [Tue, 17 Jun 2014 06:49:39 +0000 (02:49 -0400)]
bugfix: don't set input focus if not accepted

http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.7

> Clients using the Globally Active model can only use a SetInputFocus request
> to acquire the input focus when they do not already have it on receipt of one
> of the following events:
> * ButtonPress
> * ButtonRelease
> * Passive-grabbed KeyPress
> * Passive-grabbed KeyRelease

Since managing a window happens on a MapNotify (which is absent from this
list), the window cannot accept input focus, so we should not try to focus
the window at all.

Fixes an issue with xfce4-notifyd which (correctly) declines focus when
we send WM_TAKE_FOCUS, which puts i3 in a state where i3 focus and X
focus are different when a notification appears.

10 years agoImplement EWMH number of desktops property
Tony Crisci [Mon, 16 Jun 2014 06:50:47 +0000 (02:50 -0400)]
Implement EWMH number of desktops property

_NET_NUMBER_OF_DESKTOPS:

> This property SHOULD be set and updated by the Window Manager to
> indicate the number of virtual desktops.

We interpret this property as the number of noninternal workspaces.

10 years agoclang-format-3.5 **/*.h **/*.c
Michael Stapelberg [Thu, 19 Jun 2014 09:20:32 +0000 (11:20 +0200)]
clang-format-3.5 **/*.h **/*.c

This should be the last commit that formats a big bunch of files. From
here on, whenever I merge patches, I’ll run clang-format like described
in the title.

10 years agoclang-format: don’t define ForeachMacros
Michael Stapelberg [Thu, 19 Jun 2014 09:17:46 +0000 (11:17 +0200)]
clang-format: don’t define ForeachMacros

Otherwise clang-formatting **/*.h breaks include/queue.h

10 years agouserguide: document exit confirmation dialog
Tony Crisci [Sun, 15 Jun 2014 04:21:33 +0000 (00:21 -0400)]
userguide: document exit confirmation dialog

In the section "Exiting i3", document the confirmation dialog (nagbar)
that will show when the user presses the default keys to exit in such a
way to hint that it is configurable.

10 years agodocs: fix ipc library list formatting
Tony Crisci [Sat, 14 Jun 2014 00:06:22 +0000 (20:06 -0400)]
docs: fix ipc library list formatting

10 years agodebian: add placeholder changelog entry
Michael Stapelberg [Sun, 15 Jun 2014 17:37:38 +0000 (19:37 +0200)]
debian: add placeholder changelog entry

10 years agodebian: bump standards-version to 3.9.5 (no changes necessary)
Michael Stapelberg [Sun, 15 Jun 2014 17:37:03 +0000 (19:37 +0200)]
debian: bump standards-version to 3.9.5 (no changes necessary)

10 years agodebian: install i3-save-tree(1) manpage
Michael Stapelberg [Sun, 15 Jun 2014 17:36:54 +0000 (19:36 +0200)]
debian: install i3-save-tree(1) manpage

10 years agodebian: update changelog
Michael Stapelberg [Sun, 15 Jun 2014 17:15:44 +0000 (19:15 +0200)]
debian: update changelog

10 years agoMerge branch 'next'
Michael Stapelberg [Sun, 15 Jun 2014 17:14:36 +0000 (19:14 +0200)]
Merge branch 'next'

10 years agoMerge branch 'release-4.8' into next
Michael Stapelberg [Sun, 15 Jun 2014 17:14:25 +0000 (19:14 +0200)]
Merge branch 'release-4.8' into next

10 years agoman: bump version to 4.8 4.8
Michael Stapelberg [Sun, 15 Jun 2014 17:12:16 +0000 (19:12 +0200)]
man: bump version to 4.8

10 years agoformat **/*.c with clang-format-3.5
Michael Stapelberg [Sun, 15 Jun 2014 17:07:02 +0000 (19:07 +0200)]
format **/*.c with clang-format-3.5

This has multiple effects:

1) The i3 codebase is now consistently formatted. clang-format uncovered
   plenty of places where inconsistent code made it into our code base.

2) When writing code, you don’t need to think or worry about our coding
   style. Write it in yours, then run clang-format-3.5

3) When submitting patches, we don’t need to argue about coding style.

The basic idea is that we don’t want to care about _how_ we write the
code, but _what_ it does :). The coding style that we use is defined in
the .clang-format config file and is based on the google style, but
adapted in such a way that the number of modifications to the i3 code
base is minimal.

10 years agoadd .clang-format, to be used with clang-format-3.5
Michael Stapelberg [Sun, 15 Jun 2014 17:05:01 +0000 (19:05 +0200)]
add .clang-format, to be used with clang-format-3.5

10 years agodelete old release notes
Michael Stapelberg [Sun, 15 Jun 2014 16:27:03 +0000 (18:27 +0200)]
delete old release notes

10 years agoadd release notes for v4.8
Michael Stapelberg [Sun, 15 Jun 2014 16:26:40 +0000 (18:26 +0200)]
add release notes for v4.8

10 years agoman/i3.man: update to contain new default font
Michael Stapelberg [Sun, 15 Jun 2014 16:18:44 +0000 (18:18 +0200)]
man/i3.man: update to contain new default font

10 years agoBugfix: don’t overwrite the window’s geometry after restarting
Michael Stapelberg [Fri, 13 Jun 2014 20:29:24 +0000 (22:29 +0200)]
Bugfix: don’t overwrite the window’s geometry after restarting

fixes #1263

10 years agoBugfix: ensure floating windows don’t drop out of fullscreen when restarting
Michael Stapelberg [Fri, 13 Jun 2014 20:26:06 +0000 (22:26 +0200)]
Bugfix: ensure floating windows don’t drop out of fullscreen when restarting

fixes #1263

10 years agoBugfix: don’t errnously render floating fullscreen windows during restart
Michael Stapelberg [Fri, 13 Jun 2014 20:21:00 +0000 (22:21 +0200)]
Bugfix: don’t errnously render floating fullscreen windows during restart

fixes #1263

10 years agoBugfix: don’t overwrite the original size of floating windows when changing border...
Michael Stapelberg [Fri, 13 Jun 2014 20:18:36 +0000 (22:18 +0200)]
Bugfix: don’t overwrite the original size of floating windows when changing border style

fixes #1263

10 years agoalso change the default font in i3.config.keycodes
Michael Stapelberg [Fri, 13 Jun 2014 18:02:34 +0000 (20:02 +0200)]
also change the default font in i3.config.keycodes

10 years agodefault config: use `set` for directions
Tony Crisci [Thu, 12 Jun 2014 23:34:57 +0000 (19:34 -0400)]
default config: use `set` for directions

Using `set` for direction letter keys makes them easier to configure for
users who prefer traditional vim-style directions.

10 years agofix warning: use size_t when comparing against strlen()
Michael Stapelberg [Thu, 12 Jun 2014 19:24:29 +0000 (21:24 +0200)]
fix warning: use size_t when comparing against strlen()

10 years agohandle windows whose WM_TRANSIENT_FOR points to themselve
Michael Stapelberg [Thu, 12 Jun 2014 19:16:45 +0000 (21:16 +0200)]
handle windows whose WM_TRANSIENT_FOR points to themselve

I consider this behavior broken and not respecting the standard, but it
happens in real life, and it’s better for i3 to not busy-loop in such a
situation :).

fixes #1259

10 years agoRevert "Rerender on button press only when focus changes"
Michael Stapelberg [Thu, 12 Jun 2014 19:01:06 +0000 (21:01 +0200)]
Revert "Rerender on button press only when focus changes"

This reverts commit b714878f52ef7c175699ed831c5925a577621f5a.

That commit introduced a regression: clicking on floating windows would
no longer raise them reliably.

fixes #1260

10 years agoBugfix: Set input focus with last timestamp
Tony Crisci [Thu, 12 Jun 2014 05:33:33 +0000 (01:33 -0400)]
Bugfix: Set input focus with last timestamp

Setting input focus with the last event timestamp prevents race
conditions when setting focus.

fixes #1127