]> git.sur5r.net Git - i3/i3/log
i3/i3
7 years agoInitial commit
Michael Stapelberg [Sat, 13 Mar 2010 16:11:09 +0000 (17:11 +0100)]
Initial commit

7 years agot/171-config-migrate: escape braces for newer Perl versions 2859/head
Michael Stapelberg [Sat, 19 Aug 2017 15:44:35 +0000 (17:44 +0200)]
t/171-config-migrate: escape braces for newer Perl versions

7 years agoPrevent accidentally introduced fall-through
Michael Stapelberg [Sat, 19 Aug 2017 15:29:31 +0000 (17:29 +0200)]
Prevent accidentally introduced fall-through

This was added in commit https://github.com/i3/i3/commit/e82e26a24d22e2f92cd90d9547c213493e94ea63

7 years agoMerge pull request #2847 from tmerr/next
Ingo Bürk [Mon, 31 Jul 2017 09:48:10 +0000 (11:48 +0200)]
Merge pull request #2847 from tmerr/next

Document missing case of workspace event

7 years agoDocument missing case of workspace event 2847/head
Trevor Merrifield [Sun, 30 Jul 2017 04:47:40 +0000 (00:47 -0400)]
Document missing case of workspace event

The docs are missing the "move" workspace event emitted from
workspace.c's workspace_move_to_output function.

7 years agoAdd missing newline to end of file
Trevor Merrifield [Sun, 30 Jul 2017 04:42:11 +0000 (00:42 -0400)]
Add missing newline to end of file

7 years agoMerge pull request #2836 from acrisci/bug/sysconfdir-to-makefile
Ingo Bürk [Thu, 13 Jul 2017 04:55:22 +0000 (06:55 +0200)]
Merge pull request #2836 from acrisci/bug/sysconfdir-to-makefile

Move SYSCONFDIR definition to makefile

7 years agoMerge pull request #2838 from acrisci/bug/colors-only-hex
Ingo Bürk [Thu, 13 Jul 2017 04:50:05 +0000 (06:50 +0200)]
Merge pull request #2838 from acrisci/bug/colors-only-hex

Ensure colors are in hex

7 years agolibi3: Add basic validation to hex color conversion 2838/head
Tony Crisci [Wed, 12 Jul 2017 21:50:19 +0000 (17:50 -0400)]
libi3: Add basic validation to hex color conversion

Make sure a given hex color is the expected length and begins with a hash in
draw_util_hex_to_color() to avoid memory errors.

fixes #2829

7 years agoi3bar: change error block color to hex
Tony Crisci [Wed, 12 Jul 2017 21:50:10 +0000 (17:50 -0400)]
i3bar: change error block color to hex

Named colors are not supported by the i3bar protocol so give the error block
color in hex.

7 years agoMove SYSCONFDIR definition to makefile 2836/head
Tony Crisci [Wed, 12 Jul 2017 14:57:23 +0000 (10:57 -0400)]
Move SYSCONFDIR definition to makefile

Official autoconf docs contraindicate the use of the $sysconfdir
variable in configure.ac. For reference:

https://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Installation-Directory-Variables.html

The macro SYSCONFDIR (ordinarilly set to "/etc") is required to find
a system configuration file installed with i3. In some build setups,
this may not be defined properly in when the configure script is
compiled.

Instead, define this variable in AM_CPPFLAGS as the documentation
indicates.

fixes #2832

7 years agoMerge pull request #2831 from dvejmz/next
Ingo Bürk [Tue, 11 Jul 2017 14:06:45 +0000 (16:06 +0200)]
Merge pull request #2831 from dvejmz/next

Add KDE konsole terminal fallback to i3-sensible-terminal

7 years agoAdd KDE konsole terminal fallback to i3-sensible-terminal 2831/head
David Jimenez Sequero [Mon, 10 Jul 2017 10:59:37 +0000 (11:59 +0100)]
Add KDE konsole terminal fallback to i3-sensible-terminal

