]> git.sur5r.net Git - i3/i3/log
i3/i3
10 years agoi3bar: Group child processes for signalling
Tony Crisci [Sun, 1 Dec 2013 06:37:43 +0000 (01:37 -0500)]
i3bar: Group child processes for signalling

Set the process group id of the child process by calling `setpgid` after
forking and before calling `exec`.

The process group ID will be set to the process ID of the forked
process. Processes spawned by this child process will also have this
group ID.

Send signals to the process group with `killpg`. This will send the
signal to all of the process group.

fixes #1128

10 years agoRemove flex/bison from common.mk since they aren't used anymore
Jean-Philippe Ouellet [Wed, 27 Nov 2013 04:13:30 +0000 (23:13 -0500)]
Remove flex/bison from common.mk since they aren't used anymore

10 years agoi3bar: Realign tray clients on map/unmap notify
Tony Crisci [Sun, 24 Nov 2013 04:09:01 +0000 (23:09 -0500)]
i3bar: Realign tray clients on map/unmap notify

UnmapNotify events are interpreted by i3bar as an action taken by an
application to hide its tray window. Likewise, MapNotify events are
interpreted as an action taken by by an application to show its tray
window.

The actual cause of these events may be the application itself, or the
result of some action taken by i3bar itself at the request of the
application in the course of the XEmbed protocol.

We respond by adjusting the size of the tray window and realigning any
tray clients that remain. This will make room for the mapping window or
close the gap left by the unmapping window when the bar is redrawn.

fixes #1110

11 years agolibi3/root_atom_contents: handle data of arbitrary length
Lancelot SIX [Sat, 23 Nov 2013 11:03:55 +0000 (12:03 +0100)]
libi3/root_atom_contents: handle data of arbitrary length

Handle data fetched from xcb_get_property_unchecked with arbitrary
length. This avoids having to rely on PATH_MAX macro where it is not
necessary.

11 years agoignore symbol files on OS X (only for debugging, breaks git-add -A)
Jean-Philippe Ouellet [Tue, 26 Nov 2013 10:50:35 +0000 (05:50 -0500)]
ignore symbol files on OS X (only for debugging, breaks git-add -A)

11 years agofix the build on OS X
Jean-Philippe Ouellet [Tue, 26 Nov 2013 10:41:56 +0000 (05:41 -0500)]
fix the build on OS X

OS X doesn't have posix_fallocate() yet, so put
bf760d0241f0f078735e230b4bf6da4fc83368fe in
    #if defined(__APPLE__)

the cd fails with:
    /bin/sh: line 0: cd: include: No such file or directory
so give it a path relative to the top directory

11 years agolibi3/root_atom_contents: Free xcb reply structures
Lancelot SIX [Sat, 23 Nov 2013 10:56:28 +0000 (11:56 +0100)]
libi3/root_atom_contents: Free xcb reply structures

Free memory allocated during xcb calls.

11 years agoRemove references to PATH_MAX macro
Lancelot SIX [Thu, 21 Nov 2013 21:03:49 +0000 (22:03 +0100)]
Remove references to PATH_MAX macro

Since the macro PATH_MAX is not defined on every system (GNU/Hurd being
one of those who do not define it), we remove all references to this
macro. Instead, we use a buffer of arbitraty size and grow it when
needed to contain paths.

11 years agopersist root window’s background contents to a pixmap
Michael Stapelberg [Sun, 24 Nov 2013 12:44:30 +0000 (13:44 +0100)]
persist root window’s background contents to a pixmap

The commit title is fairly technical, so I’ll try to explain.

Recently, users of GDM3 (I’m sure) and LightDM (I think) have reported
that when switching to a new workspace, the contents of the previous
workspace are still visible. i3bar updates, though, so it is the X11
root window which is not being updated here.

