]> git.sur5r.net Git - i3/i3/log
i3/i3
12 years agotestsuite: Makefile.PL: do not rename Makefile while running make clean
Maik Fischer [Sat, 12 Nov 2011 00:51:18 +0000 (01:51 +0100)]
testsuite: Makefile.PL: do not rename Makefile while running make clean

12 years agotests: replace left-over move before/after commands (Thanks mxf)
Michael Stapelberg [Mon, 21 Nov 2011 18:54:20 +0000 (18:54 +0000)]
tests: replace left-over move before/after commands (Thanks mxf)

12 years agotests: add t/180-fd-leaks to ensure i3 does not leak fds on exec
Michael Stapelberg [Sun, 20 Nov 2011 10:52:21 +0000 (10:52 +0000)]
tests: add t/180-fd-leaks to ensure i3 does not leak fds on exec

12 years agocomplete-run: close all fds except for 0, 1, 2
Michael Stapelberg [Sun, 20 Nov 2011 10:51:21 +0000 (10:51 +0000)]
complete-run: close all fds except for 0, 1, 2

running in a VIM subshell leads to one more fd, for example

12 years agocomplete-run: close the old socket fd
Michael Stapelberg [Sun, 20 Nov 2011 10:24:13 +0000 (10:24 +0000)]
complete-run: close the old socket fd

13 years agoAlso check for empty $PAGER/$VISUAL/$EDITOR in i3-sensible-{editor,pager}
Michael Stapelberg [Sat, 19 Nov 2011 14:10:39 +0000 (14:10 +0000)]
Also check for empty $PAGER/$VISUAL/$EDITOR in i3-sensible-{editor,pager}

13 years agoi3-sensible-terminal: check $TERMINAL to not call 'which' without parameters (Thanks...
Michael Stapelberg [Sat, 19 Nov 2011 14:08:18 +0000 (14:08 +0000)]
i3-sensible-terminal: check $TERMINAL to not call 'which' without parameters (Thanks Fandekasp)

13 years agoclarify comments about socket activation (Thanks mxf)
Michael Stapelberg [Wed, 16 Nov 2011 23:14:57 +0000 (23:14 +0000)]
clarify comments about socket activation (Thanks mxf)

13 years agolibi3/ucs2_conversion: tiny style fixes
Michael Stapelberg [Wed, 16 Nov 2011 21:41:55 +0000 (21:41 +0000)]
libi3/ucs2_conversion: tiny style fixes

13 years agotests: store temp configs in /tmp/
Michael Stapelberg [Wed, 16 Nov 2011 21:41:45 +0000 (21:41 +0000)]
tests: store temp configs in /tmp/

13 years agotests: Bugfix: Fix socket activation (see comment)
Michael Stapelberg [Wed, 16 Nov 2011 21:41:00 +0000 (21:41 +0000)]
tests: Bugfix: Fix socket activation (see comment)

13 years agoConsolidate all convert_* functions into libi3.
Fernando Tarlá Cardoso Lemos [Fri, 11 Nov 2011 23:18:37 +0000 (21:18 -0200)]
Consolidate all convert_* functions into libi3.

Some minor fixes along the way as well. Very minor stuff, unlikely
to ever be visible to the user.

13 years agodebian: make meta-package i3 depend on the precise version of i3-wm (Thanks Merovius)
Michael Stapelberg [Wed, 16 Nov 2011 20:10:48 +0000 (20:10 +0000)]
debian: make meta-package i3 depend on the precise version of i3-wm (Thanks Merovius)

This has the advantage that apt-get install i3/sid actually does what you expect :).

13 years agodebian: include PNGs of the userguide in docs
Michael Stapelberg [Tue, 15 Nov 2011 23:44:14 +0000 (23:44 +0000)]
debian: include PNGs of the userguide in docs

13 years agouserguide: use bar blocks in the bar related examples
Michael Stapelberg [Tue, 15 Nov 2011 23:42:41 +0000 (23:42 +0000)]
userguide: use bar blocks in the bar related examples