7 years agoMerge pull request #2827 from akash-akya/next
Ingo Bürk [Sun, 9 Jul 2017 11:23:42 +0000 (13:23 +0200)]
Merge pull request #2827 from akash-akya/next

Fix 'Mouse binding don't work'

7 years agoFix 'Mouse binding don't work' 2827/head
akash akya [Thu, 6 Jul 2017 19:33:36 +0000 (01:03 +0530)]
Fix 'Mouse binding don't work'

7 years agoMerge pull request #2820 from hwangcc23/fix-2804
Ingo Bürk [Fri, 23 Jun 2017 06:31:08 +0000 (08:31 +0200)]
Merge pull request #2820 from hwangcc23/fix-2804

i3-msg: Return an exit code upon missing -t arg

7 years agoi3-msg: Return an exit code upon missing -t arg 2820/head
hwangcc23 [Thu, 22 Jun 2017 14:53:08 +0000 (22:53 +0800)]
i3-msg: Return an exit code upon missing -t arg

If getopt() returns '?' (option with a missing argument), exit the program with an error code rather than continuing the execution.

Fix the issue #2804 (https://github.com/i3/i3/issues/2804).

7 years agoMerge pull request #2808 from hwangcc23/fix-2802
Ingo Bürk [Tue, 13 Jun 2017 13:15:49 +0000 (15:15 +0200)]
Merge pull request #2808 from hwangcc23/fix-2802

Fix 'rename workspace to tosomething'

7 years agoFix 'rename workspace to tosomething' 2808/head
hwangcc23 [Sun, 11 Jun 2017 15:48:55 +0000 (23:48 +0800)]
Fix 'rename workspace to tosomething'

This patch fixes the issue #2802 (https://github.com/i3/i3/issues/2802).

1). Revise the state machine for the 'rename workspace' command.
    These scenarios are considered:
    a). 'rename workspace to to bla'
        state transitions: RENAME -> RENAME_WORKSPACE -> RENAME_WORKSPACE_LIKELY_TO -> RENAME_WORKSPACE_LIKELY_TO_NEW_NAME
    b). 'rename workspace to tosomething'
        state transitions: RENAME -> RENAME_WORKSPACE -> RENAME_WORKSPACE_LIKELY_TO
    c). 'rename workspace to to'
        state transitions: RENAME -> RENAME_WORKSPACE -> RENAME_WORKSPACE_LIKELY_TO
    d). 'rename workspace to bla'
        state transitions: RENAME -> RENAME_WORKSPACE -> RENAME_WORKSPACE_LIKELY_TO
    e). 'rename workspace bla to foo'
        state transitions: RENAME -> RENAME_WORKSPACE -> RENAME_WORKSPACE_TO -> RENAME_WORKSPACE_TO_NEW_NAME

2). Add a test case in 117-workspace.t for the scenario b.

7 years agoMerge pull request #2795 from Adaephon-GH/doc-config-load-order
Ingo Bürk [Mon, 12 Jun 2017 09:01:58 +0000 (11:01 +0200)]
Merge pull request #2795 from Adaephon-GH/doc-config-load-order

Fix manpage on configuration lookup order

7 years agoMerge pull request #2799 from hwangcc23/add_compilation_inst
Ingo Bürk [Mon, 12 Jun 2017 09:00:28 +0000 (11:00 +0200)]
Merge pull request #2799 from hwangcc23/add_compilation_inst

Add compilation instructions to the hacking howto

7 years agoAdd compilation instructions to the hacking howto 2799/head
hwangcc23 [Fri, 2 Jun 2017 14:26:09 +0000 (22:26 +0800)]
Add compilation instructions to the hacking howto

7 years agoMerge pull request #2796 from Armael/next
Ingo Bürk [Wed, 31 May 2017 18:33:39 +0000 (20:33 +0200)]
Merge pull request #2796 from Armael/next