When using GDM3, X11 will be started with -background none, and no
background pixmap or pixel is set. Then, apparently,
gnome-settings-daemon will display a fade animation from whatever is
currently on the window to the destination contents. I think this is to
avoid flickering when logging in, which would occur when just setting a
specific background pixmap or pixel.

So, this commit will, when i3 starts first (not on restarts), copy the
contents of the X11 root window (typicall a grey background, at least on
my machine with GDM3) into a pixmap and set that pixmap as background
pixmap. That way, the content will be preserved and one has a
background, instead of what is perceived as a bug :).

This commit has some chance of breakage, so I’m prepared to revert it
unless we can figure out the issues and roll forward.

11 years agoi3bar: Handle DestroyNotify events
Tony Crisci [Sat, 23 Nov 2013 02:22:56 +0000 (21:22 -0500)]
i3bar: Handle DestroyNotify events

Handle DestroyNotify events by removing the tray client from the tray
client list held in memory.

This change is intended to be part of the i3bar's implementation of the
XEmbed protocol. For more information, see:

<http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html>

According to the XEmbed protocol specification, this is one way for a
tray client to finish the protocol. After this event is received, i3bar
should have no more interaction with the tray client.

11 years agoMerge branch 'master' into next
Michael Stapelberg [Fri, 22 Nov 2013 16:09:28 +0000 (17:09 +0100)]
Merge branch 'master' into next

11 years agoMerge branch 'fix-urgent-crash'
Michael Stapelberg [Fri, 22 Nov 2013 16:09:28 +0000 (17:09 +0100)]
Merge branch 'fix-urgent-crash'

11 years agoRemove-child callback skips output content cons
Tony Crisci [Fri, 22 Nov 2013 15:00:49 +0000 (10:00 -0500)]
Remove-child callback skips output content cons

Every container 'above' (in the hierarchy) the workspace content should
not be closed when the last child was removed.

Add a check for output content containers and do not handle them. These
cons are at the root of the output container with dockarea siblings.
They may be run through this callback when an output is killed with
RandR.

Fixes an issue that caused content cons to become urgent when the output
is killed with RandR.

fixes: #1121

11 years agomake i3bar use libi3’s root_atom_contents()
Michael Stapelberg [Fri, 22 Nov 2013 14:48:45 +0000 (15:48 +0100)]
make i3bar use libi3’s root_atom_contents()

This removes code duplication, which will be useful for a subsequent
commit.

Furthermore, we now don’t open X11 connections unnecessarily in some
corner cases.

11 years agot/516-move: use window id, fix typo
Michael Stapelberg [Tue, 19 Nov 2013 19:28:32 +0000 (20:28 +0100)]
t/516-move: use window id, fix typo

11 years agoCommand 'move <direction>' moves across outputs
Tony Crisci [Wed, 13 Nov 2013 08:39:32 +0000 (03:39 -0500)]
Command 'move <direction>' moves across outputs

When 'move <direction>' is issued in the context of a container that
borders a workspace, and there is no suitable place within this
workspace for which this container can move, move the container to the
closest output in this direction instead.

11 years agorefactor previous commit’s new code into a function, add log message
Michael Stapelberg [Mon, 18 Nov 2013 22:17:44 +0000 (23:17 +0100)]
refactor previous commit’s new code into a function, add log message

11 years agolibi3/font: Set DPI for the pango context
Bas Pape [Wed, 13 Nov 2013 19:23:35 +0000 (20:23 +0100)]
libi3/font: Set DPI for the pango context

The pango font specification accepts a font size in points, but pango
defaults to a DPI of 96. Create a default PangoContext (which
internally creates a default PangoCairoFontMap as usual) and set the
DPI to the value of the root Screen manually.

Fixes #1115

11 years agoUpdate userguide on multiple criteria
Trung Ngo [Sun, 10 Nov 2013 09:10:17 +0000 (16:10 +0700)]
Update userguide on multiple criteria

Change wording, add an example for multiple criteria and move
the sentence explaining the Firefox example into the code listing
block.

