]> git.sur5r.net Git - i3/i3/log
i3/i3
8 years agoDon't trigger binding on window border click unless --border is given. (#2349)
Ingo Bürk [Wed, 11 May 2016 18:11:35 +0000 (20:11 +0200)]
Don't trigger binding on window border click unless --border is given. (#2349)

Prior to this commit a binding specifying only --whole-window would
trigger even when clicking on the window border. However, this should
only happen if --border is specified.

fixes #2348

8 years agoSplit list of command / config directives in tests. (#2345)
Ingo Bürk [Wed, 11 May 2016 18:11:04 +0000 (20:11 +0200)]
Split list of command / config directives in tests. (#2345)

This makes adding new directives less prone to merge conflicts.

8 years agoSmart option added to hide_edge_borders config param (#2191) (#2191)
Julien Lequertier [Tue, 10 May 2016 18:27:20 +0000 (20:27 +0200)]
Smart option added to hide_edge_borders config param (#2191) (#2191)

Use case:

* When managing multiple terminals in a workspace, the borders makes it easier
to know where the focus is, but when there is only one it's obvious where the
focus is.

* When there's only a web browser for example, the borders are actually counter-
productive since it makes clicking a side scrollbar or a tab a bit harder (if I
smash my cursor to the side or the top of the workspace, I have to move it in
the other direction by just a few pixels to be able to grab it)

Behaviour:

* No borders when there's a single window in a workspace
* Borders when there are multiple windows in a workspace

fixes #2188

8 years agoIntroduce support for specifying variables from X resources. (#2286)
Ingo Bürk [Sun, 8 May 2016 10:55:27 +0000 (12:55 +0200)]
Introduce support for specifying variables from X resources. (#2286)

This patch introduces a new 'set_from_resource' config directive which
allows defining a variable by retrieving its value from the X resource
database. This avoids having to configure a color scheme in multiple
files. The directive takes an additional fallback value which is used
in case the resource cannot be found or during config validation where
no X connection is available.

Furthermore, this patch includes the following changes:
- If the same variable is defined twice, we now properly overwrite the
  value of the assignment rather than inserting two variable definitions
  with the same key.
- We now depend on xcb-util-xrm to query the resource.
- Increase the buffer size for variable / resource assignments.

fixes #2130

8 years agoProperly close disabled outputs restored during a restart. (#2337)
Ingo Bürk [Sun, 8 May 2016 10:49:24 +0000 (12:49 +0200)]
Properly close disabled outputs restored during a restart. (#2337)

If an output is disabled during a restart, for example because a binding
such as

    bindsym $mod+Shift+r exec "xrandr --auto", restart

is used, it can happen that we first write the layout to disk and only
then receive the RandR change events. This leads to a situation where
the restored tree will contain these outputs, but the restarted i3
process will not receive the RandR events, thus the internal output in i3
is marked disabled.

This patch finds these cases after a restart and force-disables the
affected outputs.

fixes #2326

8 years agoDo not count '\' in comment as line continuation (#2181)
Johannes Lange [Sat, 7 May 2016 22:20:08 +0000 (00:20 +0200)]
Do not count '\' in comment as line continuation (#2181)

fixes #2176

8 years agoUse the last known timestamp when calling xcb_set_input_focus(). (#2332)
Ingo Bürk [Thu, 5 May 2016 18:46:33 +0000 (20:46 +0200)]
Use the last known timestamp when calling xcb_set_input_focus(). (#2332)

In most cases this won't make a difference, but consider the following
scenario:

* Some application acquires input focus on its own (which the window manager
  is not involved in, so it will "always" work).
* Before the FocusIn / FocusOut events are processed by i3, the
  workflow to push X changes is run, resulting in xcb_set_input_focus()
  being called.

Using XCB_CURRENT_TIME, this means i3 will "win" and override the focus,
even though it simply wasn't aware (yet) that focus had already been taken
over by someone else. When processing the FocusIn / FocusOut events, i3
assumes that the focus is already set which results in a broken focus
state as i3 assumes some container has the input focus when it doesn't.

With the new behavior, i3's attempt to set the input focus will fail if
the FocusIn / FocusOut events have not yet processed. Once they are processed,
the focus state will be automatically corrected.

fixes #2322

8 years agoRemove redundant depth argument from x_con_init(). (#2323)
Ingo Bürk [Thu, 5 May 2016 12:18:27 +0000 (14:18 +0200)]
Remove redundant depth argument from x_con_init(). (#2323)

8 years agoRemove dead code guarded with "#if 0 … #endif" (#2338)
Ingo Bürk [Thu, 5 May 2016 12:18:04 +0000 (14:18 +0200)]
Remove dead code guarded with "#if 0 … #endif" (#2338)

This code has been neutralized for many years now and served no purpose
other than cluttering up the code. We obviously don't need it and it's
out of date anyway.

If there's ever any reason to restore (parts of) it, we have git for
that. But we don't need to keep commented out code around.

8 years agotravis: snapshot git version before creating dist tarball
Michael Stapelberg [Mon, 2 May 2016 06:49:16 +0000 (08:49 +0200)]
travis: snapshot git version before creating dist tarball

fixes #2334

8 years agoRemove title indentation in nested containers. (#2330)
Ingo Bürk [Sun, 1 May 2016 16:59:50 +0000 (18:59 +0200)]
Remove title indentation in nested containers. (#2330)

This commit removes the title indentation in certain nested container
situations. The behavior was considered broken as it didn't seem to
make sense and it was unclear why this was introduced.

Given that nobody on i3-discuss@ complained about removing this logic
within two weeks, we are now removing it to make the title rendering
code a little less complex.

fixes #2247

8 years agoi3-input: Proper position in non-standard cases. (#2313)
Ingo Bürk [Sat, 30 Apr 2016 21:04:58 +0000 (23:04 +0200)]
i3-input: Proper position in non-standard cases. (#2313)

This commit fixes two issues:
* We detect the EWMH support window from the root window. If this window
  currently has the input focus, we ignore this. We do this because this
  window is not a window the user is aware of and positioning relative to
  it makes no sense.
* We also detect whether the current input focus is in an i3-frame window.
  This can happen, e.g., when selecting a parent (split) container. Since
  frame windows are direct children of the root window, we must not
  translate its coordinates or we get weird results and i3-input ends up
  off-screen (see #2312). For all other windows, including those without
  any WM_CLASS, we proceed as before.

fixes #2312

8 years agoEnsure config variables match on longest-length (#2306)
Kyle Kneitinger [Tue, 26 Apr 2016 07:20:42 +0000 (00:20 -0700)]
Ensure config variables match on longest-length (#2306)

fixes #2235

8 years agoFocus a newly managed container only if it doesn't use the globally active input...
Ingo Bürk [Tue, 26 Apr 2016 07:09:07 +0000 (09:09 +0200)]
Focus a newly managed container only if it doesn't use the globally active input model. (#2317)

fixes #1784

8 years agoUpdate "mark" to "marks" in i3-save-tree. (#2308)
Ingo Bürk [Sat, 23 Apr 2016 11:43:23 +0000 (13:43 +0200)]
Update "mark" to "marks" in i3-save-tree. (#2308)

When allowing multiple marks on a container, we renamed the "mark"
field to "marks". This breaks i3-save-tree which will now filter out
the marks on a window because it doesn't match anymore. This commit
fixes that issue.

Thanks to /u/xenomachina for hinting to this issue.

8 years agoRemove skipped tests. (#2305)
Ingo Bürk [Sat, 23 Apr 2016 11:36:59 +0000 (13:36 +0200)]
Remove skipped tests. (#2305)

We simply remove these tests since they are sufficiently covered
by other testcases.

relates to #2289

8 years agoMerge pull request #2295 from Airblader/bug-2247-2
Michael Stapelberg [Sat, 16 Apr 2016 13:51:44 +0000 (06:51 -0700)]
Merge pull request #2295 from Airblader/bug-2247-2

Fix rendering of marks (and smaller fixed)

8 years agoUse logical_px() and fix indentation. 2295/head
Ingo Bürk [Wed, 13 Apr 2016 17:55:59 +0000 (19:55 +0200)]
Use logical_px() and fix indentation.

relates to #2247

8 years agoRedraw right-hand side border correctly.
Ingo Bürk [Wed, 13 Apr 2016 17:51:26 +0000 (19:51 +0200)]
Redraw right-hand side border correctly.

Since we don't actually stop drawing a title (or marks) with the
distance of the border width on the right side, but instead with
a hard-coded two pixel distance, we can only redraw that much of
the border without potentiall cutting off text.

relates to #2247

8 years agoOnly redraw right-hand side border if a non-pango font is used.
Ingo Bürk [Wed, 13 Apr 2016 17:48:53 +0000 (19:48 +0200)]
Only redraw right-hand side border if a non-pango font is used.

relates to #2247

8 years agoCast con id as uintptr_t (#2298) 2293/head
Tony Crisci [Fri, 15 Apr 2016 07:27:43 +0000 (03:27 -0400)]
Cast con id as uintptr_t (#2298)

Use `uintptr_t` to cast the con id to int instead of `long int`. This
type is guaranteed to hold the pointer as an int regardless of platform.

fixes #2283

8 years agoCorrectly count the number of windows for no_focus. (#2296)
Ingo Bürk [Fri, 15 Apr 2016 07:26:42 +0000 (09:26 +0200)]
Correctly count the number of windows for no_focus. (#2296)

Previously we counted the number of (direct) children of the workspace to
decide whether no_focus should be applied or not. However, this doesn't
work correctly if there's a single container with multiple windows on the
workspace.

This patch correctly counts all windows on the workspace.

fixes #2292

8 years agoOnly grab the mouse buttons that need to be grabbed. (#2290)
Ingo Bürk [Wed, 13 Apr 2016 17:45:57 +0000 (19:45 +0200)]
Only grab the mouse buttons that need to be grabbed. (#2290)

This is a followup to #2049. While we had fixed that bug by only grabbing
buttons 4 and 5 if there is a whole-window binding for that button, this
did not consider buttons higher than 5 as found on many mice.

Therefore, we now ditch the special handling for scrollwheel buttons and
instead do the same for all buttons higher than 3.

fixes #2271

8 years agoMerge pull request #2287 from layus/fix-punned-pointer
Michael Stapelberg [Wed, 13 Apr 2016 17:34:53 +0000 (10:34 -0700)]
Merge pull request #2287 from layus/fix-punned-pointer

Fix punned-pointer warning from gcc

8 years agoAvoid hazardous casting. 2287/head
Guillaume Maudoux [Mon, 11 Apr 2016 13:00:47 +0000 (15:00 +0200)]
Avoid hazardous casting.

8 years agoRemove "dereferencing type-punned pointer" warning
Guillaume Maudoux [Mon, 11 Apr 2016 12:50:01 +0000 (14:50 +0200)]
Remove "dereferencing type-punned pointer" warning

Fix the remaining warning discussed in #1538.
This is obviously a false positive from gcc.

8 years agoUpdate i3bar LICENSE to conform to other LICENSE files. (#2284)
Ingo Bürk [Sun, 10 Apr 2016 11:15:49 +0000 (13:15 +0200)]
Update i3bar LICENSE to conform to other LICENSE files. (#2284)

This change of the LICENSE has been approved by Axel Wagner in #2281.

8 years agoMerge pull request #2278 from jolange/version-extraction
Michael Stapelberg [Sun, 10 Apr 2016 11:09:18 +0000 (04:09 -0700)]
Merge pull request #2278 from jolange/version-extraction

Version extraction

8 years agotravis: clean old docs before building with asciidoc git config
Michael Stapelberg [Sat, 9 Apr 2016 10:46:15 +0000 (12:46 +0200)]
travis: clean old docs before building with asciidoc git config

8 years agocleanup-bintray: keep the most recent, not delete the most recent
Michael Stapelberg [Sat, 9 Apr 2016 09:55:25 +0000 (11:55 +0200)]
cleanup-bintray: keep the most recent, not delete the most recent

8 years agotravis: build debian packages and documentation
Michael Stapelberg [Sun, 27 Mar 2016 19:11:30 +0000 (21:11 +0200)]
travis: build debian packages and documentation

The resulting packages are pushed to Debian repositories hosted on
bintray.com.

This is the first step to move away from our custom buildbot setup (see
https://i3wm.org/docs/buildbot.html for details on that) towards
infrastructure which is more standard (travis) and in the open.

8 years agouse git version information if possible, otherwise use information 2278/head
Johannes Lange [Sun, 3 Apr 2016 12:38:08 +0000 (14:38 +0200)]
use git version information if possible, otherwise use information
from (I3_)VERSION files (for tarballs)

8 years agodist tarball uses existing (I3_)VERSION file
Johannes Lange [Sun, 3 Apr 2016 12:34:57 +0000 (14:34 +0200)]
dist tarball uses existing (I3_)VERSION file

8 years agoauto-creating (I3_)VERSION for each release and post-release version files
Johannes Lange [Sun, 3 Apr 2016 12:26:01 +0000 (14:26 +0200)]
auto-creating (I3_)VERSION for each release and post-release version files
with 'non-git' suffix

fixes #1993

8 years agoinitial (manual) version files check-in
Johannes Lange [Sun, 3 Apr 2016 12:22:47 +0000 (14:22 +0200)]
initial (manual) version files check-in

8 years agoRemove unmaintained CHANGELOG file from i3bar
Ingo Bürk [Thu, 7 Apr 2016 06:35:29 +0000 (08:35 +0200)]
Remove unmaintained CHANGELOG file from i3bar

8 years agoMake fullscreen windows open on the output which is indicated by their geometry
wentasah [Wed, 6 Apr 2016 19:19:10 +0000 (21:19 +0200)]
Make fullscreen windows open on the output which is indicated by their geometry

With this change, multi-monitor presentations (e.g. as implemented by
LibreOffice Impress) work out of the box. Previously, one had to move
the presentation windows to the right outputs oneself.

8 years agoFix spelling mistakes
Eric Engeström [Mon, 4 Apr 2016 07:33:59 +0000 (08:33 +0100)]
Fix spelling mistakes

8 years agoPoint out the default ipc message type in i3-msg.man
Hong Xu [Mon, 4 Apr 2016 06:47:07 +0000 (23:47 -0700)]
Point out the default ipc message type in i3-msg.man

8 years agodebian: remove menu file, add lintian-overrides
Michael Stapelberg [Fri, 1 Apr 2016 14:34:56 +0000 (16:34 +0200)]
debian: remove menu file, add lintian-overrides

8 years ago*.xsession.desktop: add Keywords=
Michael Stapelberg [Fri, 1 Apr 2016 13:57:41 +0000 (15:57 +0200)]
*.xsession.desktop: add Keywords=

See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693918 and
https://wiki.gnome.org/Initiatives/GnomeGoals/DesktopFileKeywords

8 years agoMerge pull request #2243 from Xarthisius/pango_support
Michael Stapelberg [Wed, 30 Mar 2016 06:47:56 +0000 (08:47 +0200)]
Merge pull request #2243 from Xarthisius/pango_support

Add missing MAX macros, ensure that i3 can be compiled without pango

8 years agoMerge pull request #2266 from cedricbu/dmenu-death-by-failed-open
Michael Stapelberg [Thu, 24 Mar 2016 08:40:19 +0000 (09:40 +0100)]
Merge pull request #2266 from cedricbu/dmenu-death-by-failed-open

i3-dmenu-desktop: do not die on failed open

8 years agoi3-dmenu-desktop: do not die on failed open 2266/head
Cedric [Sun, 20 Mar 2016 11:12:11 +0000 (12:12 +0100)]
i3-dmenu-desktop: do not die on failed open

8 years agoConvert ifdef CAIRO_SUPPORT to if statements to keep consistency with common.mk 2243/head
Kacper Kowalik (Xarthisius) [Tue, 8 Mar 2016 02:04:59 +0000 (20:04 -0600)]
Convert ifdef CAIRO_SUPPORT to if statements to keep consistency with common.mk

8 years agoAdd missing MAX macros, ensure that i3 can be compiled without pango
Kacper Kowalik (Xarthisius) [Tue, 8 Mar 2016 01:40:02 +0000 (19:40 -0600)]
Add missing MAX macros, ensure that i3 can be compiled without pango

8 years agoMerge pull request #2264 from ixjlyons/i3bar-protocol-typos 2267/head
Michael Stapelberg [Mon, 21 Mar 2016 19:11:35 +0000 (12:11 -0700)]
Merge pull request #2264 from ixjlyons/i3bar-protocol-typos

Fix typos in documentation.

8 years agoFix typos in documentation. 2264/head
Kenneth Lyons [Sat, 19 Mar 2016 16:54:16 +0000 (09:54 -0700)]
Fix typos in documentation.

8 years agoMerge pull request #2245 from Osse/next upstream/next
Michael Stapelberg [Sat, 12 Mar 2016 03:02:43 +0000 (19:02 -0800)]
Merge pull request #2245 from Osse/next

Update information on where to find #i3 on IRC

8 years agoUpdate information on where to find #i3 on IRC 2245/head
Øystein Walle [Tue, 8 Mar 2016 17:02:04 +0000 (18:02 +0100)]
Update information on where to find #i3 on IRC

8 years agoMerge pull request #2244 from jubalh/desktopf
Michael Stapelberg [Wed, 9 Mar 2016 10:45:15 +0000 (11:45 +0100)]
Merge pull request #2244 from jubalh/desktopf

Make i3.applications.desktop file more complete

8 years agoMake i3.applications.desktop file more complete 2244/head
Michael Vetter [Tue, 8 Mar 2016 16:54:28 +0000 (17:54 +0100)]
Make i3.applications.desktop file more complete

Add GenericName to i3.applications.desktop file.

8 years agotravis: skip login+push for pull requests
Michael Stapelberg [Sun, 6 Mar 2016 17:51:52 +0000 (18:51 +0100)]
travis: skip login+push for pull requests

8 years agorelease.sh: clone from canonical location
Michael Stapelberg [Sun, 6 Mar 2016 16:02:12 +0000 (17:02 +0100)]
release.sh: clone from canonical location

This ensures the repository is up-to-date (in all branches!), hopefully
preventing merge mistakes such as the one fixed with
https://github.com/i3/i3/commit/0e29101ae5f3753626ba447b83a9b8bd490de37e

8 years agorelease.sh: update i3-announce mailing list address
Michael Stapelberg [Sun, 6 Mar 2016 15:31:11 +0000 (16:31 +0100)]
release.sh: update i3-announce mailing list address

8 years agoupdate release.sh for the 4.12 release
Michael Stapelberg [Sun, 6 Mar 2016 15:27:49 +0000 (16:27 +0100)]
update release.sh for the 4.12 release

8 years agodebian: update changelog
Michael Stapelberg [Sun, 6 Mar 2016 15:26:03 +0000 (16:26 +0100)]
debian: update changelog

8 years agoMerge branch 'release-4.12'
Michael Stapelberg [Sun, 6 Mar 2016 15:17:27 +0000 (16:17 +0100)]
Merge branch 'release-4.12'

8 years agorelease i3 4.12 4.12
Michael Stapelberg [Sun, 6 Mar 2016 15:17:15 +0000 (16:17 +0100)]
release i3 4.12

8 years agodebian/watch: verify signature, use https
Michael Stapelberg [Sun, 6 Mar 2016 13:57:28 +0000 (14:57 +0100)]
debian/watch: verify signature, use https

8 years agodebian/control: bump standards-version to 3.9.7
Michael Stapelberg [Sun, 6 Mar 2016 13:48:42 +0000 (14:48 +0100)]
debian/control: bump standards-version to 3.9.7

8 years agodebian/compat: bump debhelper compat level to 9
Michael Stapelberg [Sun, 6 Mar 2016 13:46:12 +0000 (14:46 +0100)]
debian/compat: bump debhelper compat level to 9

8 years agodebian: update copyright to machine-readable copyright
Michael Stapelberg [Sun, 6 Mar 2016 13:45:46 +0000 (14:45 +0100)]
debian: update copyright to machine-readable copyright

8 years agoMerge pull request #2239 from wodny/xcb-32bit-properties
Michael Stapelberg [Thu, 3 Mar 2016 08:01:49 +0000 (09:01 +0100)]
Merge pull request #2239 from wodny/xcb-32bit-properties

window_update_motif_hints(): uint32_t for fields, fixes #2238

8 years agowindow_update_motif_hints(): uint32_t for fields, fixes #2238 2239/head
Marcin Szewczyk [Wed, 2 Mar 2016 21:00:40 +0000 (22:00 +0100)]
window_update_motif_hints(): uint32_t for fields, fixes #2238

xcb_get_property_value() returns 32-bit property fields

8 years agoMerge pull request #2233 from Airblader/bug-2228
Michael Stapelberg [Thu, 25 Feb 2016 20:19:14 +0000 (21:19 +0100)]
Merge pull request #2233 from Airblader/bug-2228

Revert to default binding mode before reloading the config.

8 years agoMerge pull request #2232 from Airblader/bug-2229
Michael Stapelberg [Thu, 25 Feb 2016 20:18:55 +0000 (21:18 +0100)]
Merge pull request #2232 from Airblader/bug-2229

Determine focused workspace correctly when moving workspace to output.

8 years agoMerge pull request #2231 from Airblader/feature-2223
Michael Stapelberg [Thu, 25 Feb 2016 20:18:29 +0000 (21:18 +0100)]
Merge pull request #2231 from Airblader/feature-2223

Introduce I3_FLOATING_WINDOW.

8 years agoRevert to default binding mode before reloading the config. 2233/head
Ingo Bürk [Thu, 25 Feb 2016 18:28:48 +0000 (19:28 +0100)]
Revert to default binding mode before reloading the config.

If a user reloads the config while in some binding mode, the binding mode
will revert to the default, but no event will ever be fired, causing a
broken i3bar mode display.

This patch explicitly reverts to the default binding mode before reloading
the config. We reload rather than switch to the binding mode after having
reloaded the config because there's no guarantee that mode will even still
exist.

fixes #2228

8 years agoDetermine focused workspace correctly when moving workspace to output. 2232/head
Ingo Bürk [Thu, 25 Feb 2016 18:12:09 +0000 (19:12 +0100)]
Determine focused workspace correctly when moving workspace to output.

This patch correctly determines the previously focused workspace on the
target output when moving a workspace to another output. Before, we used
nodes_head for this, which will not actually return the previously focused
workspace, but just the first workspace on that output. Hence, we now use
focus_head instead.

This bug was introduced all the way back in 1e143fea when the feature of
moving workspaces to another output was first implemented.

fixes #2229

8 years agoIntroduce I3_FLOATING_WINDOW 2231/head
Ingo Bürk [Tue, 23 Feb 2016 19:12:45 +0000 (20:12 +0100)]
Introduce I3_FLOATING_WINDOW

This patch introduces a proprietary atom I3_FLOATING_WINDOW which will be
set and maintained for floating windows and removed on tiling containers.

This allows users to select on this atom, e.g., in their compositor
configuration or in utility scripts (without using the IPC).

fixes #2223

8 years agosplit atoms.xmacro into 2 files to obtain _NET_SUPPORTED count
Michael Stapelberg [Tue, 23 Feb 2016 20:47:00 +0000 (21:47 +0100)]
split atoms.xmacro into 2 files to obtain _NET_SUPPORTED count

Manually updating a magic number doesn’t work in the long run.
With this change, the number of atoms contained in
include/atoms_NET_SUPPORTED.xmacro is used.

fixes #2230

8 years agoMerge pull request #2221 from Airblader/bug-2220
Michael Stapelberg [Mon, 22 Feb 2016 08:15:31 +0000 (09:15 +0100)]
Merge pull request #2221 from Airblader/bug-2220

Revert e2e7b7 and remove unreachable fallback code

8 years agoDocument tray initialization better. 2221/head
Ingo Bürk [Sun, 21 Feb 2016 13:26:13 +0000 (14:26 +0100)]
Document tray initialization better.

This commit removes an unnecessary fallback to the first output's name as
this name ("first") will only be used to see whether "tray_output none"
has been specified, anyway.

We also add documentation that clearly states when we want to initialize
the tray and when we don't want to do the same.

relates to #2220

8 years agoRemove unreachable fallback code for tray_output primary.
Ingo Bürk [Sun, 21 Feb 2016 13:13:58 +0000 (14:13 +0100)]
Remove unreachable fallback code for tray_output primary.

This commit removes the code for falling back to the first available
output for the system tray if 'tray_output primary' has been specified
but there is no primary output (managed by this bar).

This fallback behavior was broken/unreachable because the tray
will never be initialized in this situation in the first place. Having
this dead code lead to a wrong assumption in #1855 and hence to
commit e2e7b70d002cac2031cb65d6f5f197c9583913d6, which makes the
system tray not show up for many users when first installing i3.

Thanks to @rtlanceroad for reporting this issue.

fixes #2220

8 years agoRevert "Add 'tray_output primary' to the default config"
Ingo Bürk [Sun, 21 Feb 2016 13:12:02 +0000 (14:12 +0100)]
Revert "Add 'tray_output primary' to the default config"

This reverts commit e2e7b70d002cac2031cb65d6f5f197c9583913d6.

relates to #2220

8 years agoAdd issue template
Michael Stapelberg [Fri, 19 Feb 2016 17:48:49 +0000 (18:48 +0100)]
Add issue template

This is a mix of what our old new-ticket-form used to suggest:
http://code.stapelberg.de/git/i3-new-ticket/tree/templates/index.html
…and what CONTRIBUTING.md already entailed.

See https://github.com/blog/2111-issue-and-pull-request-templates

8 years agomove CONTRIBUTING.md to .github/ directory
Michael Stapelberg [Fri, 19 Feb 2016 17:41:30 +0000 (18:41 +0100)]
move CONTRIBUTING.md to .github/ directory

See https://github.com/blog/2111-issue-and-pull-request-templates

8 years agoAllow workspace renames which change case
Michael Stapelberg [Mon, 15 Feb 2016 07:34:03 +0000 (08:34 +0100)]
Allow workspace renames which change case

fixes #2211

8 years agoMerge pull request #2210 from Airblader/bug-2166
Michael Stapelberg [Mon, 15 Feb 2016 07:15:23 +0000 (08:15 +0100)]
Merge pull request #2210 from Airblader/bug-2166

Don't allow floating workspaces anymore.

8 years agoMerge pull request #2209 from Airblader/feature-2208
Michael Stapelberg [Mon, 15 Feb 2016 07:14:26 +0000 (08:14 +0100)]
Merge pull request #2209 from Airblader/feature-2208

Allow "modifier none" in i3bar to disable the modifier.

8 years agoMerge pull request #2212 from bendem/patch-1
Michael Stapelberg [Sun, 14 Feb 2016 12:50:36 +0000 (13:50 +0100)]
Merge pull request #2212 from bendem/patch-1

Reflect changes to i3-sensible-terminal in its manpage

8 years agoReflect changes to i3-sensible-terminal in its manpage 2212/head
bendem [Sun, 14 Feb 2016 12:28:14 +0000 (13:28 +0100)]
Reflect changes to i3-sensible-terminal in its manpage

8 years agoDon't allow floating workspaces anymore. 2210/head
Ingo Bürk [Thu, 11 Feb 2016 19:54:02 +0000 (20:54 +0100)]
Don't allow floating workspaces anymore.

This is essentially a revert of daf00a9 which introduced a mechanism
to float workspace containers by wrapping all children into a new
container and floating it.

This caused a bug and there's no good reason (anymore) to allow doing
this in the first place as we don't support floating nested containers.

fixes #2166

8 years agoAllow "modifier none" in i3bar to disable the modifier. 2209/head
Ingo Bürk [Thu, 11 Feb 2016 18:57:32 +0000 (19:57 +0100)]
Allow "modifier none" in i3bar to disable the modifier.

This allows "modifier none" (and "modifier off") for the bar config
in order to disable the modifier key altogether. This is useful
for users who use a different approach to hiding / showing the bar,
e.g., a custom keybind that involved multiple keys or scripts.

fixes #2208

8 years agoMerge pull request #2203 from Airblader/bug-2202
Michael Stapelberg [Wed, 10 Feb 2016 21:04:07 +0000 (22:04 +0100)]
Merge pull request #2203 from Airblader/bug-2202

Ensure that the "border" command uses logical pixels.

8 years agoMerge pull request #2204 from romanblanco/st
Michael Stapelberg [Wed, 10 Feb 2016 21:02:51 +0000 (22:02 +0100)]
Merge pull request #2204 from romanblanco/st

Added st to i3-sensible-terminal

8 years agoAdded st to i3-sensible-terminal 2204/head
Roman Blanco [Tue, 9 Feb 2016 21:33:37 +0000 (22:33 +0100)]
Added st to i3-sensible-terminal

8 years agoEnsure that the "border" command uses logical pixels. 2203/head
Ingo Bürk [Tue, 9 Feb 2016 20:03:44 +0000 (21:03 +0100)]
Ensure that the "border" command uses logical pixels.

Until now, only the config directive for borders (new_window,
new_float) respected the DPI setting (using logical_px). This
patch makes sure we also do so for runtime "border" commands.

fixes #2202

8 years agoMerge pull request #2197 from norrland/next
Michael Stapelberg [Sun, 7 Feb 2016 13:55:21 +0000 (14:55 +0100)]
Merge pull request #2197 from norrland/next

Update i3-sensible-terminal

8 years agoMerge pull request #2196 from Airblader/feature-2165
Michael Stapelberg [Sun, 7 Feb 2016 13:54:34 +0000 (14:54 +0100)]
Merge pull request #2196 from Airblader/feature-2165

Remove _NET_WM_STATE on withdrawn windows.

8 years agoUpdate i3-sensible-terminal 2197/head
norrland [Sun, 7 Feb 2016 13:40:00 +0000 (14:40 +0100)]
Update i3-sensible-terminal

8 years agoRemove _NET_WM_STATE on withdrawn windows. 2196/head
Ingo Bürk [Sun, 7 Feb 2016 11:08:50 +0000 (12:08 +0100)]
Remove _NET_WM_STATE on withdrawn windows.

According to the spec, _NET_WM_STATE must be removed when the window is
withdrawn, much like _NET_WM_DESKTOP.

fixes #2165

8 years agotravis: check spelling of binaries and manpages, use docker
Michael Stapelberg [Mon, 1 Feb 2016 08:42:55 +0000 (09:42 +0100)]
travis: check spelling of binaries and manpages, use docker

We now build a docker base container based on debian sid (where the very
latest packages are available). That base container is updated once a
month, or whenever travis-build.Dockerfile or debian/control change, but
re-used for subsequent travis runs. While the initial build might take
up to 15 minutes, subsequent builds typically run in a minute or two.

All the different steps that we run on travis are now factored into
separate scripts in the travis/ directory.

Switching to docker should also help with issue #2174.

8 years agoMerge pull request #2190 from jolange/userguide
Michael Stapelberg [Fri, 5 Feb 2016 08:30:21 +0000 (09:30 +0100)]
Merge pull request #2190 from jolange/userguide

Userguide: "hiding vertical borders" -> "hiding outer borders"

8 years ago"hiding vertical borders" -> "hiding outer borders" 2190/head
Johannes Lange [Wed, 3 Feb 2016 18:32:52 +0000 (19:32 +0100)]
"hiding vertical borders" -> "hiding outer borders"

This option can be used to hide horizontal or horizontal+vertical
borders since 57effd6

8 years agoMerge pull request #2186 from brianmillar/next
Michael Stapelberg [Mon, 1 Feb 2016 07:24:36 +0000 (08:24 +0100)]
Merge pull request #2186 from brianmillar/next

Added Neovim to i3-sensible-editor

8 years agoAdded Neovim to i3-sensible-editor 2186/head
Brian Millar [Mon, 1 Feb 2016 01:18:41 +0000 (01:18 +0000)]
Added Neovim to i3-sensible-editor

8 years agoMerge pull request #2185 from nicklan/next
Michael Stapelberg [Sun, 31 Jan 2016 21:22:04 +0000 (22:22 +0100)]
Merge pull request #2185 from nicklan/next

Fix issue #2184.  don't send atom, but raw code

8 years agoFix issue #2184. don't send atom, but raw code 2185/head
Nick Lanham [Sun, 31 Jan 2016 20:21:47 +0000 (12:21 -0800)]
Fix issue #2184.  don't send atom, but raw code

XEMBED messages aren't atoms, but just codes, so i3bar should just send
XEMBED_EMBEDDED_NOTIFY rather than indexing the atom array.