]> git.sur5r.net Git - i3/i3/log
i3/i3
12 years agoMerge branch 'fix-warning'
Michael Stapelberg [Tue, 22 Nov 2011 22:08:40 +0000 (22:08 +0000)]
Merge branch 'fix-warning'

12 years agoFix prototype in include/xcursor.h (Thanks Greg Kroah-Hartman)
Michael Stapelberg [Tue, 22 Nov 2011 22:08:22 +0000 (22:08 +0000)]
Fix prototype in include/xcursor.h (Thanks Greg Kroah-Hartman)

12 years agoMerge branch 'fix-float-fs'
Michael Stapelberg [Mon, 21 Nov 2011 23:10:06 +0000 (23:10 +0000)]
Merge branch 'fix-float-fs'

12 years agoBugfix: fix fullscreen with floating windows
Michael Stapelberg [Mon, 21 Nov 2011 23:04:49 +0000 (23:04 +0000)]
Bugfix: fix fullscreen with floating windows

Fixes: #564
12 years agoMerge branch 'fix-focusin-dock'
Michael Stapelberg [Mon, 21 Nov 2011 19:56:00 +0000 (19:56 +0000)]
Merge branch 'fix-focusin-dock'

12 years agoBugfix: Skip dock clients when handling FocusIn events (Thanks cradle)
Michael Stapelberg [Mon, 21 Nov 2011 19:55:41 +0000 (19:55 +0000)]
Bugfix: Skip dock clients when handling FocusIn events (Thanks cradle)

12 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)

12 years agoMerge branch 'next'
Michael Stapelberg [Fri, 11 Nov 2011 22:49:20 +0000 (22:49 +0000)]
Merge branch 'next'

12 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

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

12 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

12 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

12 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}

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

12 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

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

12 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.

12 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.

12 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.

12 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.

12 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.

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

12 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

12 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
12 years agos/1/true
Michael Stapelberg [Thu, 10 Nov 2011 18:38:29 +0000 (18:38 +0000)]
s/1/true

12 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.

12 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

12 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

12 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

12 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

12 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

12 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

12 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.

12 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.

12 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)

12 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)

12 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)

12 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

12 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

12 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

12 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
:)

12 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

12 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

12 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

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

12 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

12 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

12 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)

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

12 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()

12 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.

12 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.

12 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.

12 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)

12 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)

12 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)

12 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

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

12 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
12 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)

12 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

12 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

12 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

12 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

12 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

12 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
12 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)

12 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)

12 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.

12 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)

12 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

12 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

12 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

12 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

12 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

12 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)

12 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}

12 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)

12 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)

12 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.

12 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).

12 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

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

12 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

12 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

12 years agoFix comment in run_assignments (Thanks xeen)
Michael Stapelberg [Sun, 23 Oct 2011 20:45:12 +0000 (21:45 +0100)]
Fix comment in run_assignments (Thanks xeen)

12 years agoMove get_mod_mask to libi3, use it in i3 and i3-config-wizard
Michael Stapelberg [Sun, 23 Oct 2011 20:26:15 +0000 (21:26 +0100)]
Move get_mod_mask to libi3, use it in i3 and i3-config-wizard

Also, the API changed a bit. There are two functions now, both assume you
already got the keysyms (which is the case for i3 and i3-config-wizard),
one gets the modifier mapping for you (aio_get_mod_mask_for) while the other
assumes you also got that. No roundtrips are required for the latter.

12 years agoIntroduce --get_socketpath and --force_xinerama as synonyms for --get-socketpath...
Michael Stapelberg [Sun, 23 Oct 2011 18:41:40 +0000 (19:41 +0100)]
Introduce --get_socketpath and --force_xinerama as synonyms for --get-socketpath and --force-xinerama

12 years agoi3-input: Remove unused get_mod_mask from xcb.c
Michael Stapelberg [Sun, 23 Oct 2011 18:37:28 +0000 (19:37 +0100)]
i3-input: Remove unused get_mod_mask from xcb.c

12 years agoi3-input: fix handling of Mode_switch (makes special characters work again)
Michael Stapelberg [Sun, 23 Oct 2011 18:34:48 +0000 (19:34 +0100)]
i3-input: fix handling of Mode_switch (makes special characters work again)

This seems to have only worked before in certain settings, where the modifiers
were configured in a way that it matched by chance…

12 years agoi3-input: Bugfix: font must be dynamically allocated, we FREE it later
Michael Stapelberg [Sun, 23 Oct 2011 18:34:21 +0000 (19:34 +0100)]
i3-input: Bugfix: font must be dynamically allocated, we FREE it later

12 years agoremove unused get_mod_mask from i3-config-wizard/xcb.{c,h}
Michael Stapelberg [Sun, 23 Oct 2011 17:33:21 +0000 (18:33 +0100)]
remove unused get_mod_mask from i3-config-wizard/xcb.{c,h}

12 years agoEliminate xcb_change_gc_single everywhere with C99
Michael Stapelberg [Sun, 23 Oct 2011 17:06:25 +0000 (18:06 +0100)]
Eliminate xcb_change_gc_single everywhere with C99

12 years agomove strndup to libi3
Michael Stapelberg [Sun, 23 Oct 2011 17:02:01 +0000 (18:02 +0100)]
move strndup to libi3

12 years agoi3-nagbar: eliminate xcb_change_gc_single with C99
Michael Stapelberg [Sun, 23 Oct 2011 16:55:58 +0000 (17:55 +0100)]
i3-nagbar: eliminate xcb_change_gc_single with C99

12 years agoFix colors in i3bar (Thanks julien)
Michael Stapelberg [Sun, 23 Oct 2011 16:48:44 +0000 (17:48 +0100)]
Fix colors in i3bar (Thanks julien)

i3bar previously used get_colorpixel on strings without the leading # (ff0000
instead of #ff0000). Since it uses libi3’s get_colorpixel now we needed to
update a few places.

12 years agoi3-config-wizard: eliminate xcb_change_gc_single with C99
Michael Stapelberg [Sun, 23 Oct 2011 16:45:40 +0000 (17:45 +0100)]
i3-config-wizard: eliminate xcb_change_gc_single with C99

12 years agoMove get_colorpixel to libi3, use it everywhere else
Michael Stapelberg [Sun, 23 Oct 2011 16:38:21 +0000 (17:38 +0100)]
Move get_colorpixel to libi3, use it everywhere else

12 years agoi3-input: eliminate xcb_change_gc_single usage with C99
Michael Stapelberg [Sun, 23 Oct 2011 16:26:06 +0000 (17:26 +0100)]
i3-input: eliminate xcb_change_gc_single usage with C99