11 years agoAdd sensible discretion to UnmapNotify drag abort
Tony Crisci [Sat, 9 Nov 2013 17:51:44 +0000 (12:51 -0500)]
Add sensible discretion to UnmapNotify drag abort

Only abort a drag action on UnmapNotify when the unmapping window is
managed on the current workspace.

fixes #1108

11 years agoi3bar: Simplify hide mode logic
Tony Crisci [Wed, 30 Oct 2013 04:16:13 +0000 (00:16 -0400)]
i3bar: Simplify hide mode logic

When determining whether to hide or unhide the bar on redraw in hide
mode, use simpler rules. When the config specifies the 'show' state or a
workspace is urgent, or if the caller requests it, or the modifier is
pressed, show the bar. Otherwise, hide the bar.

11 years agoReturn DRAG_ABORT on UnmapNotify from drag_pointer
Tony Crisci [Fri, 1 Nov 2013 00:36:31 +0000 (20:36 -0400)]
Return DRAG_ABORT on UnmapNotify from drag_pointer

Add DRAG_ABORT to enum drag_result_t. DRAG_ABORT will indicate the drag
operation cannot be completed.

Return DRAG_ABORT on UnmapNotify, or when the keyboard or pointer cannot
be grabbed.

Add DRAGGING to return value for drag_result_t. DRAGGING is used
internally by drag_pointer to indicate the drag is in progress.

Change DRAG_CANCEL to DRAG_REVERT to clarify the distinction between
"abort" and "revert/cancel" actions.

Fixes an issue that caused i3 to crash when a user is dragging or
resizing a floating window that becomes destroyed.

11 years agoUse _PATH_BSHELL to ensure using a bourne shell
Baptiste Daroussin [Fri, 8 Nov 2013 20:13:35 +0000 (21:13 +0100)]
Use _PATH_BSHELL to ensure using a bourne shell

[Michael]
This commit should fix problems with people using a non-bourne shell as
login shell, e.g. fish or rc. AFAICT, $SHELL should only be used for
interactive shells, but we just want a bourne shell, not an interactive
shell.

11 years agoUpdate comment for the con_toggle_fullscreen method
jj [Tue, 22 Oct 2013 12:12:24 +0000 (14:12 +0200)]
Update comment for the con_toggle_fullscreen method

11 years agoFix output retrieval for floating cons
jj [Tue, 22 Oct 2013 11:17:23 +0000 (13:17 +0200)]
Fix output retrieval for floating cons

When focusing/moving to outputs, the method of getting the correct
output for a given container fails if the container in question is
floating and only partially mapped on an output screen. This patch
introduces a fail-safe retrieval of the output for any container.

11 years agoAdd `.clang_complete` and `Xdummy.so` to gitignore
Tony Crisci [Wed, 23 Oct 2013 16:57:32 +0000 (12:57 -0400)]
Add `.clang_complete` and `Xdummy.so` to gitignore

Adds two files to gitignore.

