]>
git.sur5r.net Git - i3/i3/log
Michael Stapelberg [Sat, 7 Mar 2015 14:40:59 +0000 (15:40 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Sat, 7 Mar 2015 14:40:59 +0000 (15:40 +0100)]
Merge branch 'dont-match-placeholders'
Michael Stapelberg [Sat, 7 Mar 2015 14:38:10 +0000 (15:38 +0100)]
Bugfix: insert id-based match at HEAD, not TAIL.
Before this commit, placeholder windows had any matches that were
defined in the JSON file, _followed_ by an i3-internal match that
ensures the placeholder X11 window gets swallowed into the placeholder
i3 container.
The problem was that the first successful match was deleted, and if
users specified a criterion (title=IPython) that matched the placeholder
window itself (name=IPython), then that match is deleted and the
i3-internal match is kept. This results in the actual window the user
wants to match not being swallowed, and the placeholder window not
displaying any criteria.
fixes #1526
Michael Stapelberg [Sat, 7 Mar 2015 13:52:39 +0000 (14:52 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Sat, 7 Mar 2015 13:52:39 +0000 (14:52 +0100)]
Merge branch 'fix-mode-switch'
Michael Stapelberg [Sat, 7 Mar 2015 13:51:24 +0000 (14:51 +0100)]
Fix bindings using Mode_switch
fixes #1518
Michael Stapelberg [Sat, 7 Mar 2015 10:47:59 +0000 (11:47 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Sat, 7 Mar 2015 10:47:59 +0000 (11:47 +0100)]
Merge branch 'revert-iconic'
Michael Stapelberg [Sat, 7 Mar 2015 10:46:43 +0000 (11:46 +0100)]
Revert "Handle WM_CHANGE_STATE requests for iconic state"
This reverts commit
136b3e345bfde637d3270eafaa2d8aa3555cc3d5 .
fixes #1516
Michael Stapelberg [Wed, 4 Mar 2015 18:20:21 +0000 (10:20 -0800)]
Merge pull request #1515 from Airblader/feature-commands-error-messages
Improve error messages on failing commands
Ingo Bürk [Wed, 4 Mar 2015 13:01:42 +0000 (14:01 +0100)]
Improve error messages on failing commands
Michael Stapelberg [Tue, 3 Mar 2015 08:46:16 +0000 (09:46 +0100)]
Fix keyboard layout change detection
…by listening to XKB_NEW_KEYBOARD events and re-allocating the keysym
map on both XKB_NEW_KEYBOARD and XKB_MAP_NOTIFY.
fixes #1302
Michael Stapelberg [Tue, 3 Mar 2015 08:46:39 +0000 (09:46 +0100)]
Merge branch 'fix-keyboard-layout'
Michael Stapelberg [Tue, 3 Mar 2015 08:46:16 +0000 (09:46 +0100)]
Fix keyboard layout change detection
…by listening to XKB_NEW_KEYBOARD events and re-allocating the keysym
map on both XKB_NEW_KEYBOARD and XKB_MAP_NOTIFY.
fixes #1302
Michael Stapelberg [Sun, 1 Mar 2015 16:25:09 +0000 (08:25 -0800)]
Merge pull request #1503 from Airblader/defect-layout-globbing
Glob filepath when calling append_layout
Michael Stapelberg [Sun, 1 Mar 2015 16:21:27 +0000 (17:21 +0100)]
Merge branch 'Airblader-defect-1480' into next
Michael Stapelberg [Sun, 1 Mar 2015 16:19:42 +0000 (17:19 +0100)]
clang-format
Michael Stapelberg [Sun, 1 Mar 2015 16:19:22 +0000 (17:19 +0100)]
Merge branch 'defect-1480' of https://github.com/Airblader/i3-original into Airblader-defect-1480
Michael Stapelberg [Sun, 1 Mar 2015 16:16:03 +0000 (17:16 +0100)]
run clang-format (3.5.0)
Not quite sure why there are so many differences. Perhaps we’ve gotten
out of the habit of running clang-format after every change.
I guess it’d be best to have a travis hook that runs clang-format for us
and reports any problems on pull requests.
Ingo Bürk [Sat, 28 Feb 2015 23:13:37 +0000 (00:13 +0100)]
Glob filepath when calling append_layout
fixes #1500
Michael Stapelberg [Sun, 1 Mar 2015 15:50:49 +0000 (16:50 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Sun, 1 Mar 2015 15:50:45 +0000 (16:50 +0100)]
Merge branch 'ton-master'
Michael Stapelberg [Sun, 1 Mar 2015 15:50:37 +0000 (16:50 +0100)]
Merge branch 'master' of https://github.com/ton/i3 into ton-master
Michael Stapelberg [Sun, 1 Mar 2015 15:33:19 +0000 (07:33 -0800)]
Merge pull request #1478 from acrisci/feature/use-default-monospace
Config: use default system monospace
Michael Stapelberg [Sun, 1 Mar 2015 15:30:28 +0000 (16:30 +0100)]
Merge branch 'stevenjm-big-endian'
Michael Stapelberg [Sun, 1 Mar 2015 15:28:42 +0000 (16:28 +0100)]
Merge branch 'big-endian' of https://github.com/stevenjm/i3 into stevenjm-big-endian
Steven McDonald [Sun, 1 Mar 2015 07:30:45 +0000 (18:30 +1100)]
Fix key bindings on big-endian platforms
input_code is a uint16_t, but xcb_keycode_t is uint8_t, meaning that
only the first byte of input_code is inspected by memmem. On
little-endian platforms, this code would have worked by accident, since
the first byte of input_code represents the 8 least significant bits.
However, on big-endian platforms the first byte is the 8 most
significant bits, which means memmem is scanning bind->translated_to
for the wrong keycode (probably 0).
In order to work correctly on big-endian and little-endian platforms,
simply typecast input_code to an xcb_keycode_t and pass that to memmem.
The observed behaviour associated with this bug is that key bindings
don't work at all. This patch has been tested on an iBook G4 running
OpenBSD -current, and key bindings work properly with this fix applied.
Michael Stapelberg [Sat, 28 Feb 2015 14:03:53 +0000 (15:03 +0100)]
debian: update changelog
Michael Stapelberg [Sat, 28 Feb 2015 14:02:31 +0000 (15:02 +0100)]
Merge branch 'next'
Michael Stapelberg [Sat, 28 Feb 2015 14:02:21 +0000 (15:02 +0100)]
Merge branch 'release-4.9' into next
Michael Stapelberg [Sat, 28 Feb 2015 13:36:22 +0000 (14:36 +0100)]
release i3 v4.9
Ton van den Heuvel [Thu, 26 Feb 2015 20:49:54 +0000 (21:49 +0100)]
Fix incorrect y-offset for text in i3bar
When using Pango to draw text in i3bar, the y-offset of the text is
incorrectly calculated in case all characters in the string to draw are
smaller than the cached font height. Fixes #1494.
Michael Stapelberg [Sun, 22 Feb 2015 11:02:20 +0000 (03:02 -0800)]
Merge pull request #1486 from acrisci/feature/docs-xvfb-tests
Docs: add hint to use xvfb-run
Tony Crisci [Sat, 21 Feb 2015 22:34:26 +0000 (17:34 -0500)]
Config: use default system monospace
Use the default monospace font for the system in the default config.
This should be a bit more portable for systems that do not have the
recommended font installed.
Tony Crisci [Sat, 21 Feb 2015 21:36:24 +0000 (16:36 -0500)]
Docs: add hint to use xvfb-run
Document that Xvfb can be used to run tests without an X server, and be
used to significantly speed up tests on machines with slow video cards.
Michael Stapelberg [Sat, 21 Feb 2015 20:19:26 +0000 (12:19 -0800)]
Merge pull request #1471 from acrisci/feature/i3bar-use-pango-markup
i3bar: use Pango markup
Ingo Bürk [Wed, 18 Feb 2015 19:29:11 +0000 (20:29 +0100)]
free block->instance when cleaning up statusline
Ingo Bürk [Wed, 18 Feb 2015 19:23:26 +0000 (20:23 +0100)]
removed forgotten declaration of unused variable
Ingo Bürk [Wed, 18 Feb 2015 19:11:42 +0000 (20:11 +0100)]
Introduce a statusline buffer.
A buffer is introduced for the statusline which will only be copied to the actual statusline
once an entire statusline is parsed. This avoids a race condition where incompletely parsed
statuslines were rendered, causing only some status blocks to be rendered which is visible to
the user as a flickering.
fixes #1480
Ingo Bürk [Wed, 18 Feb 2015 19:01:32 +0000 (20:01 +0100)]
remove unused statusline_buffer
Michael Stapelberg [Sun, 15 Feb 2015 12:42:29 +0000 (13:42 +0100)]
debian: add changelog entry for 4.8-2
Tony Crisci [Thu, 12 Feb 2015 19:45:34 +0000 (14:45 -0500)]
i3bar: use Pango markup
Parse text within workspace buttons and the i3bar statusline as Pango
markup. This lets people specify things like font weight, text color,
background color, font size, and font family in the text of i3bar.
fixes #1468
Michael Stapelberg [Thu, 12 Feb 2015 07:59:33 +0000 (08:59 +0100)]
CONTRIBUTING: document people should use the `next` branch
Michael Stapelberg [Wed, 11 Feb 2015 20:13:19 +0000 (21:13 +0100)]
Properly invalidate rendering cache when updating orientation (Thanks hercek)
fixes #1445
Michael Stapelberg [Wed, 11 Feb 2015 20:08:00 +0000 (21:08 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Wed, 11 Feb 2015 19:45:12 +0000 (20:45 +0100)]
Merge pull request #1465 from Airblader/bugfix-1430
Make click events on status blocks work if 'workspace_buttons no' is set...
Ingo Bürk [Wed, 11 Feb 2015 19:34:43 +0000 (20:34 +0100)]
Make click events on status blocks work if 'workspace_buttons no' is set.
1. Always subscribe to click events for i3bar.
2. Exit the click event handler if no current workspace was found only after clicks on status blocks have been handled.
fixes #1430
Ingo Bürk [Wed, 11 Feb 2015 19:34:19 +0000 (20:34 +0100)]
Remove one level of indentation #1465
Michael Stapelberg [Wed, 11 Feb 2015 19:30:05 +0000 (20:30 +0100)]
Merge pull request #1462 from carrotIndustries/netwm_moveresize
Support _NET_WM_MOVERESIZE
Michael Stapelberg [Wed, 11 Feb 2015 19:18:53 +0000 (20:18 +0100)]
Merge pull request #1460 from Airblader/bugfix-1458
Correctly calculate clicks on i3bar status blocks
Michael Stapelberg [Wed, 11 Feb 2015 19:13:00 +0000 (20:13 +0100)]
Merge pull request #1451 from acrisci/feature/handle-button-release
Handle button release events
Michael Stapelberg [Wed, 11 Feb 2015 08:15:01 +0000 (09:15 +0100)]
add a CONTRIBUTING file
See https://github.com/blog/1184-contributing-guidelines
Michael Stapelberg [Wed, 11 Feb 2015 07:55:06 +0000 (07:55 +0000)]
Merge pull request #1453 from acrisci/feature/bar-update-font-reload
Update bar font config on reload
Lukas K [Tue, 27 Jan 2015 21:58:48 +0000 (22:58 +0100)]
Support _NET_WM_MOVERESIZE
Add support for the _NET_WM_MOVERESIZE client message. This message
enables clients to initiate window moving or resizing. Toolkits like
Gtk3 use this message when the user drags a client-side decorated window
by its title bar. When Gtk detects that the window manager does not
support this client message, it uses a slow fallback implementation.
fixes #1432
Tony Crisci [Tue, 10 Feb 2015 22:46:02 +0000 (17:46 -0500)]
Handle button release events
This enables the --release switch on mouse button bindings.
Tony Crisci [Tue, 10 Feb 2015 20:11:40 +0000 (15:11 -0500)]
libi3: free previous font on font load
When loading a new font with `load_font`, free the previously loaded
font with `free_font`.
If no font is loaded, `free_font` will simply return (instead of
crashing because of a double free).
Tony Crisci [Tue, 10 Feb 2015 19:26:22 +0000 (14:26 -0500)]
Update bar font config on reload
Dynamically update the font when the `reload` command is called by
reloading the font with `xcb_init_late` and adjusting the size of the
bar by updating the output dimensions with a call to the ipc.
Ingo Bürk [Mon, 9 Feb 2015 19:13:02 +0000 (20:13 +0100)]
Correctly calculate clicks on i3bar status blocks
fixes #1458
Michael Stapelberg [Wed, 4 Feb 2015 18:54:07 +0000 (19:54 +0100)]
docs/debugging: use logs.i3wm.org
Michael Stapelberg [Wed, 4 Feb 2015 18:52:40 +0000 (19:52 +0100)]
cking-howto: update links
Michael Stapelberg [Sat, 31 Jan 2015 21:56:08 +0000 (22:56 +0100)]
Merge branch 'placeholder'
Michael Stapelberg [Sat, 31 Jan 2015 21:56:08 +0000 (22:56 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Sat, 31 Jan 2015 21:55:45 +0000 (22:55 +0100)]
Bugfix: actually parse client.placeholder (Thanks Ingo)
fixes #1400
Michael Stapelberg [Sat, 31 Jan 2015 21:42:54 +0000 (22:42 +0100)]
Merge branch 'fix-ws-con'
Michael Stapelberg [Sat, 31 Jan 2015 21:42:54 +0000 (22:42 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Sat, 31 Jan 2015 21:40:55 +0000 (22:40 +0100)]
Bugfix: correctly restore workspaces regardless of where “type” is (Thanks dsargrad)
fixes #1395
Tony Crisci [Fri, 30 Jan 2015 01:52:52 +0000 (20:52 -0500)]
Add mouse binding pointer position configuration
Add the `--whole-window` switch for mouse bindings. This switch controls
what part of the container the pointer must be over to trigger a mouse
binding. The default is to only trigger mouse bindings over the
titlebars. With this switch, a mouse binding will be triggered over the
main part of the window as well.
This is a breaking change to the previous behavior, which would trigger
a mouse binding with a modifier over any part of the window.
fixes #1429
Alexander Monakov [Thu, 8 Jan 2015 22:18:23 +0000 (01:18 +0300)]
i3bar: suspend the child when bars are fully obscured
Marein Konings [Sun, 18 Jan 2015 19:48:34 +0000 (20:48 +0100)]
Add 'mark' as allowed key to i3-save-tree output
Tony Crisci [Sun, 25 Jan 2015 02:53:10 +0000 (21:53 -0500)]
Add lxterminal to i3-sensible-terminal
fixes #1436
Michael Stapelberg [Fri, 23 Jan 2015 16:11:05 +0000 (17:11 +0100)]
Revert "don’t fix coordinates/change focus/warp when source_output was scratchpad"
This reverts commit
94808019277991a404a0a39e2a27ca1574072f3c .
This causes focus issues.
Michael Stapelberg [Fri, 23 Jan 2015 16:07:31 +0000 (17:07 +0100)]
don’t fix coordinates/change focus/warp when source_output was scratchpad
Ingo Bürk [Wed, 24 Dec 2014 20:45:12 +0000 (15:45 -0500)]
Inset the urgent background of a status block for consistency with workspace buttons.
fixes #1423
Michael Stapelberg [Sat, 17 Jan 2015 17:20:43 +0000 (18:20 +0100)]
Merge branch 'master' into next
Conflicts:
src/render.c
Michael Stapelberg [Sat, 17 Jan 2015 17:20:04 +0000 (18:20 +0100)]
Merge branch 'fix-popup-during-fullscreen'
Michael Stapelberg [Sat, 17 Jan 2015 17:19:15 +0000 (18:19 +0100)]
Bugfix: render floating windows during global fullscreen (Thanks dmurph, Mats)
fixes #1393
Tony Crisci [Sun, 21 Dec 2014 00:17:14 +0000 (19:17 -0500)]
Fix start_application() doc about which shell is used
Since this commit:
f691a55923850a4d315450925fc98733d07b69c9
the shell that is used is the system's bourne shell (/bin/sh) and the
env variable SHELL is not considered.
No logic changes.
Tony Crisci [Sat, 20 Dec 2014 04:43:47 +0000 (23:43 -0500)]
Include workspace con in workspace event
Send the affected workspace in the "current" property for each workspace
event for any type of workspace event that affects a particular
workspace.
fixes #1411
Michael Stapelberg [Sat, 13 Dec 2014 21:33:42 +0000 (22:33 +0100)]
docs/ipc: use an actual event type (thanks Adaephon)
Mats [Sun, 26 Oct 2014 18:33:09 +0000 (19:33 +0100)]
Extend the fullscreen command
Rather than just toggling the fullscreen modes, allow to set them
directly with:
fullscreen enable|toggle [global]
fullscreen disable
For compatibility, retain the previous command and its toggling behavior:
fullscreen [global]
fixes #1120
Mats [Sat, 29 Nov 2014 17:22:56 +0000 (18:22 +0100)]
Prevent workspace change during global fullscreen
While in global fullscreen, the workspace could be changed leaving the
fullscreen container still visible on top but losing its focus.
Ingo Bürk [Tue, 2 Dec 2014 17:22:11 +0000 (18:22 +0100)]
i3bar: Respect the urgency flag on status blocks
…by drawing urgent blocks with the same settings as an urgent workspace.
(Also use logical_px() and bar_height.)
fixes #682
Ingo Bürk [Wed, 3 Dec 2014 19:11:05 +0000 (20:11 +0100)]
Improve error message when a full_text property is missing
Ingo Bürk [Tue, 2 Dec 2014 20:38:30 +0000 (21:38 +0100)]
ensure align = left is the default and update documentation accordingly
fixes #1403
cornerman [Sun, 16 Nov 2014 21:05:51 +0000 (22:05 +0100)]
add deco_rect property to con in ipc response
smlb [Sun, 23 Nov 2014 16:51:57 +0000 (17:51 +0100)]
Added termite to default terminals
Michael Stapelberg [Sat, 22 Nov 2014 23:35:57 +0000 (00:35 +0100)]
Revert "Bugfix: Set input focus with last timestamp"
This reverts commit
9cee8dac5e9057bf2cb72edc3cf398fdc08b8d73 .
fixes #1383
Michael Stapelberg [Tue, 18 Nov 2014 07:27:53 +0000 (08:27 +0100)]
Bugfix: check if values are non-NULL before copying (Thanks xeen)
fixes #1397
Tony Crisci [Mon, 17 Nov 2014 02:10:48 +0000 (21:10 -0500)]
Handle _NET_CLOSE_WINDOW client message requests
> Pagers wanting to close a window MUST send a _NET_CLOSE_WINDOW client
> message request to the root window.
We interpret this message as a request to close the con for the given
window.
See: http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#idm140200472668896
fixes #1396
Tony Crisci [Mon, 10 Nov 2014 05:04:47 +0000 (00:04 -0500)]
bugfix: copy binding before run
Copy the binding struct before running it and use this copy to emit the
binding event.
This fixes a crash when the command `reload` is used in a binding when
the binding event is emitted.
Michael Stapelberg [Thu, 6 Nov 2014 18:56:32 +0000 (19:56 +0100)]
merge the formerly debian-specific x-terminal-emulator patch
I think instead of maintaining distribution-specific patches forever,
it’s a bit easier to have them applied upstream, especially since they
don’t break anything.
fixes #876
Michael Stapelberg [Thu, 23 Oct 2014 21:18:15 +0000 (23:18 +0200)]
set DesktopNames (which gdm uses) (Thanks Yves-Alexis)
Michael Stapelberg [Thu, 23 Oct 2014 21:05:01 +0000 (23:05 +0200)]
Use command -v (built-in) instead of which(1) (Thanks val)
fixes #1380
Mats [Wed, 22 Oct 2014 12:08:30 +0000 (14:08 +0200)]
t/234-layout-restore-output: Remove unused import
List::MoreUtils is imported but not used.
Mats [Wed, 22 Oct 2014 12:13:08 +0000 (14:13 +0200)]
Makefile.PL: Add Inline::C dependency
Inline::C is no longer shipped with Inline.
Tony Crisci [Sat, 4 Oct 2014 19:01:22 +0000 (15:01 -0400)]
Testcases: rename StartXDummy to StartXServer
Rename the package StartXDummy to StartXServer in the testcases library
because XDummy is no longer used.
No logic changes.
Tony Crisci [Sun, 5 Oct 2014 18:50:30 +0000 (14:50 -0400)]
Bugfix: check symbol for NULL in binding json dump
When dumping a binding, as is done during the binding event, check
symbol for NULL. If it is, dump json null. This prevents a crash when
running a binding that was configured with bindcode.
fixes #1379
Michael Stapelberg [Fri, 3 Oct 2014 07:40:22 +0000 (09:40 +0200)]
check for AnyEvent::I3 ≥ 0.16 in the binding event test
Tony Crisci [Thu, 2 Oct 2014 23:04:53 +0000 (19:04 -0400)]
Implement the ipc 'binding' event
The binding event will be triggered when a binding is run as a result of
some a user action. The binding event has the following properties:
change: (str) Currently this will only be "run" but may be expanded in
the future. Included for consistency with other events.
binding: (map) the serialized binding
The "binding" member will have these properties:
input_type: (str) either "keyboard" or "mouse"
input_code: (int) the xcb keycode of the keyboard binding if it was
provided or the mouse button if it is a mouse binding.
symbol: (str) the string representation of the input code
command: (str) the bound command
mods: (list of str) a list of the modifiers that were pressed as string
symbols
fixes #1210
Michael Stapelberg [Thu, 2 Oct 2014 21:07:50 +0000 (23:07 +0200)]
t/114-client-leader: fix race by waiting until the window is mapped