Tony Crisci
56c284af8e
Bugfix: missed case for decoration rerender
...
Rerender the decoration when the container requires a pixmap and does
not have one.
fixes #1292
2014-07-23 09:48:20 +02:00
Michael Stapelberg
9463be42b8
Merge branch 'fix-layout-output'
2014-07-15 10:28:51 +02:00
Michael Stapelberg
679a5de8cf
Bugfix: properly restore workspace containers (Thanks vals)
...
fixes #1306
2014-07-15 10:27:42 +02:00
Michael Stapelberg
f96ec19df0
Merge branch 'fix-path'
2014-07-11 09:51:27 +02:00
Michael Stapelberg
9b0ec8b2ae
Bugfix: i3-dmenu-desktop: quote path (Thanks nikolaus)
...
fixes #1316
2014-07-11 09:51:05 +02:00
Michael Stapelberg
931dda2d0b
Merge branch 'fix-first-line'
2014-07-11 00:33:13 +02:00
Michael Stapelberg
686a40e384
Bugfix: render bars after the first chunk of JSON (Thanks javier)
...
fixes #1315
2014-07-11 00:32:42 +02:00
Michael Stapelberg
04d292375d
Merge branch 'fix-i3bar-colors'
2014-07-02 19:02:31 +02:00
Tony Crisci
0095ca8770
Use FREE macro for freeing colors
...
This macro will set the colors to NULL which avoids a double free on
reload when colors that were unconfigured become configured.
fixes #1299
2014-07-02 19:01:59 +02:00
Michael Stapelberg
b5f3679a66
Merge branch 'revert-warp'
2014-06-28 13:05:40 +02:00
Michael Stapelberg
1f9057bc4b
Revert "Disable render-time pointer warps if asked"
...
This reverts commit b109b1b20d
.
Turns out the change in behavior was unexpected by a number of users, so
let’s revert it and make those users that want this behavior configure
it explicitly.
Sorry for the back-and-forth here.
2014-06-28 13:04:52 +02:00
Michael Stapelberg
a1f6bfbf7e
Merge branch 'fix-width'
2014-06-28 13:01:28 +02:00
Tony Crisci
7afe9cc78b
Explicitly set current border width when BS_PIXEL
...
When a window becomes managed, if the config specifies a pixel border
style, explicitly set the current border width so it does not change
when the container changes from tiling to floating.
fixes #1266
2014-06-28 13:00:59 +02:00
Michael Stapelberg
3b546d00f7
Merge branch 'fix-restart'
2014-06-27 09:05:32 +02:00
Michael Stapelberg
c159fc4197
Bugfix: create the directory for storing the restart state (Thanks hjem)
...
fixes #1303
2014-06-27 09:04:51 +02:00
Michael Stapelberg
653b945376
Merge branch 'fix-i3-save-tree-unicode-args'
2014-06-25 10:00:59 +02:00
Michael Stapelberg
ad7bf58822
Bugfix: interpret commandline parameters as utf-8
...
fixes #1293
2014-06-25 10:00:23 +02:00
Michael Stapelberg
0179f124d5
Merge branch 'log-dpi'
2014-06-24 09:57:05 +02:00
Michael Stapelberg
5c30c6ca80
add log messages for the detected DPI
...
Currently, the DPI is only logged when pango fonts are used, which is
often not the case when people report problems with the DPI detection.
2014-06-24 09:56:31 +02:00
Michael Stapelberg
e83b0ad64d
Merge branch 'fix-focus-unmapped'
2014-06-24 09:01:39 +02:00
Tony Crisci
1d100d6e16
Bugfix: don't focus unmapped container on manage
...
A window may become unmapped on manage when an assignment command unmaps
the window, such as moving it to the scratchpad or killing it.
This can cause i3 focus to be an unmapped window and different than X
focus which can lead to complications
fixes #1283
2014-06-24 09:01:04 +02:00
Michael Stapelberg
34f6f185bf
Merge branch 'next'
2014-06-15 19:14:36 +02:00
Michael Stapelberg
f30c0a4fc7
Merge branch 'release-4.8' into next
2014-06-15 19:14:25 +02:00
Michael Stapelberg
30992e48d8
man: bump version to 4.8
2014-06-15 19:12:16 +02:00
Michael Stapelberg
9200094203
format **/*.c with clang-format-3.5
...
This has multiple effects:
1) The i3 codebase is now consistently formatted. clang-format uncovered
plenty of places where inconsistent code made it into our code base.
2) When writing code, you don’t need to think or worry about our coding
style. Write it in yours, then run clang-format-3.5
3) When submitting patches, we don’t need to argue about coding style.
The basic idea is that we don’t want to care about _how_ we write the
code, but _what_ it does :). The coding style that we use is defined in
the .clang-format config file and is based on the google style, but
adapted in such a way that the number of modifications to the i3 code
base is minimal.
2014-06-15 19:07:02 +02:00
Michael Stapelberg
4d937b7dbb
add .clang-format, to be used with clang-format-3.5
2014-06-15 19:05:01 +02:00
Michael Stapelberg
df3f588cb5
delete old release notes
2014-06-15 18:27:03 +02:00
Michael Stapelberg
e07c49f4fb
add release notes for v4.8
2014-06-15 18:26:40 +02:00
Michael Stapelberg
b83c3909b4
man/i3.man: update to contain new default font
2014-06-15 18:18:44 +02:00
Michael Stapelberg
893dbae4b1
Bugfix: don’t overwrite the window’s geometry after restarting
...
fixes #1263
2014-06-13 22:29:47 +02:00
Michael Stapelberg
e69fcbb17b
Bugfix: ensure floating windows don’t drop out of fullscreen when restarting
...
fixes #1263
2014-06-13 22:26:06 +02:00
Michael Stapelberg
35f15f855d
Bugfix: don’t errnously render floating fullscreen windows during restart
...
fixes #1263
2014-06-13 22:21:00 +02:00
Michael Stapelberg
2e4a2d4f30
Bugfix: don’t overwrite the original size of floating windows when changing border style
...
fixes #1263
2014-06-13 22:19:23 +02:00
Michael Stapelberg
570b5729cc
also change the default font in i3.config.keycodes
2014-06-13 20:02:34 +02:00
Tony Crisci
6d0071db19
default config: use `set` for directions
...
Using `set` for direction letter keys makes them easier to configure for
users who prefer traditional vim-style directions.
2014-06-13 20:01:18 +02:00
Michael Stapelberg
807ff6b10d
fix warning: use size_t when comparing against strlen()
2014-06-12 21:24:29 +02:00
Michael Stapelberg
5beaea3034
handle windows whose WM_TRANSIENT_FOR points to themselve
...
I consider this behavior broken and not respecting the standard, but it
happens in real life, and it’s better for i3 to not busy-loop in such a
situation :).
fixes #1259
2014-06-12 21:16:45 +02:00
Michael Stapelberg
1527f2b8a6
Revert "Rerender on button press only when focus changes"
...
This reverts commit b714878f52
.
That commit introduced a regression: clicking on floating windows would
no longer raise them reliably.
fixes #1260
2014-06-12 21:03:13 +02:00
Tony Crisci
9cee8dac5e
Bugfix: Set input focus with last timestamp
...
Setting input focus with the last event timestamp prevents race
conditions when setting focus.
fixes #1127
2014-06-12 09:33:35 +02:00
Michael Stapelberg
0552fd5666
Bugfix: fix crash when using multiple for_window statements that move windows (Thanks Antonio)
...
fixes #1257
2014-06-12 09:32:55 +02:00
Marcus Crestani
a76a81f80b
Include sys/sysctl.h after i3.h to prevent redefinition warnings caused by queue.h on OS X.
2014-06-11 23:27:02 +02:00
Holger Langenau
e562aeb338
Bugfix: Typo in i3.xsession.desktop TryExec rule.
...
Typo in executable for TryExec prevents LightDM from starting i3.
2014-06-11 23:26:43 +02:00
Tony Crisci
8ece995001
Bugfix: prevent unneeded render on pointer enter
...
When `focus_follows_mouse` option is on, prevent an uneeded render on
pointer enter when the con is already focused.
This pointer enter might be caused by entering a window decoration of an
already-focused container.
This extra render can cause concurrency issues when focus is set
asynchronously with WM_TAKE_FOCUS.
2014-06-11 09:38:49 +02:00
Michael Stapelberg
94574db6f6
cleanup temporary directory when restarting and not using XDG_RUNTIME_DIR
...
fixes #1253
2014-06-11 09:17:43 +02:00
Michael Stapelberg
6fe44d8584
debian: recommend fonts-dejavu-core after we switched the default
2014-06-08 22:28:13 +02:00
Michael Stapelberg
34cd06be7a
default config: switch to “DejaVu Sans Mono 8” as default font
...
As mentioned in the comment, this change is motivated by better support
for unicode, right-to-left rendering and scalability on retina/hidpi
setups.
2014-06-08 22:25:59 +02:00
Michael Stapelberg
26460c091a
delete ipc socket when exiting, cleanup tmpdir
...
fixes #1253
2014-06-08 22:13:43 +02:00
Michael Stapelberg
617afc67a2
replace remaining printf()s with D?LOG
...
fixes #1252
2014-06-08 21:56:14 +02:00
Campbell Barton
030595a4eb
Use XCB_BUTTON_INDEX defines for mouse buttons
2014-06-08 13:55:27 +02:00
Tony Crisci
7e564713f9
Don't ELOG ipc EOF
...
Receiving EOF from a client is not an error, but rather a standard way a
client may disconnect from the IPC. This should rather be logged from
a consumer of the libi3 ipc_recv_message() function as a normal client
disconnect event.
fixes #1252
2014-06-08 13:54:55 +02:00