13 years agoipc: set CLOEXEC on client file descriptors (Thanks biiter)
Michael Stapelberg [Tue, 15 Nov 2011 23:39:43 +0000 (23:39 +0000)]
ipc: set CLOEXEC on client file descriptors (Thanks biiter)

13 years agocomplete-run: implement --strace, make --valgrind log to test-specific file
Michael Stapelberg [Tue, 15 Nov 2011 23:30:17 +0000 (23:30 +0000)]
complete-run: implement --strace, make --valgrind log to test-specific file

13 years agouserguide: s/enter/Return (use correct keysym) (Thanks mxf)
Michael Stapelberg [Tue, 15 Nov 2011 20:20:54 +0000 (20:20 +0000)]
userguide: s/enter/Return (use correct keysym) (Thanks mxf)

13 years agolib/SocketActivation: Bugfix: remove old code which leaks the socket file descriptor...
Michael Stapelberg [Tue, 15 Nov 2011 19:54:03 +0000 (19:54 +0000)]
lib/SocketActivation: Bugfix: remove old code which leaks the socket file descriptor to i3

13 years agodocs/userguide: make it clear how to use multiple output directives (Thanks moemoe)
Michael Stapelberg [Sun, 13 Nov 2011 12:54:10 +0000 (12:54 +0000)]
docs/userguide: make it clear how to use multiple output directives (Thanks moemoe)

13 years agodocs/userguide: fix typo (Thanks sycamorex)
Michael Stapelberg [Sun, 13 Nov 2011 10:51:58 +0000 (10:51 +0000)]
docs/userguide: fix typo (Thanks sycamorex)

13 years agodebian: add changelog entry for upcoming version (for autobuilder)
Michael Stapelberg [Fri, 11 Nov 2011 23:00:08 +0000 (23:00 +0000)]
debian: add changelog entry for upcoming version (for autobuilder)

13 years agoMerge branch 'release-4.1' into next
Michael Stapelberg [Fri, 11 Nov 2011 22:49:15 +0000 (22:49 +0000)]
Merge branch 'release-4.1' into next

13 years agoupdate debian/patches 4.1
Michael Stapelberg [Fri, 11 Nov 2011 22:40:38 +0000 (22:40 +0000)]
update debian/patches

13 years agodebian: add new manpages to i3-wm.manpages
Michael Stapelberg [Fri, 11 Nov 2011 22:37:01 +0000 (22:37 +0000)]
debian: add new manpages to i3-wm.manpages

13 years agobump manpage version to 4.1
Michael Stapelberg [Fri, 11 Nov 2011 22:33:45 +0000 (22:33 +0000)]
bump manpage version to 4.1

13 years agoAdd manpages for i3-sensible-{pager,editor,terminal}
Michael Stapelberg [Fri, 11 Nov 2011 22:29:10 +0000 (22:29 +0000)]
Add manpages for i3-sensible-{pager,editor,terminal}

13 years agoupdate debian packaging
Michael Stapelberg [Fri, 11 Nov 2011 22:17:49 +0000 (22:17 +0000)]
update debian packaging

13 years agoAdd release notes for v4.1
Michael Stapelberg [Fri, 11 Nov 2011 21:47:43 +0000 (21:47 +0000)]
Add release notes for v4.1

13 years agodebian: update changelog
Michael Stapelberg [Fri, 11 Nov 2011 21:28:32 +0000 (21:28 +0000)]
debian: update changelog

13 years agoBugfix: Only go to the parent container in resizing if that is actually a split container
Michael Stapelberg [Fri, 11 Nov 2011 19:19:14 +0000 (19:19 +0000)]
Bugfix: Only go to the parent container in resizing if that is actually a split container

(as opposed to a workspace)

This fixes a regression in resizing. We do need testcases for these things.