`.clang_complete` is created by the clang_complete vim plugin
[https://github.com/Rip-Rip/clang_complete]

`Xdummy.so` is created by compiling the Xdummy module.

11 years agoi3bar: Only configure tray on own outputs
Tony Crisci [Sun, 20 Oct 2013 11:51:50 +0000 (07:51 -0400)]
i3bar: Only configure tray on own outputs

If the config specifies a `tray_output` not in the list of outputs over
which this bar will span, do not initialize a tray for the bar.

Fixes former behavior, which was to initialize the tray without showing
the icons, causing disapearing tray icons in multi-monitor environments
when `tray_output` isnt `output`.

11 years agoAssigned windows open urgent when not visible
Tony Crisci [Thu, 17 Oct 2013 02:44:56 +0000 (22:44 -0400)]
Assigned windows open urgent when not visible

When i3 begins to manage a window, if the window opens on a workspace
that is not visible, the urgency hint on the newly managed window will
be set.

fixes #1088

11 years agoTestcases: Use AnyEvent::I3 version 0.15
Tony Crisci [Sat, 19 Oct 2013 00:02:17 +0000 (20:02 -0400)]
Testcases: Use AnyEvent::I3 version 0.15

Use the latest version of AnyEvent::I3, version 0.15, which includes
support for the `window` event tag.

11 years agoTestcases: new-test prints usage without input
Tony Crisci [Thu, 17 Oct 2013 11:20:35 +0000 (07:20 -0400)]
Testcases: new-test prints usage without input

Prevent the accidental creation of new tests with empty names by
printing usage information for new-test when the test name would be
empty.

11 years agoTestcases: remove "latest" if it is a symbolic link
Tony Crisci [Tue, 15 Oct 2013 07:36:12 +0000 (03:36 -0400)]
Testcases: remove "latest" if it is a symbolic link

Test for the existence of the symlink to "latest" with the -l flag,
which tests if the target is a symbolic link. Testing with the -e flag
will fail in case the link points to a file that does not exist, which
will occur if the test result directories are deleted by hand.

11 years agoCorrect typos in user guide
Alexander Neumann [Sun, 13 Oct 2013 20:52:01 +0000 (22:52 +0200)]
Correct typos in user guide

11 years agoFix command parser: resizing tiling windows
jj [Wed, 9 Oct 2013 20:30:41 +0000 (22:30 +0200)]
Fix command parser: resizing tiling windows

i3 would accept an invalid resize command like 'resize shrink width 10
px or' without specifying the ppt value, and then crash. This patch
fixes the parser specification.

11 years agoi3-nagbar: Set button inner-width to the width of the label
Tony Crisci [Mon, 7 Oct 2013 16:06:28 +0000 (12:06 -0400)]
i3-nagbar: Set button inner-width to the width of the label

Use predict_text_width to find the width of the label and then account
for right padding when calculating the width of the button.

11 years agoprevious commit: extend test and code to also work with floating windows
Michael Stapelberg [Sun, 13 Oct 2013 15:57:50 +0000 (17:57 +0200)]
previous commit: extend test and code to also work with floating windows

11 years agoFix endless loop when trying to kill a visible workspace
jj [Fri, 11 Oct 2013 18:12:05 +0000 (20:12 +0200)]
Fix endless loop when trying to kill a visible workspace

This regression was introduced with commit
97b086efd9833d2a787e54417789b279143e43a6

fixes #1103

11 years agoTestcases: ignore Xorg config dir when starting Xdummy
Tony Crisci [Fri, 11 Oct 2013 19:52:25 +0000 (15:52 -0400)]
Testcases: ignore Xorg config dir when starting Xdummy

Start Xdummy with '-configdir /dev/null' to avoid conflicting settings
in xorg.conf.d.

11 years agoUpdate docs/hacking-howto to reflect parser changes
Peter Maatman [Fri, 11 Oct 2013 20:54:37 +0000 (22:54 +0200)]
Update docs/hacking-howto to reflect parser changes

11 years agoAdd quoting for sample command
Alexander Neumann [Sun, 13 Oct 2013 13:18:20 +0000 (15:18 +0200)]
Add quoting for sample command

The user's guide talks about renaming workspaces, for example to
"2: mail", and a sample key binding for use with i3-input is supplied.
However, this example lacks proper quoting for the format string, so
that when workspace name with a space in it, like "2: mail", is given,
the current workspace is renamed to "2:". This patch adds proper
quoting.

11 years agoMerge branch 'fix-extents'
Michael Stapelberg [Wed, 9 Oct 2013 17:49:48 +0000 (19:49 +0200)]
Merge branch 'fix-extents'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 9 Oct 2013 17:49:48 +0000 (19:49 +0200)]
Merge branch 'master' into next

11 years agoReply to _NET_REQUEST_FRAME_EXTENTS correctly
Tony Crisci [Wed, 9 Oct 2013 16:49:15 +0000 (12:49 -0400)]
Reply to _NET_REQUEST_FRAME_EXTENTS correctly

