]> git.sur5r.net Git - i3/i3/log
i3/i3
7 years agobump version to 0.11
Michael Stapelberg [Tue, 10 Jul 2012 16:55:30 +0000 (18:55 +0200)]
bump version to 0.11

7 years agotaint mode fix for FreeBSD
Michael Stapelberg [Tue, 10 Jul 2012 16:55:05 +0000 (18:55 +0200)]
taint mode fix for FreeBSD

7 years agobump version to 0.10
Michael Stapelberg [Mon, 9 Jul 2012 13:54:26 +0000 (15:54 +0200)]
bump version to 0.10

7 years agoupdate copyright and URL/email
Michael Stapelberg [Mon, 9 Jul 2012 13:51:37 +0000 (15:51 +0200)]
update copyright and URL/email

7 years agouse i3 --get-socketpath by default for determining the socket path
Michael Stapelberg [Mon, 9 Jul 2012 13:49:16 +0000 (15:49 +0200)]
use i3 --get-socketpath by default for determining the socket path

This was introduced in i3 v4.1 (released 2011-11-11, so should be
widespread enough by now).

7 years agoRevert "implement the GET_LOG_MARKERS request" (no longer available)
Michael Stapelberg [Sat, 21 Jan 2012 22:00:04 +0000 (22:00 +0000)]
Revert "implement the GET_LOG_MARKERS request" (no longer available)

This reverts commit 7e2ed06447af5e3b49af69dd24e2a5dec373ad9c.

7 years agoBugfix: Also delete callbacks which are triggered due to an error
Michael Stapelberg [Sat, 21 Jan 2012 21:59:12 +0000 (21:59 +0000)]
Bugfix: Also delete callbacks which are triggered due to an error

7 years agoimplement the GET_LOG_MARKERS request
Michael Stapelberg [Sat, 10 Dec 2011 11:37:43 +0000 (11:37 +0000)]
implement the GET_LOG_MARKERS request

Requires i3 version 966c654112561b21fca076a8e967033510da9981 or later.

7 years agoBump version to 0.09
Michael Stapelberg [Thu, 20 Oct 2011 19:28:04 +0000 (20:28 +0100)]
Bump version to 0.09

7 years agoAdd TYPE_GET_MARKS and accompanying sugar method
Michael Stapelberg [Wed, 12 Oct 2011 22:26:04 +0000 (23:26 +0100)]
Add TYPE_GET_MARKS and accompanying sugar method

7 years agoFix documentation for get_marks (s/tree/marks)
Michael Stapelberg [Wed, 12 Oct 2011 22:25:56 +0000 (23:25 +0100)]
Fix documentation for get_marks (s/tree/marks)

7 years agoBump version to 0.08
Michael Stapelberg [Mon, 26 Sep 2011 18:26:18 +0000 (19:26 +0100)]
Bump version to 0.08

7 years agoImplement support for the TYPE_GET_MARKS request, add ->get_marks sugar method
Michael Stapelberg [Mon, 26 Sep 2011 18:25:59 +0000 (19:25 +0100)]
Implement support for the TYPE_GET_MARKS request, add ->get_marks sugar method

7 years agoBugfix: The synopsis mentioned ->workspaces, but it’s ->get_workspaces
Michael Stapelberg [Mon, 26 Sep 2011 18:25:38 +0000 (19:25 +0100)]
Bugfix: The synopsis mentioned ->workspaces, but it’s ->get_workspaces

7 years agointroduce get_tree request (tree branch only)
Michael Stapelberg [Sun, 21 Nov 2010 20:52:43 +0000 (21:52 +0100)]
introduce get_tree request (tree branch only)