13 years agoBugfix: Correctly handle --no-startup-id with quoted exec commands (Thanks aksr)
Michael Stapelberg [Fri, 11 Nov 2011 00:28:04 +0000 (00:28 +0000)]
Bugfix: Correctly handle --no-startup-id with quoted exec commands (Thanks aksr)

Parser changes shortly before a release. What could possibly go wrong.

13 years agodocs/userguide: make the bar config reflect reality
Michael Stapelberg [Thu, 10 Nov 2011 23:37:53 +0000 (23:37 +0000)]
docs/userguide: make the bar config reflect reality

Forgot to update this when changing the color.

13 years agoBugfix: Render floating windows after rendering all outputs (Thanks mw)
Michael Stapelberg [Thu, 10 Nov 2011 20:30:51 +0000 (20:30 +0000)]
Bugfix: Render floating windows after rendering all outputs (Thanks mw)

Fixes #548

See the comment on why this is necessary.

13 years agoBugfix: Fix tabbed container resizing check (Thanks julien)
Michael Stapelberg [Thu, 10 Nov 2011 19:35:36 +0000 (19:35 +0000)]
Bugfix: Fix tabbed container resizing check (Thanks julien)

Fixes: #534
Turns out that my check was wrong. We actually just need to make sure we are
dealing with the split container.

13 years agomark parameters const
Michael Stapelberg [Thu, 10 Nov 2011 19:17:36 +0000 (19:17 +0000)]
mark parameters const

13 years agot/154-regress-multiple-dock: s/next v/focus right
Michael Stapelberg [Thu, 10 Nov 2011 18:43:03 +0000 (18:43 +0000)]
t/154-regress-multiple-dock: s/next v/focus right