Reply to _NET_REQUEST_FRAME_EXTENTS by settings _NET_FRAME_EXTENTS
property of the window to widths of the respective borders added by i3.

fixes #1093
fixes #1069

11 years agoOnly abort resizing on KeyPress, not KeyRelease (Thanks vandannen)
Michael Stapelberg [Tue, 1 Oct 2013 05:21:40 +0000 (07:21 +0200)]
Only abort resizing on KeyPress, not KeyRelease (Thanks vandannen)

Otherwise, releasing a key that was used to trigger the resizing (e.g.
the modifier key) needs to be pressed all the time.

11 years agoDo not resize/reposition floating containers when moving them to scratchpad
jj [Fri, 27 Sep 2013 09:03:52 +0000 (11:03 +0200)]
Do not resize/reposition floating containers when moving them to scratchpad

11 years agoAdd ability to escape out of a mouse-resize operation
Tony Crisci [Thu, 26 Sep 2013 00:52:59 +0000 (20:52 -0400)]
Add ability to escape out of a mouse-resize operation

Implement #1074. drag_cancel grabs the keyboard and returns DRAG_CANCEL
when the user presses any key during the grab.

11 years agolibi3/font: Draw the text at the expected place
Quentin Glidic [Fri, 27 Sep 2013 13:55:49 +0000 (15:55 +0200)]
libi3/font: Draw the text at the expected place

When drawing a text with Pango, shift it to the top according to the top
if the glyph if taller than expected
We always shift of (height - savedHeight) which is a no-op for normal glyphs

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
11 years agoFix keyboard and mouse resize in nested containers
jj [Tue, 24 Sep 2013 13:46:58 +0000 (15:46 +0200)]
Fix keyboard and mouse resize in nested containers

fixes #1084
fixes #1085

11 years agoreduce some yajl boilerplate
Vivien Didelot [Wed, 25 Sep 2013 21:17:38 +0000 (17:17 -0400)]
reduce some yajl boilerplate

This patch introduces a yerror() macro in src/commands.c and also
removes some unused yajl helper macros from src/config_directives.c.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
11 years agoImprove error message when $XDG_RUNTIME_DIR is not writable
Michael Stapelberg [Wed, 25 Sep 2013 17:33:28 +0000 (19:33 +0200)]
Improve error message when $XDG_RUNTIME_DIR is not writable

11 years agotests: move set_wm_class to X11::XCB::Window
Michael Stapelberg [Tue, 24 Sep 2013 19:53:48 +0000 (21:53 +0200)]
tests: move set_wm_class to X11::XCB::Window

This code was duplicated way too often for a long time :)

11 years agoMerge branch 'fix-urgency-assign'
Michael Stapelberg [Tue, 24 Sep 2013 05:48:09 +0000 (07:48 +0200)]
Merge branch 'fix-urgency-assign'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Tue, 24 Sep 2013 05:48:09 +0000 (07:48 +0200)]
Merge branch 'master' into next

11 years agoBugfix: correctly recognize assigned windows as urgent (Thanks jookia)
Michael Stapelberg [Tue, 24 Sep 2013 05:47:36 +0000 (07:47 +0200)]
Bugfix: correctly recognize assigned windows as urgent (Thanks jookia)

fixes #1086

11 years agoAdd new bar.binding_mode_indicator configuration.
syl20bnr [Fri, 9 Aug 2013 03:30:14 +0000 (23:30 -0400)]
Add new bar.binding_mode_indicator configuration.

i3 current behavior hides the binding mode indicator when
workspace buttons are disabled.
This patch adds a new configuration for i3bar called
'binding_mode_indicator' which acts like the workspace_buttons.
It is now possible to configure i3bar to hide the
workspace buttons and keep showing the binding mode indicator.
This should make the hide workspace buttons configuration
more convenient for those who are heavily using binding
modes.
Default value for binding_mode_indicator is true.

