]> git.sur5r.net Git - i3/i3/log
i3/i3
11 years agoMerge branch 'fix-urgent-crash'
Michael Stapelberg [Fri, 22 Nov 2013 16:09:28 +0000 (17:09 +0100)]
Merge branch 'fix-urgent-crash'

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

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

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

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

fixes: #1121

11 years 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 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 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 agoMerge branch 'fix-flattening'
Michael Stapelberg [Sun, 1 Sep 2013 11:35:19 +0000 (13:35 +0200)]
Merge branch 'fix-flattening'

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 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 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 agoMerge branch 'fix-userguide'
Michael Stapelberg [Mon, 12 Aug 2013 07:13:55 +0000 (09:13 +0200)]
Merge branch 'fix-userguide'

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

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

11 years agoBugfix: Unmap windows before reparenting them to the root window (fixes Mathematica...
Michael Stapelberg [Tue, 28 May 2013 17:52:01 +0000 (19:52 +0200)]
Bugfix: Unmap windows before reparenting them to the root window (fixes Mathematica) (Thanks psychon)

Some apps such as Mathematica send a synthetic UnmapNotify event without
properly unmapping their window first. This change makes sure that
happens and fixes an annoying bug with Mathematica where some unmanaged
windows would stay around, but you couldn’t do anything with them.

Thanks to psychon (current awesome maintainer) for helping with the
diagnosis!

fixes #787

11 years agomanage.c: use xcb_discard_reply() instead of free()ing the reply (Thanks psychon)
Michael Stapelberg [Tue, 28 May 2013 16:57:26 +0000 (18:57 +0200)]
manage.c: use xcb_discard_reply() instead of free()ing the reply (Thanks psychon)

11 years agointroduced i3 command for changing the hidden state and the mode of i3bar
haptix@web.de [Sat, 25 May 2013 12:30:00 +0000 (14:30 +0200)]
introduced i3 command for changing the hidden state and the mode of i3bar

The hidden_state and mode of each i3bar instance can now be controlled from within i3.
Therefore, two new i3 command were introduced:
    _
    bar hidden_state show|hide|toggle [<bar_id>]

    show: always show the bar
    hide: normal hide mode
    toggle: toggle between show and hide (individually for each bar)
    _
    bar mode dock|hide|invisible|toggle [<bar_id>]

    hide,dock: like before
    invisible: always keep the bar hidden
    toggle: toggle between dock and hide (individually for each bar)

This patch introduces a hidden_state ("hidden_state hide|show") in the
barconfig, which indicates the current hidden_state of each i3bar
instance. It only affects the bar when in hide mode. Additionally, a new
invisible mode was introduced. In order to change the hidden_state or
mode of the bar from i3, a barconfig-update event was introduced, for
which a bar can subscribe and the bar then gets notified about the
currently set hidden_state and mode in its barconfig.

For convenience, an id field ("id <bar_id>") was added to the barconfig, where one can
set the desired id for the corresponding bar. If the id is not specified, i3 will
deterministically choose an id; otherwise, with the previous random approach for finding
a new id, which is actually not shared with i3bar, as it would determine its id on
startup, the event-subscription would be destroyed on reload. Still, this issue remains
when manually changing the bar_id in the config and then reloading.

fixes #833, #651

11 years agoFix problem when moving fullscreen window to scratchpad
haptix@web.de [Fri, 24 May 2013 13:02:04 +0000 (15:02 +0200)]
Fix problem when moving fullscreen window to scratchpad

When moving a fullscreen window to scratchpad with 'move scratchpad', the
focused window would stay fullscreen.

Also, when having a container in fullscreen mode and then focusing a child of
this container and moving it to scratchpad, it would enable fullscreen for
the child window.

This patch fixes both problems, so the scratchpad window is always floating.

11 years agoDraw indicator border only for split layouts
Diego Ongaro [Mon, 29 Apr 2013 08:14:11 +0000 (01:14 -0700)]
Draw indicator border only for split layouts

In order to distinguish split layouts from tabbed/stacking layouts when
only one window is shown, do not draw the indicator border for tabbed or
stacking layouts.

11 years agoGive layout enum a name: layout_t
Diego Ongaro [Wed, 22 May 2013 04:28:13 +0000 (21:28 -0700)]
Give layout enum a name: layout_t

11 years agoi3-msg.man: updated man page to include all options
Arun Persaud [Tue, 21 May 2013 15:32:05 +0000 (08:32 -0700)]
i3-msg.man: updated man page to include all options

-s, -v, -q and -h options were not documented.

11 years agoi3bar: Fix pixel offset calculation in dual-head
Thomas Adam [Sun, 12 May 2013 16:49:23 +0000 (17:49 +0100)]
i3bar: Fix pixel offset calculation in dual-head

When running i3bar on a dual-head display with workspaces enabled in i3bar's
config, the second monitor wouldn't use a correct x position offset and
would draw its label too close to the screen's edge.  In comparison to the
first monitor, this is inconsistent because that starts with a pixel offset
of 1.

11 years agocontrib/gtk-tree-watch.pl: Remove bogus default socket path
Diego Ongaro [Wed, 1 May 2013 05:23:03 +0000 (22:23 -0700)]
contrib/gtk-tree-watch.pl: Remove bogus default socket path

The default i3 socket path was set to "/tmp/nestedcons". This isn't
going to work for most people.

11 years agocontrib/dump-asy.pl: Display nicer double-quotes
Diego Ongaro [Wed, 1 May 2013 05:14:14 +0000 (22:14 -0700)]
contrib/dump-asy.pl: Display nicer double-quotes

The right way to do this in LaTeX is ``foo'', not "foo".

11 years agocontrib/dump-asy.pl: Fix $ and & in window titles
Diego Ongaro [Wed, 1 May 2013 05:12:33 +0000 (22:12 -0700)]
contrib/dump-asy.pl: Fix $ and & in window titles

These would produce asy/LaTeX parse errors before.

11 years agoMerge branch 'fix-aspect'
Michael Stapelberg [Tue, 23 Apr 2013 05:18:39 +0000 (07:18 +0200)]
Merge branch 'fix-aspect'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Tue, 23 Apr 2013 05:18:39 +0000 (07:18 +0200)]
Merge branch 'master' into next