13 years agoBugfix: Correctly return to initial state after prev/next/back_and_forth (Thanks...
Michael Stapelberg [Thu, 10 Nov 2011 18:42:24 +0000 (18:42 +0000)]
Bugfix: Correctly return to initial state after prev/next/back_and_forth (Thanks Brian)

Fixes: #552
13 years agos/1/true
Michael Stapelberg [Thu, 10 Nov 2011 18:38:29 +0000 (18:38 +0000)]
s/1/true

13 years agoi3bar: fix event handling
Michael Stapelberg [Wed, 9 Nov 2011 23:23:21 +0000 (23:23 +0000)]
i3bar: fix event handling

i3bar would only handle one event at a time instead of all pending events.

13 years agoi3bar: correctly handle unmapped tray clients, reconfigure tray icons after mapping...
Michael Stapelberg [Wed, 9 Nov 2011 23:22:44 +0000 (23:22 +0000)]
i3bar: correctly handle unmapped tray clients, reconfigure tray icons after mapping/unmapping (Thanks IsoLnCHiP)

Fixes #550

13 years agocomplete-run: remove Carp::Always, slipped in when debugging
Michael Stapelberg [Wed, 9 Nov 2011 22:41:56 +0000 (22:41 +0000)]
complete-run: remove Carp::Always, slipped in when debugging

13 years agocomplete-run: don’t print long logfile paths, they are useless by now anyway
Michael Stapelberg [Wed, 9 Nov 2011 22:38:29 +0000 (22:38 +0000)]
complete-run: don’t print long logfile paths, they are useless by now anyway

13 years agoMerge remote-tracking branch 'mxf/complete-run-statusline' into next
Michael Stapelberg [Wed, 9 Nov 2011 22:36:32 +0000 (22:36 +0000)]
Merge remote-tracking branch 'mxf/complete-run-statusline' into next

13 years agoBugfix: Correctly fill the buffer with zeros
Michael Stapelberg [Wed, 9 Nov 2011 22:23:33 +0000 (22:23 +0000)]
Bugfix: Correctly fill the buffer with zeros

13 years agocomplete-run: log verbose output, display statuslines instead
Maik Fischer [Wed, 9 Nov 2011 21:21:10 +0000 (22:21 +0100)]
complete-run: log verbose output, display statuslines instead

13 years agoEnable (unlimited) core dumps when running i3 development versions
Michael Stapelberg [Tue, 8 Nov 2011 22:49:25 +0000 (22:49 +0000)]
Enable (unlimited) core dumps when running i3 development versions

Also prints out useful stuff:

    CORE DUMPS: You are running a development version of i3, so coredumps were
    automatically enabled (ulimit -c unlimited).
    CORE DUMPS: Your current working directory is "/home/michael/i3".
    CORE DUMPS: Your core_pattern is: /tmp/%e.core.%p
    i3 (tree) version 4.0.2-479-g26ab2ac (2011-11-08, branch "next") starting

This does not affect child processes of i3.

The intention of this change is to make debugging easier – it’s one less thing
users of the development version have to worry about when trying to help with
debugging.

13 years agoBugfix: Insert container at the correct position on workspace-level when workspace_la...
Michael Stapelberg [Tue, 8 Nov 2011 20:37:24 +0000 (20:37 +0000)]
Bugfix: Insert container at the correct position on workspace-level when workspace_layout == default

Fixes #533

The problem was that the code was always executed. While it *attaches* the new
container to the workspace container, it also sets current = NULL and thus
always appends the container instead of inserting it after the currently
focused child. So now, we just don’t execute that code at all for
workspace_layout == default.

13 years agodocs/userguide: s/shrinked/shrunk (Thanks f8l)
Michael Stapelberg [Tue, 8 Nov 2011 18:06:44 +0000 (18:06 +0000)]
docs/userguide: s/shrinked/shrunk (Thanks f8l)

13 years agolib/SocketActivation: don’t make POSIX export everything (Thanks mxf)
Michael Stapelberg [Mon, 7 Nov 2011 23:45:28 +0000 (23:45 +0000)]
lib/SocketActivation: don’t make POSIX export everything (Thanks mxf)

13 years agolib/StartXDummy: use close STDOUT, STDERR instead of POSIX::close (Thanks mxf)
Michael Stapelberg [Mon, 7 Nov 2011 23:39:45 +0000 (23:39 +0000)]
lib/StartXDummy: use close STDOUT, STDERR instead of POSIX::close (Thanks mxf)

13 years agoupdate docs/testsuite with the simpler invocation of complete-run.pl
Michael Stapelberg [Mon, 7 Nov 2011 23:22:41 +0000 (23:22 +0000)]
update docs/testsuite with the simpler invocation of complete-run.pl

13 years agoMerge branch 'complete-run' into next
Michael Stapelberg [Mon, 7 Nov 2011 23:18:36 +0000 (23:18 +0000)]
Merge branch 'complete-run' into next

13 years agolib/StartXDummy.pm: document why we use -config /dev/null
Michael Stapelberg [Mon, 7 Nov 2011 23:07:08 +0000 (23:07 +0000)]
lib/StartXDummy.pm: document why we use -config /dev/null

13 years agocomplete-run.pl: automatically start Xdummy instances unless -d is specified
Michael Stapelberg [Mon, 7 Nov 2011 23:04:45 +0000 (23:04 +0000)]
complete-run.pl: automatically start Xdummy instances unless -d is specified

This makes running the testsuite incredibly easy:
    $ ./complete-run.pl
:)

13 years agocomplete-run: Bugfix: return condvar when $dont_start is true
Michael Stapelberg [Mon, 7 Nov 2011 22:38:06 +0000 (22:38 +0000)]
complete-run: Bugfix: return condvar when $dont_start is true

13 years agoi3bar: fix indention in src/child.c
Michael Stapelberg [Mon, 7 Nov 2011 21:34:50 +0000 (21:34 +0000)]
i3bar: fix indention in src/child.c

13 years agoipc: fix memory leaks when clients disconnect
Michael Stapelberg [Mon, 7 Nov 2011 21:34:39 +0000 (21:34 +0000)]
ipc: fix memory leaks when clients disconnect