11 years agoClose all children when closing a workspace
jj [Thu, 19 Sep 2013 12:34:02 +0000 (14:34 +0200)]
Close all children when closing a workspace

fixes #591

11 years agotests: also get rid of smartmatch in complete-run.pl
Michael Stapelberg [Tue, 24 Sep 2013 04:37:40 +0000 (06:37 +0200)]
tests: also get rid of smartmatch in complete-run.pl

11 years agoFix handling of new windows with WM_STATE_FULLSCREEN
jj [Wed, 18 Sep 2013 18:06:48 +0000 (20:06 +0200)]
Fix handling of new windows with WM_STATE_FULLSCREEN

If the currently focused window is in fullscreen mode, and a new window
is opened with WM_STATE_FULLSCREEN set, the new window now becomes the
new fullscreen window and gains focus.

11 years agotests: fix setting the urgency hint
Michael Stapelberg [Tue, 24 Sep 2013 04:36:08 +0000 (06:36 +0200)]
tests: fix setting the urgency hint

X11::XCB < 0.08 had a bug which caused this code to work even though it
shouldn’t.

11 years agoi3test: get rid of the smartmatch operator, it’s experimental since perl 5.18
Michael Stapelberg [Tue, 24 Sep 2013 04:35:51 +0000 (06:35 +0200)]
i3test: get rid of the smartmatch operator, it’s experimental since perl 5.18

11 years agoman/i3-dump-log: document -f (Thanks TonyC)
Michael Stapelberg [Sat, 21 Sep 2013 22:08:27 +0000 (00:08 +0200)]
man/i3-dump-log: document -f (Thanks TonyC)

11 years agoAdd scratchpad bindings to the default config.
Deiz [Sat, 14 Sep 2013 18:57:42 +0000 (14:57 -0400)]
Add scratchpad bindings to the default config.

11 years agoClarify userguide description of urgent_workspace configuration
James Baumgarten [Mon, 9 Sep 2013 02:30:39 +0000 (19:30 -0700)]
Clarify userguide description of urgent_workspace configuration

11 years agoCreate pixmaps using the real bar height, rather than screen height.
Deiz [Thu, 29 Aug 2013 22:15:20 +0000 (18:15 -0400)]
Create pixmaps using the real bar height, rather than screen height.

11 years agoMerge branch 'fix-flattening'
Michael Stapelberg [Sun, 1 Sep 2013 11:35:19 +0000 (13:35 +0200)]
Merge branch 'fix-flattening'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 1 Sep 2013 11:35:19 +0000 (13:35 +0200)]
Merge branch 'master' into next

11 years agoBugfix: don’t flatten tabbed/stacked containers
Michael Stapelberg [Sun, 1 Sep 2013 11:35:04 +0000 (13:35 +0200)]
Bugfix: don’t flatten tabbed/stacked containers

fixes #1053

11 years agoMerge branch 'fix-fullscreen-global'
Michael Stapelberg [Fri, 30 Aug 2013 18:01:04 +0000 (20:01 +0200)]
Merge branch 'fix-fullscreen-global'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Fri, 30 Aug 2013 18:01:04 +0000 (20:01 +0200)]
Merge branch 'master' into next

11 years agoBugfix: update root geometry on output changes for “fullscreen global” (Thanks kaersten)
Michael Stapelberg [Fri, 30 Aug 2013 17:59:57 +0000 (19:59 +0200)]
Bugfix: update root geometry on output changes for “fullscreen global” (Thanks kaersten)

fixes #1064

11 years agoMerge branch 'revert-fullscreen'
Michael Stapelberg [Tue, 27 Aug 2013 18:23:00 +0000 (20:23 +0200)]
Merge branch 'revert-fullscreen'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Tue, 27 Aug 2013 18:23:00 +0000 (20:23 +0200)]
Merge branch 'master' into next