11 years agorender_con: fix height rounding in aspect ratio computation
Clément Bœsch [Sat, 20 Apr 2013 21:47:37 +0000 (23:47 +0200)]
render_con: fix height rounding in aspect ratio computation

With a 484x292 window and proportion of 488x294, new_height is
291.590164 after the loop, causing a rounding issue leading to a window
of 484x291.

11 years agoMerge branch 'fix-resize'
Michael Stapelberg [Mon, 15 Apr 2013 19:01:27 +0000 (21:01 +0200)]
Merge branch 'fix-resize'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Mon, 15 Apr 2013 19:01:27 +0000 (21:01 +0200)]
Merge branch 'master' into next

11 years agoEnsure that resize will take place even if pixel is smaller than size increments.
oblique [Mon, 15 Apr 2013 18:30:22 +0000 (21:30 +0300)]
Ensure that resize will take place even if pixel is smaller than size increments.

fixes #1011

11 years agoMerge branch 'fix-tray-output'
Michael Stapelberg [Sun, 14 Apr 2013 20:54:36 +0000 (22:54 +0200)]
Merge branch 'fix-tray-output'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 14 Apr 2013 20:54:36 +0000 (22:54 +0200)]
Merge branch 'master' into next

11 years agoBugfix: fix crash when not having tray_output configured (Thanks Layus)
Michael Stapelberg [Sun, 14 Apr 2013 20:54:15 +0000 (22:54 +0200)]
Bugfix: fix crash when not having tray_output configured (Thanks Layus)

11 years agoMerge branch 'fix-ipc-fd'
Michael Stapelberg [Sun, 14 Apr 2013 08:14:51 +0000 (10:14 +0200)]
Merge branch 'fix-ipc-fd'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 14 Apr 2013 08:14:51 +0000 (10:14 +0200)]
Merge branch 'master' into next

