]> git.sur5r.net Git - i3/i3/log
i3/i3
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 'master' into next
Michael Stapelberg [Wed, 9 Oct 2013 17:49:48 +0000 (19:49 +0200)]
Merge branch 'master' into next

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 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'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Sat, 29 Jun 2013 21:47:29 +0000 (23:47 +0200)]
Merge branch 'master' into next

11 years agoBugfix: call i3-nagbar correctly for configfiles without the font directive (Thanks...
Michael Stapelberg [Sat, 29 Jun 2013 21:46:53 +0000 (23:46 +0200)]
Bugfix: call i3-nagbar correctly for configfiles without the font directive (Thanks xeen)

fixes #1030

11 years agoStore aspect_ratio instead of weird proportional_{width,height} (Thanks phillip)
Michael Stapelberg [Sat, 29 Jun 2013 21:11:54 +0000 (23:11 +0200)]
Store aspect_ratio instead of weird proportional_{width,height} (Thanks phillip)

This commit only goes to “next” because I am not sure whether it
actually makes things better in all cases and want to give it some
testing first.

There was no documented reason behind using the
proportional_{width,height} variables, so I suppose that code was just
stupidity on my part (it was written merely a month after I started this
project in 2009).

fixes #1032

11 years agoMerge branch 'fix-whitespace'
Michael Stapelberg [Sat, 29 Jun 2013 18:58:51 +0000 (20:58 +0200)]
Merge branch 'fix-whitespace'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Sat, 29 Jun 2013 18:58:51 +0000 (20:58 +0200)]
Merge branch 'master' into next

11 years agotests: update t/172-start-on-named-ws.t to check the previous commit
Michael Stapelberg [Sat, 29 Jun 2013 18:58:33 +0000 (20:58 +0200)]
tests: update t/172-start-on-named-ws.t to check the previous commit

11 years agoBugfix: Ignore spaces in front of default workspace name
Eika Enge [Sun, 26 May 2013 11:24:55 +0000 (18:24 +0700)]
Bugfix: Ignore spaces in front of default workspace name

11 years agoMerge branch 'fix-floating-criteria'
Michael Stapelberg [Sat, 29 Jun 2013 18:28:07 +0000 (20:28 +0200)]
Merge branch 'fix-floating-criteria'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Sat, 29 Jun 2013 18:28:07 +0000 (20:28 +0200)]
Merge branch 'master' into next

11 years agoBugfix: fix focus handling in 'floating disable' on non-visible windows (Thanks necoro)
Michael Stapelberg [Sat, 29 Jun 2013 18:27:33 +0000 (20:27 +0200)]
Bugfix: fix focus handling in 'floating disable' on non-visible windows (Thanks necoro)

fixes #1027

11 years agoMerge branch 'fix-unaligned-memory'
Michael Stapelberg [Sat, 29 Jun 2013 17:28:41 +0000 (19:28 +0200)]
Merge branch 'fix-unaligned-memory'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Sat, 29 Jun 2013 17:28:41 +0000 (19:28 +0200)]
Merge branch 'master' into next

11 years agoBugfix: fix bus error on OpenBSD/sparc64 (Thanks tobiasu)
Michael Stapelberg [Sat, 29 Jun 2013 17:28:13 +0000 (19:28 +0200)]
Bugfix: fix bus error on OpenBSD/sparc64 (Thanks tobiasu)

fixes #1034

11 years agoMerge branch 'fix-nagbar'
Michael Stapelberg [Thu, 27 Jun 2013 22:14:30 +0000 (00:14 +0200)]
Merge branch 'fix-nagbar'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Thu, 27 Jun 2013 22:14:30 +0000 (00:14 +0200)]
Merge branch 'master' into next

11 years agoi3-nagbar: Bugfix: -m requires an argument (crashes if none specified) (Thanks Mayhem)
Michael Stapelberg [Thu, 27 Jun 2013 22:14:09 +0000 (00:14 +0200)]
i3-nagbar: Bugfix: -m requires an argument (crashes if none specified) (Thanks Mayhem)

11 years agoAdd a few things to .gitignore
Alexander Berntsen [Sun, 23 Jun 2013 12:22:04 +0000 (14:22 +0200)]
Add a few things to .gitignore

11 years agoFix incorrect comment
Alexander Berntsen [Wed, 5 Jun 2013 13:08:47 +0000 (15:08 +0200)]
Fix incorrect comment

11 years agoUpdate parent urgency hint if a child is removed.
oblique [Wed, 12 Jun 2013 01:40:37 +0000 (04:40 +0300)]
Update parent urgency hint if a child is removed.