11 years agoRevert "raise fullscreen windows on top of all other X11 windows"
Michael Stapelberg [Tue, 27 Aug 2013 18:21:11 +0000 (20:21 +0200)]
Revert "raise fullscreen windows on top of all other X11 windows"

This reverts commit 0659a0d98ca98fcd134c277c6a61ca3c9a04544e.

It was a fix for dzen2 setups, but broke several other use cases.
Because dzen2 is not really important since most people use i3bar
nowadays, let’s revert this.

fixes #1062
fixes #1068
fixes #1070

11 years agoRemove forgotten libxcursor from DEPENDS (Thanks badboy)
Michael Stapelberg [Thu, 22 Aug 2013 16:44:21 +0000 (18:44 +0200)]
Remove forgotten libxcursor from DEPENDS (Thanks badboy)

11 years agoRemove debug message when debugging is disabled
Leo Gaspard [Tue, 20 Aug 2013 00:07:31 +0000 (02:07 +0200)]
Remove debug message when debugging is disabled

More precisely, switch from printf to DLOG a "matching: * / *" message, like all
the other "matching: * / *" messages.

11 years agoInitialize variables to prevent (false) warnings.
Bas Pape [Sun, 18 Aug 2013 16:12:19 +0000 (18:12 +0200)]
Initialize variables to prevent (false) warnings.

11 years agoRespect workspace numbers when looking for a free workspace name
Sebastian Ullrich [Wed, 7 Aug 2013 15:20:22 +0000 (17:20 +0200)]
Respect workspace numbers when looking for a free workspace name

This prevents a ws '1' appearing on a new output when there's
already a ws '1: www' on an existing output

11 years agoswitch from libXcursor to xcb-util-cursor
Michael Stapelberg [Sat, 13 Jul 2013 08:58:06 +0000 (10:58 +0200)]
switch from libXcursor to xcb-util-cursor

11 years agoMerge branch 'fix-userguide'
Michael Stapelberg [Mon, 12 Aug 2013 07:13:55 +0000 (09:13 +0200)]
Merge branch 'fix-userguide'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Mon, 12 Aug 2013 07:13:55 +0000 (09:13 +0200)]
Merge branch 'master' into next

11 years agoFix userguide formatting (Thanks Slava)
Michael Stapelberg [Mon, 12 Aug 2013 07:12:53 +0000 (09:12 +0200)]
Fix userguide formatting (Thanks Slava)

11 years agoMerge branch 'fix-move-window-center'
Michael Stapelberg [Thu, 8 Aug 2013 20:44:30 +0000 (22:44 +0200)]
Merge branch 'fix-move-window-center'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Thu, 8 Aug 2013 20:44:30 +0000 (22:44 +0200)]
Merge branch 'master' into next

11 years agoAdd missing return after error reporting.
Franck Michea [Mon, 29 Jul 2013 20:45:27 +0000 (22:45 +0200)]
Add missing return after error reporting.

11 years agoUpdate documentation paragraph on variables
syl20bnr [Sun, 4 Aug 2013 01:29:07 +0000 (21:29 -0400)]
Update documentation paragraph on variables

see http://infra.in.zekjur.net/archives/i3-discuss/2013-August/001377.html

11 years agoMerge branch 'fix-float-h'
Michael Stapelberg [Thu, 8 Aug 2013 20:37:47 +0000 (22:37 +0200)]
Merge branch 'fix-float-h'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Thu, 8 Aug 2013 20:37:47 +0000 (22:37 +0200)]
Merge branch 'master' into next

11 years agoInclude float.h for DBL_EPSILON
Kacper Kowalik (Xarthisius) [Thu, 8 Aug 2013 18:48:21 +0000 (20:48 +0200)]
Include float.h for DBL_EPSILON

https://bugs.gentoo.org/show_bug.cgi?id=480272

Patch was written by Jeroen Roovers <jer@gentoo.org>