Add a link to the ocaml-i3ipc library

7 years agoAdd a link to the ocaml-i3ipc library 2796/head
Armaël Guéneau [Wed, 31 May 2017 14:52:17 +0000 (16:52 +0200)]
Add a link to the ocaml-i3ipc library

7 years agoFix manpage on configuration lookup order 2795/head
Adaephon-GH [Wed, 31 May 2017 09:26:07 +0000 (11:26 +0200)]
Fix manpage on configuration lookup order

The lookup order stated in the i3 manpage was is contratiction to the
actual lookup order, which was introduced with commit
https://github.com/i3/i3/commit/bfa12a581915d6a3de182fa6025fce108cac8eab.
Since that commit (6.5 years ago) the "traditional" paths took precedence
over XDG_CONFIG paths.

7 years agoMerge pull request #2772 from loungecube/patch-1
Ingo Bürk [Mon, 29 May 2017 06:37:44 +0000 (08:37 +0200)]
Merge pull request #2772 from loungecube/patch-1

prevent multiple menu items per .desktop entry

7 years agoMerge pull request #2784 from stapelberg/numrelease
Ingo Bürk [Wed, 24 May 2017 19:43:33 +0000 (21:43 +0200)]
Merge pull request #2784 from stapelberg/numrelease

compare modifiers for equality, not subset

7 years agocompare modifiers for equality, not subset (+test) 2784/head
Michael Stapelberg [Wed, 24 May 2017 18:42:27 +0000 (20:42 +0200)]
compare modifiers for equality, not subset (+test)

Subset comparison was introduced with the rather large commit
bf3cd41b5ddf1e757515ab5fbf811be56e5f69cc, but I now think we should use
equality.

In other words, the following key binding:

    bindsym Mod4+x nop Mod4+x

previously would have been triggered when pressing Mod3+Mod4+x.

Strictly speaking, this is a change of behavior, but it breaks none of our
tests, and using equality instead of subset comparison enables more use-cases.

fixes #2002

7 years agono-op change: store |button| in the correct data type
Michael Stapelberg [Wed, 24 May 2017 18:41:55 +0000 (20:41 +0200)]
no-op change: store |button| in the correct data type

7 years agono-op change: move bind->release check into loop
Michael Stapelberg [Wed, 24 May 2017 18:41:17 +0000 (20:41 +0200)]
no-op change: move bind->release check into loop

We don’t have to negate the check anymore, making it more readable.

7 years agono-op change: don’t compare keycode for every modifier
Michael Stapelberg [Wed, 24 May 2017 18:40:17 +0000 (20:40 +0200)]
no-op change: don’t compare keycode for every modifier