7 years agoAdd check to Makefile to abort in a Windows environment (neither i3 nor unix sockets...
Michael Stapelberg [Wed, 16 Jun 2010 17:40:55 +0000 (19:40 +0200)]
Add check to Makefile to abort in a Windows environment (neither i3 nor unix sockets available)

Hopefully, this will stop CPAN Testers emails about failing tests on windows.

7 years agobump version
Michael Stapelberg [Wed, 9 Jun 2010 22:20:11 +0000 (00:20 +0200)]
bump version

7 years agouse getpwuid() to resolve ~ in socket paths instead of glob()
Michael Stapelberg [Wed, 9 Jun 2010 22:18:50 +0000 (00:18 +0200)]
use getpwuid() to resolve ~ in socket paths instead of glob()

This fixes a warning about using a tainted variable (broke the
tests with newer perl versions).

7 years agouse new default ipc-socket path, glob() path, bump version
Michael Stapelberg [Sat, 27 Mar 2010 13:54:30 +0000 (14:54 +0100)]
use new default ipc-socket path, glob() path, bump version

7 years agoBump version for new CPAN upload, fix MANIFEST
Michael Stapelberg [Fri, 26 Mar 2010 18:48:59 +0000 (19:48 +0100)]
Bump version for new CPAN upload, fix MANIFEST

7 years agobump version to 0.02, update MANIFEST
Michael Stapelberg [Tue, 23 Mar 2010 01:07:02 +0000 (02:07 +0100)]
bump version to 0.02, update MANIFEST

7 years agoadd testcase for sugar methods
Michael Stapelberg [Tue, 23 Mar 2010 01:05:33 +0000 (02:05 +0100)]
add testcase for sugar methods

7 years agoImplement _error callback
Michael Stapelberg [Tue, 23 Mar 2010 01:04:28 +0000 (02:04 +0100)]
Implement _error callback

7 years agoAdd sugar methods for easier usage
Michael Stapelberg [Mon, 22 Mar 2010 22:23:07 +0000 (23:23 +0100)]
Add sugar methods for easier usage

7 years agoRemove obsolete paragraph about the need for a second connection
Michael Stapelberg [Mon, 22 Mar 2010 22:22:42 +0000 (23:22 +0100)]
Remove obsolete paragraph about the need for a second connection

Due to the event-based handling of incoming data from i3 we do not
suffer from this problem.

7 years agoUse $self->message in subscribe
Michael Stapelberg [Mon, 22 Mar 2010 21:33:26 +0000 (22:33 +0100)]
Use $self->message in subscribe

7 years agokill left-over variable
Michael Stapelberg [Mon, 22 Mar 2010 21:22:46 +0000 (22:22 +0100)]
kill left-over variable

7 years agoUse only 'import' of 'Exporter'
Michael Stapelberg [Mon, 22 Mar 2010 20:50:41 +0000 (21:50 +0100)]
Use only 'import' of 'Exporter'

7 years agoreformat perldoc paragraph
Michael Stapelberg [Mon, 22 Mar 2010 20:43:05 +0000 (21:43 +0100)]
reformat perldoc paragraph

7 years agouse constant instead of magic number
Michael Stapelberg [Mon, 22 Mar 2010 20:42:35 +0000 (21:42 +0100)]
use constant instead of magic number

7 years agoGet rid of _bytelength, use encode_utf8 and length instead. Correctly check for scalar
Michael Stapelberg [Mon, 22 Mar 2010 20:37:44 +0000 (21:37 +0100)]
Get rid of _bytelength, use encode_utf8 and length instead. Correctly check for scalar

7 years agoBugfix: Handle message_type == 0
Michael Stapelberg [Mon, 22 Mar 2010 20:37:33 +0000 (21:37 +0100)]
Bugfix: Handle message_type == 0

7 years agoAdd new constants
Michael Stapelberg [Fri, 19 Mar 2010 21:35:19 +0000 (22:35 +0100)]
Add new constants

7 years agoupdate MANIFEST correctly (use MANIFEST.SKIP instead of ignore.txt)
Michael Stapelberg [Sat, 13 Mar 2010 17:30:46 +0000 (18:30 +0100)]
update MANIFEST correctly (use MANIFEST.SKIP instead of ignore.txt)

7 years agoUpdate MANIFEST
Michael Stapelberg [Sat, 13 Mar 2010 17:27:32 +0000 (18:27 +0100)]
Update MANIFEST

7 years agoProvide constants for message types
Michael Stapelberg [Sat, 13 Mar 2010 17:17:12 +0000 (18:17 +0100)]
Provide constants for message types

7 years agoExpand testcase for the get_workspaces message (needs i3 to be running)
Michael Stapelberg [Sat, 13 Mar 2010 16:38:59 +0000 (17:38 +0100)]
Expand testcase for the get_workspaces message (needs i3 to be running)

7 years agoReturn connection status in condvar in $i3->connect
Michael Stapelberg [Sat, 13 Mar 2010 16:38:32 +0000 (17:38 +0100)]
Return connection status in condvar in $i3->connect

7 years agokill boilerplate
Michael Stapelberg [Sat, 13 Mar 2010 16:21:52 +0000 (17:21 +0100)]
kill boilerplate

7 years agoprefix internal subs with _
Michael Stapelberg [Sat, 13 Mar 2010 16:19:38 +0000 (17:19 +0100)]
prefix internal subs with _

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