13 years agocomplete-run.pl: implement --help
Michael Stapelberg [Mon, 7 Nov 2011 21:21:51 +0000 (21:21 +0000)]
complete-run.pl: implement --help

13 years agocomplete-run: Bugfix: Don’t call recv inside a callback when cleanly exiting i3
Michael Stapelberg [Mon, 7 Nov 2011 20:56:36 +0000 (20:56 +0000)]
complete-run: Bugfix: Don’t call recv inside a callback when cleanly exiting i3

13 years agocomplete-run: Use Carp::Always to get nice stacktraces in case of errors
Michael Stapelberg [Mon, 7 Nov 2011 20:56:04 +0000 (20:56 +0000)]
complete-run: Use Carp::Always to get nice stacktraces in case of errors

13 years agolib/SocketActivation: use single quotes (for consistency)
Michael Stapelberg [Mon, 7 Nov 2011 20:54:33 +0000 (20:54 +0000)]
lib/SocketActivation: use single quotes (for consistency)

13 years agocomplete-run: implement --valgrind
Michael Stapelberg [Mon, 7 Nov 2011 20:53:49 +0000 (20:53 +0000)]
complete-run: implement --valgrind

13 years agocomplete-run: pass outdir (not only logpath) to activate_i3()
Michael Stapelberg [Mon, 7 Nov 2011 20:52:14 +0000 (20:52 +0000)]
complete-run: pass outdir (not only logpath) to activate_i3()

13 years agoDon't call free on statically allocated strings.
Fernando Tarlá Cardoso Lemos [Sun, 6 Nov 2011 22:03:47 +0000 (20:03 -0200)]
Don't call free on statically allocated strings.

Fixes segfault when the option -f is used. Also, don't leak prompt
strings. We either keep FREE to prevent leaking, or choose to leak
and avoid strdup. Another option would be using a flag to indicate
whether or not the strings are heap allocated, but it's overkill.

13 years agoPlug minor leaks in string conversion routines.
Fernando Tarlá Cardoso Lemos [Sun, 6 Nov 2011 22:01:25 +0000 (20:01 -0200)]
Plug minor leaks in string conversion routines.

13 years agoi3bar: change default color for active workspace buttons to make them visible
Michael Stapelberg [Mon, 7 Nov 2011 19:52:21 +0000 (19:52 +0000)]
i3bar: change default color for active workspace buttons to make them visible

Previously, you could not figure out which workspace is displayed on a screen
which is not focused.

13 years agoi3bar: fix -h output (Thanks IsoLnCHiP)
Michael Stapelberg [Mon, 31 Oct 2011 20:44:55 +0000 (20:44 +0000)]
i3bar: fix -h output (Thanks IsoLnCHiP)

13 years agoBugfix: RandR: Correctly keep focus on the focused workspace when an output disappear...
Michael Stapelberg [Mon, 31 Oct 2011 12:11:34 +0000 (12:11 +0000)]
Bugfix: RandR: Correctly keep focus on the focused workspace when an output disappears (Thanks AlexanderB, xeen)

13 years agodocs/userguide: clarify proportional resizing with floating modifier (Thanks Donald)
Michael Stapelberg [Sat, 29 Oct 2011 21:58:32 +0000 (22:58 +0100)]
docs/userguide: clarify proportional resizing with floating modifier (Thanks Donald)

13 years agofix t/120-multiple-cmds: open a window before moving
Michael Stapelberg [Thu, 27 Oct 2011 22:30:29 +0000 (23:30 +0100)]
fix t/120-multiple-cmds: open a window before moving

13 years agoError out early if there is nothing to move
Michael Stapelberg [Thu, 27 Oct 2011 22:27:33 +0000 (23:27 +0100)]
Error out early if there is nothing to move