7 years agoFix the i3 crash caused by mark + restart commands (#2779)
Chih-Chyuan Hwang [Tue, 23 May 2017 06:47:11 +0000 (14:47 +0800)]
Fix the i3 crash caused by mark + restart commands (#2779)

This patch fixes the issue #2511(https://github.com/i3/i3/issues/2511).

1). Memorize the marks, but only call con_mark once the container has finished parsing. (Credit: This is @Airblader's patch.)

2). Add a test case 267-regress-mark-restart.t for regression test to check if mark and restart command crash i3.

7 years agoMerge pull request #2782 from stapelberg/release-bindings
Ingo Bürk [Tue, 23 May 2017 06:40:05 +0000 (08:40 +0200)]
Merge pull request #2782 from stapelberg/release-bindings

Fix --release bindings broken by previous commit

7 years agoFix --release bindings broken by previous commit 2782/head
Michael Stapelberg [Tue, 23 May 2017 06:28:56 +0000 (08:28 +0200)]
Fix --release bindings broken by previous commit

fixes #2559

7 years agoApply numlock fallback to bindcode where necessary (#2781)
Michael Stapelberg [Mon, 22 May 2017 19:32:05 +0000 (21:32 +0200)]
Apply numlock fallback to bindcode where necessary (#2781)

This was broken with commit d77d40173aae250d2e5ba86a8bce7a6e857cbc67

fixes #2559

7 years agoMerge pull request #2777 from hwangcc23/update-testsuite-doc
Ingo Bürk [Mon, 22 May 2017 06:50:58 +0000 (08:50 +0200)]
Merge pull request #2777 from hwangcc23/update-testsuite-doc

Update testsuite docs

7 years agoUpdate testsuite docs 2777/head
hwangcc23 [Sun, 21 May 2017 15:08:27 +0000 (23:08 +0800)]
Update testsuite docs

After moved to autotools, the method to run the i3 testsuite is changed.
Update the testsuite document to reflect the change.

7 years agoMerge pull request #2773 from lasers/next
Ingo Bürk [Thu, 18 May 2017 07:51:45 +0000 (09:51 +0200)]
Merge pull request #2773 from lasers/next

docs/ipc: Fix typo

7 years agodocs/ipc: Fix typo 2773/head
lasers [Wed, 17 May 2017 23:48:56 +0000 (18:48 -0500)]
docs/ipc: Fix typo

7 years agoMerge pull request #2761 from mdirkse/next
Ingo Bürk [Wed, 17 May 2017 08:39:42 +0000 (10:39 +0200)]
Merge pull request #2761 from mdirkse/next

[WIP] Change golang ipc lib reference to one that is maintained.

7 years agoMerge pull request #2771 from hwangcc23/fix-2764
Ingo Bürk [Tue, 16 May 2017 16:39:37 +0000 (18:39 +0200)]
Merge pull request #2771 from hwangcc23/fix-2764

Support to get the primary output

7 years agoSupport to get the primary output 2771/head
hwangcc23 [Sun, 14 May 2017 08:05:29 +0000 (16:05 +0800)]
Support to get the primary output

This makes `primary` output available for assign or move commands.
Fix the issue #2764(https://github.com/i3/i3/issues/2764).

7 years agoMerge pull request #2496 from Airblader/feature-917
Michael Stapelberg [Mon, 15 May 2017 19:35:10 +0000 (21:35 +0200)]
Merge pull request #2496 from Airblader/feature-917

Implement 'swap' command.

7 years agoImplement 'swap' command. 2496/head
Ingo Bürk [Fri, 26 Feb 2016 21:39:44 +0000 (22:39 +0100)]
Implement 'swap' command.

This patch introduces a new command 'swap' that swaps two containers so
that they assume each other's position and geometry.

fixes #917

7 years agoprevent multiple menu items per .desktop entry 2772/head
loungecube [Mon, 15 May 2017 03:02:09 +0000 (05:02 +0200)]
prevent multiple menu items per .desktop entry

If a .desktop entry is being added to the list of Menu items by its "Name" field, it should not be added again by its command or filename.
If it is being added by its command, it should not be added again by its filename.

7 years agoForce container to be redrawn upon moving to another container. (#2769)
Ingo Bürk [Fri, 12 May 2017 17:26:35 +0000 (19:26 +0200)]
Force container to be redrawn upon moving to another container. (#2769)

This is necessary as otherwise urgent containers can be broken
after moving them.

7 years agoMerge pull request #2766 from MachFour/nagbar-shell-exec
Ingo Bürk [Fri, 12 May 2017 13:39:40 +0000 (15:39 +0200)]
Merge pull request #2766 from MachFour/nagbar-shell-exec

i3-nagbar: add button flag to execute action with /bin/sh directly

7 years agoi3-nagbar: add button flag to execute action with /bin/sh directly. 2766/head
Max Fisher [Sun, 7 May 2017 13:40:19 +0000 (23:40 +1000)]
i3-nagbar: add button flag to execute action with /bin/sh directly.
Fixes #2765.

7 years agoadd error check and log for xcb_create_window
Nathan Schulte [Fri, 7 Apr 2017 14:59:24 +0000 (09:59 -0500)]
add error check and log for xcb_create_window

7 years agoAdded a hint about the required config v4 version hint. (#2759)
Ingo Bürk [Thu, 4 May 2017 21:08:51 +0000 (23:08 +0200)]
Added a hint about the required config v4 version hint. (#2759)

fixes #2751

7 years agoMerge pull request #2762 from mdirkse/valid_json
Ingo Bürk [Thu, 4 May 2017 13:23:15 +0000 (15:23 +0200)]
Merge pull request #2762 from mdirkse/valid_json

Fix invalid JSON

7 years agoFix invalid JSON 2762/head
Maarten Dirkse [Wed, 3 May 2017 22:36:44 +0000 (00:36 +0200)]
Fix invalid JSON

7 years agoChange golang ipc lib reference to one that is maintained. 2761/head
Maarten Dirkse [Tue, 2 May 2017 11:12:25 +0000 (13:12 +0200)]
Change golang ipc lib reference to one that is maintained.

7 years agoMerge pull request #2757 from Jereq/next
Ingo Bürk [Tue, 2 May 2017 08:06:00 +0000 (10:06 +0200)]
Merge pull request #2757 from Jereq/next

Fix i3-dmenu-desktop quoted command name

7 years agoQuery workspaces again in i3bar when an output change occured. (#2760)
Ingo Bürk [Tue, 2 May 2017 07:11:35 +0000 (09:11 +0200)]
Query workspaces again in i3bar when an output change occured. (#2760)

As of 2f0f8b1, i3bar will properly clean up on output change events.
However, this requires us to query the workspaces again to avoid a
display error in i3bar.

fixes #2740
fixes #2743

7 years agoIntroduce --exclude-titlebar flag for mouse bindings. (#2703)
Ingo Bürk [Tue, 2 May 2017 07:08:42 +0000 (09:08 +0200)]
Introduce --exclude-titlebar flag for mouse bindings. (#2703)

This introduces the flag --exclude-titlebar for mouse bindings which
allows bindings like

    bindsym --whole-window --border --exclude-titlebar button3 focus

fixes #2347

7 years agoFix i3-dmenu-desktop quoted command name 2757/head
Sebastian Larsson [Sun, 30 Apr 2017 12:40:04 +0000 (14:40 +0200)]
Fix i3-dmenu-desktop quoted command name

According to the Desktop Entry Specification
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables
the executable name or path of the executable may be quoted. This is not
properly respected when i3-dmenu-desktop extracts the command name from
the Exec entry.

Examples of values that fail and what they currently result in:

- "bar" -> "bar"
- "foo/bar" -> bar"
- "foo foobar/bar" -> "foo
- "foo\sbar" -> "foo\sbar"
- foo\sbar -> foo\sbar
- "foo\\\\bar" -> "foo\\\\bar"

7 years agoMerge pull request #2752 from mihaicmn/bug-2464
Ingo Bürk [Fri, 28 Apr 2017 15:34:21 +0000 (17:34 +0200)]
Merge pull request #2752 from mihaicmn/bug-2464

Fix changing of root workspace layout from stacked/tabbed

7 years agoFix changing of root workspace layout from stacked/tabbed 2752/head
Mihai Coman [Thu, 27 Apr 2017 14:50:55 +0000 (17:50 +0300)]
Fix changing of root workspace layout from stacked/tabbed

7 years agoMerge pull request #2731 from nmschulte/check-create-window
Ingo Bürk [Tue, 11 Apr 2017 09:32:08 +0000 (11:32 +0200)]
Merge pull request #2731 from nmschulte/check-create-window

Check X11 create window call

7 years agoadd error check and log for xcb_create_window 2731/head
Nathan Schulte [Fri, 7 Apr 2017 14:59:24 +0000 (09:59 -0500)]
add error check and log for xcb_create_window

7 years agoMerge pull request #2725 from nmschulte/feature/output-primary
Ingo Bürk [Fri, 7 Apr 2017 06:54:06 +0000 (08:54 +0200)]
Merge pull request #2725 from nmschulte/feature/output-primary

Feature/output primary

7 years agoformat i3bar src/outputs.c w/ clang-format 2725/head
Nathan Schulte [Mon, 3 Apr 2017 00:26:55 +0000 (19:26 -0500)]
format i3bar src/outputs.c w/ clang-format

7 years agoMerge pull request #2720 from Arlon1/next
Ingo Bürk [Thu, 30 Mar 2017 13:19:50 +0000 (15:19 +0200)]
Merge pull request #2720 from Arlon1/next

Adding new terminals to i3-sensible-terminal

7 years agoAdding new terminals to i3-sensible-terminal 2720/head
Franz König [Sun, 26 Mar 2017 14:05:56 +0000 (16:05 +0200)]
Adding new terminals to i3-sensible-terminal

7 years agoi3bar: accept 'primary' for output config option 2705/head
lebenlechzer [Sun, 12 Mar 2017 20:17:12 +0000 (21:17 +0100)]
i3bar: accept 'primary' for output config option

7 years agoMerge pull request #2698 from tmerr/next
Ingo Bürk [Mon, 6 Mar 2017 06:50:49 +0000 (07:50 +0100)]
Merge pull request #2698 from tmerr/next

docs/ipc: Document the 'primary' flag

7 years agodocs/ipc: Document the 'primary' flag 2698/head
Trevor Merrifield [Mon, 6 Mar 2017 06:20:47 +0000 (01:20 -0500)]
docs/ipc: Document the 'primary' flag

Resolves #2697

7 years agoFixes a small mixup in the assertion description. (#2692)
Ingo Bürk [Fri, 24 Feb 2017 07:36:31 +0000 (08:36 +0100)]
Fixes a small mixup in the assertion description. (#2692)

relates to PR #2649

7 years agoMerge pull request #2649 from s3rb31/next
Ingo Bürk [Thu, 23 Feb 2017 23:58:19 +0000 (00:58 +0100)]
Merge pull request #2649 from s3rb31/next

layout toggle: take any combination of layouts as arguments (continuation of #2476)

7 years agolayout toggle: take any combination of layouts as arguments (#2649) 2649/head
s3rb31 [Thu, 19 Jan 2017 19:49:56 +0000 (20:49 +0100)]
layout toggle: take any combination of layouts as arguments (#2649)

With this PR the 'layout toggle' command can be passed any
combination of valid layout keywords as arguments. They will
be activated one after another each time you issue the command,
advancing from left to right always selecting the layout after
the currently active layout or the leftmost layout if the active
layout is not in the argument list.

This PR also incorporates the feature request from #2476.

7 years agoImplement mapping from string to layout as extra function
s3rb31 [Tue, 21 Feb 2017 01:12:39 +0000 (02:12 +0100)]
Implement mapping from string to layout as extra function

7 years agoMerge pull request #2680 from Airblader/feature-2677
Michael Stapelberg [Mon, 20 Feb 2017 17:06:57 +0000 (09:06 -0800)]
Merge pull request #2680 from Airblader/feature-2677

[#2677] Allow using left/right scrolling like up/down scrolling.

7 years agoCopy the entire window content on Expose events. (#2685)
Ingo Bürk [Fri, 17 Feb 2017 08:06:40 +0000 (09:06 +0100)]
Copy the entire window content on Expose events. (#2685)

With commit d58dbc3 we started ignoring Expose events in a sequence
except for the last one. Since we only copied the affected part of
the window in the Expose event handler, this caused incorrectly
rendered window decorations.

Instead of reverting to the old behavior, we now copy the entire window
content on this single, last event with the following rationale:
- It's cheaper to copy a larger chunk once than multiple smaller
  chunks doing one server roundtrip each.
- That's how we do it when rendering out decoration on decoration
  changes as well.

fixes #2683

7 years agoAllow using left/right scrolling like up/down scrolling. 2680/head
Ingo Bürk [Sun, 12 Feb 2017 19:48:44 +0000 (20:48 +0100)]
Allow using left/right scrolling like up/down scrolling.

This commit makes left/right scrolling synonyms for up/down scrolling for
* scrolling on window decoration
* scrolling on i3bar workspaces

fixes #2677

7 years agoIntroduce named aliases for mouse buttons.
Ingo BÃ\83¼rk [Sun, 12 Feb 2017 19:36:42 +0000 (20:36 +0100)]
Introduce named aliases for mouse buttons.

This increases readability and allows us to cover up the fact that
XCB doesn't define constants for left/right scrolling.

7 years agoAdd troubleshooting for title attributes during layout restoring. (#2679)
Ingo Bürk [Sun, 12 Feb 2017 19:24:35 +0000 (20:24 +0100)]
Add troubleshooting for title attributes during layout restoring. (#2679)

7 years agodocument our project governance model (#2675)
Michael Stapelberg [Mon, 6 Feb 2017 18:10:41 +0000 (10:10 -0800)]
document our project governance model (#2675)

7 years agoExplaing the workspace number "1: www" behavior (#2674)
Stefan Hagen [Sun, 5 Feb 2017 17:57:44 +0000 (18:57 +0100)]
Explaing the workspace number "1: www" behavior (#2674)

The documentation did not explain how workspace number `"1: www"` is working.
Related to #2663

Rephrase to cover the creation case

7 years agodocs: focus_follow_mouse only happens at window border crossings (#2669)
Manuel Mendez [Sun, 5 Feb 2017 09:07:21 +0000 (04:07 -0500)]
docs: focus_follow_mouse only happens at window border crossings (#2669)

see #2666

7 years agorestart bar status command on config reload (#2668)
Johannes Lange [Sun, 5 Feb 2017 09:04:35 +0000 (10:04 +0100)]
restart bar status command on config reload (#2668)

Closes #2651

7 years agomigrate i3-config-wizard to draw_util (#2654)
mihaicmn [Wed, 25 Jan 2017 07:18:13 +0000 (09:18 +0200)]
migrate i3-config-wizard to draw_util (#2654)

7 years agoAdded missing cases for workspace event (#2656)
Tobias Hänel [Tue, 24 Jan 2017 16:40:32 +0000 (17:40 +0100)]
Added missing cases for workspace event (#2656)

The possible values "rename", "reload" and "restored" of the property
'change' from the workspace event were missing. Because no events of
those types contain an old workspace, this was trivial.

7 years agoTestcases: Check for required binaries (#2655)
Tony Crisci [Mon, 23 Jan 2017 07:40:08 +0000 (02:40 -0500)]
Testcases: Check for required binaries (#2655)

Fail fast in case test binaries are not built and provide instructions
on how to build them.

7 years agoAdd the ipc shutdown event (#2652)
Tony Crisci [Sun, 22 Jan 2017 22:08:32 +0000 (17:08 -0500)]
Add the ipc shutdown event (#2652)

This event is triggered when the connection to the ipc is about to
shutdown because of a user action such as with a `restart` or `exit`
command. The `change` field indicates why the ipc is shutting down. It
can be either "restart" or "exit".

fixes #2318

7 years agomigrate placeholder windows to draw_util (#2646)
mihaicmn [Sat, 21 Jan 2017 15:53:09 +0000 (17:53 +0200)]
migrate placeholder windows to draw_util (#2646)

7 years agomigrate i3-input to draw_util (#2645)
mihaicmn [Sat, 21 Jan 2017 15:30:31 +0000 (17:30 +0200)]
migrate i3-input to draw_util (#2645)

7 years agomigrate i3-nagbar to draw_util (#2644)
mihaicmn [Sat, 21 Jan 2017 15:25:21 +0000 (17:25 +0200)]
migrate i3-nagbar to draw_util (#2644)

7 years agoUpdate userguide (#2647)
fred777 [Sat, 21 Jan 2017 12:21:32 +0000 (13:21 +0100)]
Update userguide (#2647)

key identifier Esc is invalid, use Escape instead

7 years agoEnsure that marks and the title are displayed even if the window title is empty....
Ingo Bürk [Mon, 16 Jan 2017 22:00:01 +0000 (23:00 +0100)]
Ensure that marks and the title are displayed even if the window title is empty. (#2639)

Previously rendering marks and the title were skipped if the title is empty. With marks
this is obviously wrong, with the title it is also wrong because title_format might be
set.

7 years agoDon't exit() on redefined binding mode. (#2638)
Ingo Bürk [Fri, 13 Jan 2017 18:01:36 +0000 (19:01 +0100)]
Don't exit() on redefined binding mode. (#2638)

Doing a hard exit() is a rather harsh action for something i3 can handle
perfectly fine and is only meant to be a check to make debugging easier
for users in certain situations.

7 years agoOnly react on the last Expose event in a series of events. (#2636)
Ingo Bürk [Fri, 13 Jan 2017 17:34:58 +0000 (18:34 +0100)]
Only react on the last Expose event in a series of events. (#2636)

Thanks to @psychon for pointing this out during the review of PR #2624.
This commit extends this change to all other occurences of Expose events
within i3.

7 years agoFix blinking test. (#2637)
Ingo Bürk [Fri, 13 Jan 2017 17:34:28 +0000 (18:34 +0100)]
Fix blinking test. (#2637)

Thanks to @sandsmark for figuring this out.

7 years agoRemove unused function arguments. (#2635)
Ingo Bürk [Fri, 13 Jan 2017 17:34:09 +0000 (18:34 +0100)]
Remove unused function arguments. (#2635)

The connection is no longer necessary since the non-cairo paths have
been removed.

7 years agoValidate that a binding mode is not defined more than once. (#2633)
Ingo Bürk [Fri, 13 Jan 2017 17:33:29 +0000 (18:33 +0100)]
Validate that a binding mode is not defined more than once. (#2633)

While defining the same mode usually wouldn't hurt and, in fact, the old behavior
allows to split the definition of a binding mode into several blocks, this
can lead to user errors where they accidentally define a mode twice and don't understand
why the mode behaves a certain way (this has been observed in real life :-)).

There's no good usecase for splitting a single binding mode into multiple blocks, thus
the new behavior is better.

fixes #2615

7 years agoAdded support for _NET_MOVERESIZE_WINDOW. (#2634)
Ingo Bürk [Fri, 13 Jan 2017 17:30:50 +0000 (18:30 +0100)]
Added support for _NET_MOVERESIZE_WINDOW. (#2634)

fixes #2603

7 years agoFree trayclient when removing it. (#2632)
Ingo Bürk [Fri, 13 Jan 2017 17:28:29 +0000 (18:28 +0100)]
Free trayclient when removing it. (#2632)

fixes #2619

7 years agoMerge pull request #2624 from Airblader/bug-2422
Michael Stapelberg [Wed, 11 Jan 2017 19:47:18 +0000 (11:47 -0800)]
Merge pull request #2624 from Airblader/bug-2422

Rewrite the signal handler dialogs.

7 years agoMerge pull request #2629 from nmschulte/next
Michael Stapelberg [Wed, 11 Jan 2017 19:47:08 +0000 (11:47 -0800)]
Merge pull request #2629 from nmschulte/next

fix conditional in configure script

7 years agofix conditional in configure script 2629/head
Nathan Schulte [Wed, 11 Jan 2017 02:48:59 +0000 (20:48 -0600)]
fix conditional in configure script