11 years agoadd a testcase for the shmlog command
Michael Stapelberg [Sun, 23 Jun 2013 20:14:59 +0000 (22:14 +0200)]
add a testcase for the shmlog command

11 years agoreset shmlogname when disabling the log
Michael Stapelberg [Sun, 23 Jun 2013 20:14:39 +0000 (22:14 +0200)]
reset shmlogname when disabling the log

This makes the i3-dump-log error message more helpful.

11 years agouserguide: improve the shmlog docs
Michael Stapelberg [Sun, 23 Jun 2013 19:52:13 +0000 (21:52 +0200)]
userguide: improve the shmlog docs

• the section heading needs === instead of ==
• better title
• explain what shared memory logging does and where to find more
  information
• add syntax section
• improve examples
• clarify that shmlog <size> discards the current log

11 years agoImplement shmlog command
Alexander Berntsen [Wed, 5 Jun 2013 13:04:57 +0000 (15:04 +0200)]
Implement shmlog command

Add shmlog command that takes <size>|toggle|on|off. Separate logbuffer
management into open_logbuffer() and close_logbuffer(). Make
t/187-commands-parser.t expect 'shmlog'. Add update_shmlog_atom() to
update the SHMLOG_PATH. Document the shmlog command in userguide.

11 years agoMake default shmlog_size a const int
Alexander Berntsen [Wed, 5 Jun 2013 12:59:05 +0000 (14:59 +0200)]
Make default shmlog_size a const int

11 years agoAdd 'NoDisplay=true' to i3.application.desktop
Simon Wesp [Wed, 12 Jun 2013 16:58:48 +0000 (18:58 +0200)]
Add 'NoDisplay=true' to i3.application.desktop

11 years agoBugfix: s/i3bar/i3-nagbar/ (Thanks badboy)
Michael Stapelberg [Mon, 10 Jun 2013 21:23:22 +0000 (23:23 +0200)]
Bugfix: s/i3bar/i3-nagbar/ (Thanks badboy)

11 years agoremove unused pathlen (Thanks gcc)
Michael Stapelberg [Mon, 10 Jun 2013 21:10:46 +0000 (23:10 +0200)]
remove unused pathlen (Thanks gcc)

11 years agoretab! get_exe_path.c
Michael Stapelberg [Mon, 10 Jun 2013 21:08:42 +0000 (23:08 +0200)]
retab! get_exe_path.c

We seriously need auto-formatting.

11 years agoBugfix: sizeof(destpath)-1 to have space for the trailing NUL (Thanks Merovius)
Michael Stapelberg [Mon, 10 Jun 2013 21:08:17 +0000 (23:08 +0200)]
Bugfix: sizeof(destpath)-1 to have space for the trailing NUL (Thanks Merovius)

11 years agoi3-nagbar: take our terminal execution kludge to the next level
Michael Stapelberg [Mon, 10 Jun 2013 20:55:39 +0000 (22:55 +0200)]
i3-nagbar: take our terminal execution kludge to the next level

Please read commit 2bf80528bdb2814331f9149289a0dd1e3422282b first.
Then read the comment within the code of this commit.
Then run in circles and cry loudly.

fixes #1002
fixes #1026

11 years agore-shuffle struct members to save a bit of memory
Michael Stapelberg [Sat, 8 Jun 2013 13:37:41 +0000 (15:37 +0200)]
re-shuffle struct members to save a bit of memory

Analysis done with pahole(1).

11 years agolib/i3test: clarify how to identify open_window() windows in i3 commands (Thanks...
Michael Stapelberg [Sat, 8 Jun 2013 10:48:32 +0000 (12:48 +0200)]
lib/i3test: clarify how to identify open_window() windows in i3 commands (Thanks vandannen)

11 years agoFix wrong placement of i3bar when connecting/disconnecting outputs
haptix@web.de [Wed, 29 May 2013 16:02:46 +0000 (18:02 +0200)]
Fix wrong placement of i3bar when connecting/disconnecting outputs

When connecting or disconnecting an output, i3bar reconfigures its
windows. This also included an unmapping of the bars, and a remapping of
all docked bars. Thus, the bars were misplaced when a monitor was
disconnected.

This commit assures that the remapping of the bars only takes place,
when the mode has actually changed. This patch also takes care of an
inconsistency when pressing the bar_modifier while switching the mode.
Also, the xkbDisplay is now closed correctly, when deregestering the xkb
keyevents.

11 years agoMerge branch 'fix-unmap'
Michael Stapelberg [Tue, 28 May 2013 17:56:57 +0000 (19:56 +0200)]
Merge branch 'fix-unmap'