Fixes: #532
13 years agodocs/userguide: update the workspace assignment section
Michael Stapelberg [Thu, 27 Oct 2011 21:45:34 +0000 (22:45 +0100)]
docs/userguide: update the workspace assignment section

13 years agoMake named workspace assignments work again
Michael Stapelberg [Thu, 27 Oct 2011 21:43:53 +0000 (22:43 +0100)]
Make named workspace assignments work again

Please note that you need a quoted string for the workspace name.
Example:
    workspace "1: www" output HDMI2

Fixes: #456
13 years agoBugfix: warp pointer during the EnterNotify-disabled phase
Michael Stapelberg [Thu, 27 Oct 2011 21:29:47 +0000 (22:29 +0100)]
Bugfix: warp pointer during the EnterNotify-disabled phase

Following bug:
1) Assign workspace 9 to output HDMI2
2) On HDMI2, be on workspace 1
3) Focus a different output, say LVDS1
4) Execute i3 'workspace 9'
5) Something happens, but you end up back on ws 1

(this is due to an EnterNotify being generated when warping)

13 years agoMerge branch 'move-floating' into next
Michael Stapelberg [Thu, 27 Oct 2011 20:52:59 +0000 (21:52 +0100)]
Merge branch 'move-floating' into next

13 years agodocs/userguide: Document the move syntax
Michael Stapelberg [Thu, 27 Oct 2011 20:52:39 +0000 (21:52 +0100)]
docs/userguide: Document the move syntax

13 years agoMake 'move' handle floating windows properly
Michael Stapelberg [Thu, 27 Oct 2011 20:46:15 +0000 (21:46 +0100)]
Make 'move' handle floating windows properly

This means you can now specify an amount of pixels for the move command. The
default is 10. Note that this of course only works for floating windows.

Example:
  move left 20 px

13 years agoextend t/124-move.t to test move for floating containers
Michael Stapelberg [Thu, 27 Oct 2011 20:46:01 +0000 (21:46 +0100)]
extend t/124-move.t to test move for floating containers

13 years agot/124-move.t: re-activate test for useless move commands
Michael Stapelberg [Thu, 27 Oct 2011 20:22:41 +0000 (21:22 +0100)]
t/124-move.t: re-activate test for useless move commands

13 years agoBugfix: Don’t invoke resizing when clicking on the decoration in a > 1 child split...
Michael Stapelberg [Thu, 27 Oct 2011 19:36:55 +0000 (20:36 +0100)]
Bugfix: Don’t invoke resizing when clicking on the decoration in a > 1 child split con (Thanks julien)

Fixes: #534
13 years agoBugfix: Only fallback on the font if it’s actually set (Thanks phnom)
Michael Stapelberg [Wed, 26 Oct 2011 20:21:55 +0000 (21:21 +0100)]
Bugfix: Only fallback on the font if it’s actually set (Thanks phnom)

13 years agoAlso call workspace_show() when moving cursor to an empty output (Thanks mw)
Michael Stapelberg [Tue, 25 Oct 2011 22:41:52 +0000 (23:41 +0100)]
Also call workspace_show() when moving cursor to an empty output (Thanks mw)

13 years agoBugfix: Correctly use workspace_show() when focus changes to a different output via...
Michael Stapelberg [Tue, 25 Oct 2011 22:04:10 +0000 (23:04 +0100)]
Bugfix: Correctly use workspace_show() when focus changes to a different output via EnterNotify or FocusIn (Thanks pnutzh4x0r)

This makes i3bar show the correct workspace when you move your mouse from one
output to another.