11 years agoBugfix: mark IPC fd CLOEXEC (Thanks Layus)
Michael Stapelberg [Sun, 14 Apr 2013 08:12:21 +0000 (10:12 +0200)]
Bugfix: mark IPC fd CLOEXEC (Thanks Layus)

Without this fix, children of i3bar would inherit the file descriptor of
the IPC connection to i3. Therefore, even if i3bar exits with SIGSEGV,
the connection to i3 stays open. Because nobody actually reads any
messages by i3, the buffer will fill up and i3 can’t deliver any more
messages, and thus busy-loops at that point.

fixes #995

11 years agofix font display height in i3bar
haptix@web.de [Sat, 13 Apr 2013 10:28:01 +0000 (12:28 +0200)]
fix font display height in i3bar

Increase the drawing area height, in order to prevent the font from being cut off.

fixes #992

11 years agounhide hidden i3bar when mode is active
haptix@web.de [Thu, 11 Apr 2013 22:09:40 +0000 (00:09 +0200)]
unhide hidden i3bar when mode is active

This patch also handles unhiding of i3bar in case the i3bar modifier key is
pressed for activating a new binding mode.

11 years agoDocument fixes and workarounds for test failures.
Eric S. Raymond [Sun, 7 Apr 2013 21:02:28 +0000 (17:02 -0400)]
Document fixes and workarounds for test failures.

11 years agoTypo and usage fixes in documentation and comments.
Eric S. Raymond [Sun, 7 Apr 2013 14:56:20 +0000 (10:56 -0400)]
Typo and usage fixes in documentation and comments.

11 years agounhide hidden i3bar when mode is active
haptix@web.de [Sun, 7 Apr 2013 14:24:21 +0000 (16:24 +0200)]
unhide hidden i3bar when mode is active

fixes #961

11 years agorestore i3bar compatibility with libyajl version 1
haptix@web.de [Sat, 6 Apr 2013 12:50:46 +0000 (14:50 +0200)]
restore i3bar compatibility with libyajl version 1

fixes #1004

11 years agoraise fullscreen windows on top of all other X11 windows
Michael Stapelberg [Sun, 7 Apr 2013 13:38:00 +0000 (15:38 +0200)]
raise fullscreen windows on top of all other X11 windows

Note that this is ineffective for dunst’s notifications because dunst
re-raises them as soon as they get obscured. It does work for dzen2
however, which was the original use-case.

fixes #569

11 years agodocs/wsbar: update (we have i3bar now, i3-wsbar is just an example)
Michael Stapelberg [Sun, 7 Apr 2013 08:23:49 +0000 (10:23 +0200)]
docs/wsbar: update (we have i3bar now, i3-wsbar is just an example)

fixes #735

11 years agoMerge branch 'fix-tab-width'
Michael Stapelberg [Sun, 7 Apr 2013 08:00:42 +0000 (10:00 +0200)]
Merge branch 'fix-tab-width'

11 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 7 Apr 2013 08:00:42 +0000 (10:00 +0200)]
Merge branch 'master' into next

11 years agotabbed: floor(), put extra pixels into the last tab (Thanks xeen)
Michael Stapelberg [Sun, 7 Apr 2013 07:58:34 +0000 (09:58 +0200)]
tabbed: floor(), put extra pixels into the last tab (Thanks xeen)

This is the only sane way I can think of to deal with the problem that
the screen size may not be dividable by the amount of tabbed children
(e.g. 1280 / 41 = 31.219512…).

fixes #645
fixes #791

11 years agodocs/multi-monitor: nVidia ≥ 302.17 works just fine (Thanks HedgeMage)
Michael Stapelberg [Sat, 6 Apr 2013 20:49:14 +0000 (22:49 +0200)]
docs/multi-monitor: nVidia ≥ 302.17 works just fine (Thanks HedgeMage)