11 years agoupdate debian/ packaging
Michael Stapelberg [Wed, 7 Aug 2013 19:21:47 +0000 (21:21 +0200)]
update debian/ packaging

11 years agoMerge branch 'next'
Michael Stapelberg [Wed, 7 Aug 2013 19:13:46 +0000 (21:13 +0200)]
Merge branch 'next'

11 years agoMerge branch 'release-4.6' into next
Michael Stapelberg [Wed, 7 Aug 2013 19:13:41 +0000 (21:13 +0200)]
Merge branch 'release-4.6' into next

11 years agoadd release notes for v4.6 4.6
Michael Stapelberg [Wed, 7 Aug 2013 19:04:18 +0000 (21:04 +0200)]
add release notes for v4.6

11 years agolog.c: use posix_fallocate() instead of ftruncate() (Thanks don)
Michael Stapelberg [Wed, 31 Jul 2013 22:42:24 +0000 (00:42 +0200)]
log.c: use posix_fallocate() instead of ftruncate() (Thanks don)

The effect is that the error handling is much better. posix_fallocate()
will allocate all the requested space, whereas ftruncate() does not.

Before this commit, in case the /dev/shm filesystem is too small to hold
the _contents_ of the log file, i3 will SIGBUS when writing to the shm
logfile. With this commit, it will print an error message on startup,
but continue to run without logging.

11 years agoi3bar: draw workspace buttons at x=0 instead of x=1
Michael Stapelberg [Mon, 29 Jul 2013 19:49:38 +0000 (21:49 +0200)]
i3bar: draw workspace buttons at x=0 instead of x=1

This makes the workspace buttons align with the window borders, which is
particularly visible with color configurations like the one in this
screenshot: http://i.imgur.com/CH8srF5.png

fixes #687

11 years agoHandle the _NET_REQUEST_FRAME_EXTENTS ClientMessage (java compat)
Michael Stapelberg [Sat, 27 Jul 2013 13:06:08 +0000 (15:06 +0200)]
Handle the _NET_REQUEST_FRAME_EXTENTS ClientMessage (java compat)

This ClientMessage can be used to estimate how big the window will be
before opening it. Java always sends the ClientMessage and checks the
atom that should be set by the window manager, but it seems that the
fallback code path has a race condition.

Let’s see if the situation gets better with this change. I have been
running this patch for about two weeks and have not seen any issues with
it.

fixes #934
fixes #709

11 years agoimplement unmark command
koebi [Mon, 15 Jul 2013 22:33:14 +0000 (00:33 +0200)]
implement unmark command

11 years agoi3-dmenu-desktop: honor Path= key (Thanks Alexander)
Michael Stapelberg [Sat, 13 Jul 2013 15:47:10 +0000 (17:47 +0200)]
i3-dmenu-desktop: honor Path= key (Thanks Alexander)

fixes #1041

11 years agoactively delete _NET_WORKAREA on startup
Michael Stapelberg [Sat, 13 Jul 2013 10:24:15 +0000 (12:24 +0200)]
actively delete _NET_WORKAREA on startup

fixes #1038

11 years agobugfix: Resize and center a scratchpad even when a criteria is used.
Franck Michea [Wed, 10 Jul 2013 20:18:18 +0000 (22:18 +0200)]
bugfix: Resize and center a scratchpad even when a criteria is used.

11 years agoImplement debuglog command
Alexander Berntsen [Wed, 5 Jun 2013 13:06:53 +0000 (15:06 +0200)]
Implement debuglog command

Add debuglog command that takes toggle|on|off. Add get_debug_logging()
to be able to toggle. Make t/187-commands-parser.t expect 'debuglog'.
Document the debuglog command in userguide.

11 years agoMerge branch 'fix-nagbar-without-font'
Michael Stapelberg [Sat, 29 Jun 2013 21:47:29 +0000 (23:47 +0200)]
Merge branch 'fix-nagbar-without-font'