13 years agoBugfix: properly handle comments in colors {} blocks of bar config (+test) (Thanks...
Michael Stapelberg [Tue, 25 Oct 2011 21:31:57 +0000 (22:31 +0100)]
Bugfix: properly handle comments in colors {} blocks of bar config (+test) (Thanks fernandotcl)

13 years agoMerge branch 'exec_nosn' into next
Michael Stapelberg [Tue, 25 Oct 2011 21:23:35 +0000 (22:23 +0100)]
Merge branch 'exec_nosn' into next

13 years agocomplete-run: clear the DESKTOP_STARTUP_ID environment variable before starting i3
Michael Stapelberg [Tue, 25 Oct 2011 21:21:59 +0000 (22:21 +0100)]
complete-run: clear the DESKTOP_STARTUP_ID environment variable before starting i3

13 years agotests: extend t/175-startup-notification to test the --no-startup-id flag
Michael Stapelberg [Tue, 25 Oct 2011 21:21:37 +0000 (22:21 +0100)]
tests: extend t/175-startup-notification to test the --no-startup-id flag

13 years agodocs/userguide: document the --no-startup-id flag for exec directives in the config
Michael Stapelberg [Tue, 25 Oct 2011 21:21:09 +0000 (22:21 +0100)]
docs/userguide: document the --no-startup-id flag for exec directives in the config

13 years agodocs/userguide: document the --no-startup-id flag
Michael Stapelberg [Tue, 25 Oct 2011 21:18:40 +0000 (22:18 +0100)]
docs/userguide: document the --no-startup-id flag

13 years agoAdd a --no-startup-id flag for exec (command), exec (config), exec_always (config)
Michael Stapelberg [Tue, 25 Oct 2011 21:18:17 +0000 (22:18 +0100)]
Add a --no-startup-id flag for exec (command), exec (config), exec_always (config)

13 years agonormalize file headers across **/*.{h,c}
Michael Stapelberg [Tue, 25 Oct 2011 20:19:38 +0000 (21:19 +0100)]
normalize file headers across **/*.{h,c}

13 years agobar config: fall back to the i3 font (Thanks pl)
Michael Stapelberg [Tue, 25 Oct 2011 19:50:57 +0000 (20:50 +0100)]
bar config: fall back to the i3 font (Thanks pl)

13 years agoi3bar: put tray icons in the save-set (prevents them from crashing when i3bar exits...
Michael Stapelberg [Mon, 24 Oct 2011 19:11:32 +0000 (20:11 +0100)]
i3bar: put tray icons in the save-set (prevents them from crashing when i3bar exits/crashes)

13 years agoClose empty workspaces if they're not visible.
Fernando Tarlá Cardoso Lemos [Sun, 23 Oct 2011 21:06:43 +0000 (19:06 -0200)]
Close empty workspaces if they're not visible.

Previously, we'd only close an empty workspace when we moved away
from it. Now we also close it when the last client exits, as long
as that workspace is not visible anymore.

13 years agoget rid of xcb.c in all i3-* tools
Michael Stapelberg [Sun, 23 Oct 2011 22:20:57 +0000 (23:20 +0100)]
get rid of xcb.c in all i3-* tools

open_input_window was slightly different for each of them, so it made no sense
to generalize it (then we would end up with a thin and useless wrapper).

13 years agoAdd libi3/load_font, use it everywhere
Michael Stapelberg [Sun, 23 Oct 2011 21:37:11 +0000 (22:37 +0100)]
Add libi3/load_font, use it everywhere

…except for i3bar, which needs slightly more information about the font

13 years agoremove unused cached_fonts TAILQ
Michael Stapelberg [Sun, 23 Oct 2011 21:03:20 +0000 (22:03 +0100)]
remove unused cached_fonts TAILQ

13 years agoActually make load_font only fallback if 'fallback' is true
Michael Stapelberg [Sun, 23 Oct 2011 21:02:11 +0000 (22:02 +0100)]
Actually make load_font only fallback if 'fallback' is true

13 years agoFix tests: s/i3bar/bar {/ and hash prefix for color codes in GET_BAR_CONFIG
Michael Stapelberg [Sun, 23 Oct 2011 20:51:43 +0000 (21:51 +0100)]
Fix tests: s/i3bar/bar {/ and hash prefix for color codes in GET_BAR_CONFIG