Commit Graph

4809 Commits

Author SHA1 Message Date
Michael Stapelberg
fea21f8945 Merge pull request #1512 from mdtipton/unclutter_scroll
Fix scrolling in window decoration with hidden cursor.
2015-03-13 00:46:16 -07:00
Michael Stapelberg
5a4109dfb6 Merge pull request #1546 from rosetree/next
Fix comment box
2015-03-13 00:36:29 -07:00
Micha Rosenbaum
9a355dcb92 Fix comment box 2015-03-12 11:18:12 +01:00
Michael Stapelberg
db2c5a80f8 Merge pull request #1545 from garbados/gendered-terms-in-docs
degendered terms
2015-03-12 00:38:35 -07:00
Diana Thayer
94b1e76af4 degendered terms 2015-03-11 21:41:43 -07:00
Michael Stapelberg
10a58725cd add release.sh, a script to prepare a new i3 release 2015-03-07 20:37:34 +01:00
Michael Stapelberg
dadf833607 update debian/changelog for the new release 2015-03-07 20:31:38 +01:00
Michael Stapelberg
309e5b2cbd Merge branch 'release-4.9.1' 2015-03-07 20:26:29 +01:00
Michael Stapelberg
7270f6e96f Merge branch 'master' into next 2015-03-07 20:26:29 +01:00
Michael Stapelberg
0b145d214b release i3 4.9.1 2015-03-07 20:26:09 +01:00
Michael Stapelberg
0148dc6fd3 Merge branch 'master' into next
Conflicts:
	src/commands.c
2015-03-07 15:57:41 +01:00
Michael Stapelberg
5fb99ad9f7 Merge branch 'fix-restore-errormsg' 2015-03-07 15:57:13 +01:00
Ingo Bürk
9ebf17c39d Properly error out when the layout file cannot be read.
This will result in an actual error message for the user.
fixes #1499
2015-03-07 15:57:05 +01:00
Ingo Bürk
6c675cc3f6 Glob filepath when calling append_layout
fixes #1500
2015-03-07 15:56:59 +01:00
Ingo Bürk
58df5aa6c4 Improve error messages on failing commands 2015-03-07 15:53:35 +01:00
Michael Stapelberg
6226400dfd Merge branch 'master' into next 2015-03-07 15:40:59 +01:00
Michael Stapelberg
53b621f1aa Merge branch 'dont-match-placeholders' 2015-03-07 15:40:59 +01:00
Michael Stapelberg
df1fcdafe8 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
2015-03-07 15:38:10 +01:00
Michael Stapelberg
a2a32ab1ee Merge branch 'master' into next 2015-03-07 14:52:39 +01:00
Michael Stapelberg
fa3396b6ea Merge branch 'fix-mode-switch' 2015-03-07 14:52:39 +01:00
Michael Stapelberg
7340a3e642 Fix bindings using Mode_switch
fixes #1518
2015-03-07 14:52:32 +01:00
Michael Stapelberg
61418f4dfb Merge branch 'master' into next 2015-03-07 11:47:59 +01:00
Michael Stapelberg
a88cdf4ba7 Merge branch 'revert-iconic' 2015-03-07 11:47:59 +01:00
Michael Stapelberg
d551618cf0 Revert "Handle WM_CHANGE_STATE requests for iconic state"
This reverts commit 136b3e345b.

fixes #1516
2015-03-07 11:47:01 +01:00
Ingo Bürk
c572176429 Use the already existing function to get rid of some code duplication 2015-03-05 14:00:24 +01:00
Michael Stapelberg
1b69ddacbe Merge pull request #1515 from Airblader/feature-commands-error-messages
Improve error messages on failing commands
2015-03-04 10:20:21 -08:00
Ingo Bürk
acb79bd02f Improve error messages on failing commands 2015-03-04 14:01:42 +01:00
Ingo Bürk
25ec389ecb Added tests for #1473 2015-03-04 10:54:58 +01:00
Ingo Bürk
eb73059c61 Refactor functions for easy reuse 2015-03-04 09:22:25 +01:00
Ingo Bürk
bcc1314a2d When renaming a workspace, look for assignments and move the renamed workspace to the appropriate output. 2015-03-04 09:06:44 +01:00
Michael Stapelberg
dcba0b46dd 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
2015-03-03 09:47:15 +01:00
Michael Stapelberg
ac19772efb Merge branch 'fix-keyboard-layout' 2015-03-03 09:46:39 +01:00
Michael Stapelberg
c7fd4b39c6 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
2015-03-03 09:46:16 +01:00
Michael Tipton
73ecc56bd7 Fix scrolling in window decoration with hidden cursor.
If the mouse cursor is hidden (by unclutter, for example), then scrolling
in the window decoration creates an event with a child
(i.e. event->child != XCB_NONE). This causes route_click() to be called
with dest=CLICK_INSIDE, which prevents scrolling through a stacked layout.

To fix this, check if a click is in the window decoration _before_
checking if the event has a child.
2015-03-03 00:24:54 -08:00
Michael Stapelberg
487ccb536a Merge pull request #1503 from Airblader/defect-layout-globbing
Glob filepath when calling append_layout
2015-03-01 08:25:09 -08:00
Michael Stapelberg
eb969fee67 Merge branch 'Airblader-defect-1480' into next 2015-03-01 17:21:27 +01:00
Michael Stapelberg
1124041648 clang-format 2015-03-01 17:19:42 +01:00
Michael Stapelberg
91476e2c11 Merge branch 'defect-1480' of https://github.com/Airblader/i3-original into Airblader-defect-1480 2015-03-01 17:19:22 +01:00
Michael Stapelberg
091f1db39a 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.
2015-03-01 17:16:03 +01:00
Ingo Bürk
9e739de5d3 Glob filepath when calling append_layout
fixes #1500
2015-03-01 16:51:58 +01:00
Michael Stapelberg
0876bd621f Merge branch 'master' into next 2015-03-01 16:50:49 +01:00
Michael Stapelberg
21bb44b6da Merge branch 'ton-master' 2015-03-01 16:50:45 +01:00
Michael Stapelberg
3c5df50c54 Merge branch 'master' of https://github.com/ton/i3 into ton-master 2015-03-01 16:50:37 +01:00
Michael Stapelberg
24a5a952b9 Merge pull request #1478 from acrisci/feature/use-default-monospace
Config: use default system monospace
2015-03-01 07:33:19 -08:00
Michael Stapelberg
a6a1d55346 Merge branch 'stevenjm-big-endian' 2015-03-01 16:30:28 +01:00
Michael Stapelberg
4bcb702360 Merge branch 'big-endian' of https://github.com/stevenjm/i3 into stevenjm-big-endian 2015-03-01 16:28:42 +01:00
Steven McDonald
1ab76fb05a 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.
2015-03-01 21:07:03 +11:00
Michael Stapelberg
cc55ee472d debian: update changelog 2015-02-28 15:04:28 +01:00
Michael Stapelberg
fe482cf193 Merge branch 'next' 2015-02-28 15:02:31 +01:00
Michael Stapelberg
31ea3ecc38 Merge branch 'release-4.9' into next 2015-02-28 15:02:21 +01:00