Michael Stapelberg
321bba224a
Bugfix: add keymap fall back (_XKB_RULES_NAMES, then defaults)
...
fixes #1983
2015-10-11 20:24:16 +02:00
Michael Stapelberg
b81435ecbb
Merge pull request #1988 from Airblader/bug-1986
...
Fix documentation for no_focus.
2015-10-11 10:03:03 -07:00
Ingo Bürk
54486ca498
Fix documentation for no_focus.
...
fixes #1986
2015-10-11 17:05:30 +02:00
Michael Stapelberg
188a59b5e9
Merge pull request #1985 from Airblader/bug-1984
...
Remove support for 32-bit visuals and RGBA colors.
2015-10-11 01:54:13 -07:00
Ingo Bürk
21c0c20843
Remove support for 32-bit visuals and RGBA colors.
...
fixes #1984
2015-10-11 00:33:14 +02:00
Michael Stapelberg
73289a7394
travis: install clang-format-3.5 from llvm repository
...
Ubuntu utopic disappeared from archive.ubuntu.com, it’s EOL.
2015-10-11 00:12:38 +02:00
Michael Stapelberg
47723715ce
Merge pull request #1981 from Airblader/feature-i3bar-rgba
...
Allow 32-bit depth visuals and RGBA in i3bar
2015-10-09 09:32:52 -07:00
Ingo Bürk
d300a07660
Refactor cairo drawing of rectangles into utility functions.
2015-10-08 12:31:56 +02:00
Ingo Bürk
ff0aeddede
When drawing text, mark the surface as dirty.
...
Since libi3 currently creates its own cairo surface for drawing text, we
need to mark our own surface as dirty to force cairo to invalidate its
cache. Otherwise, this will result in graphical glitches such as the text
not showing up at all.
This wrapper can be removed in the future when libi3 is adapted to reuse
the same cairo surface as we do for all other drawing operations.
2015-10-08 12:16:25 +02:00
Ingo Bürk
a5d4c7c9ab
Allow text drawing to use the alpha channel.
...
We pass alpha channel information to the current text drawing code
and use it if it is available. The previous behavior of using full
opacity for RGB format colors is preserved.
2015-10-07 22:10:47 +02:00
Ingo Bürk
1c4100ce5d
Use 32-bit visuals for i3bar when possible and allow RGBA colors.
...
This patch creates all necessary windows for i3bar with 32-bit visuals if available.
It also introduces the possibility to define RGBA colors (next to RGB colors), which
allows the user to set the opacity of any color. This requires running a compositor.
With this patch we also start supporting _NET_SYSTEM_TRAY_VISUAL, which is necessary
for the tray icons so they create the tray window with the correct depth and visual.
2015-10-06 23:01:57 +02:00
Michael Stapelberg
ddd5e9a824
Merge pull request #1933 from Airblader/feature-1878-2
...
Draw i3bar with cairo
2015-10-05 09:38:43 +02:00
Ingo Bürk
410c5da7cf
Use cairo for all drawing operations in i3bar.
...
fixes #1878
2015-10-05 09:29:17 +02:00
Michael Stapelberg
77431a2b96
Merge pull request #1963 from Airblader/bug-refactor-match-parsing
...
Refactor parsing of matches to avoid code duplication.
2015-10-04 18:09:28 +02:00
Ingo Bürk
b744c5e6c6
Refactor parsing of matches to avoid code duplication.
2015-10-04 17:40:25 +02:00
Michael Stapelberg
2248085c5c
Merge pull request #1909 from Airblader/feature-refactor-1
...
Refactor rendering noodles a bit
2015-10-04 17:15:42 +02:00
Michael Stapelberg
77a7d625e1
Merge pull request #1965 from Airblader/feature-typed-commands-parser
...
Make the command parser stack typed
2015-10-04 17:05:27 +02:00
Jakob Haufe
7a66d55df5
Fix formatting of description list
2015-10-02 19:52:45 +02:00
Michael Stapelberg
039494165a
Merge pull request #1959 from hwangcc23/fix-1926
...
Check duplicated bindings after translating keysym
2015-10-02 19:51:42 +02:00
hwangcc23
fc48a297ed
Check duplicated bindings after translating keysym
...
1). See the issue #1926 . For example, the second keybinding is not detected as a duplicate:
bindcode Mod4+24 sticky toggle
bindsym Mod4+q focus parent
2). To fix it, check duplicated bindings when translating the keysym to keycodes.
2015-10-02 22:09:53 +08:00
Michael Stapelberg
2c4fd56069
update release.sh for 4.11 release
2015-09-30 09:06:34 +02:00
Michael Stapelberg
2453feb4e7
debian: update changelog
2015-09-30 09:03:34 +02:00
Michael Stapelberg
91e7756e43
Merge branch 'release-4.11'
2015-09-30 08:55:24 +02:00
Michael Stapelberg
041e549efd
release i3 4.11
2015-09-30 08:55:07 +02:00
Ingo Bürk
6cd6f43d09
Turn "char *" into "const char *" for all command parser functions.
2015-09-28 14:24:08 +02:00
Ingo Bürk
c7ca6e1b41
Migrate the move command to use typed numbers.
2015-09-28 14:21:44 +02:00
Ingo Bürk
0ae9cddc98
Migrate the resize command to use typed numbers.
2015-09-28 14:21:44 +02:00
Ingo Bürk
23d5d704ed
Allow the commands parser to use "number" arguments by making the stack typed.
2015-09-28 14:21:44 +02:00
Michael Stapelberg
34b8a02a36
Merge pull request #1967 from Airblader/feature-easier-command-diff
...
Break list of commands in parser test
2015-09-28 08:25:58 +02:00
Michael Stapelberg
71afed725a
Merge pull request #1962 from Airblader/bug-move-to-output-criteria
...
Correctly handle command criteria for "move window to output".
2015-09-28 08:22:09 +02:00
Michael Stapelberg
2f9ed9c4c3
Merge pull request #1961 from Airblader/bug-1957
...
Avoid freeze when moving container
2015-09-28 08:19:23 +02:00
Michael Stapelberg
3830aa891e
Merge pull request #1960 from Airblader/bug-restore-mark
...
Fix duplicated marks on append_layout
2015-09-28 08:19:04 +02:00
Ingo Bürk
90a85c3f52
Break list of all commands into one line per command. This reduces the chances of merge conflicts when
...
introducing or removing commands and therefore increases maintainability (albeit by only a little).
2015-09-27 19:25:17 +02:00
Ingo Bürk
852a2853e3
Correctly handle command criteria for "move window to output".
2015-09-26 21:31:28 +02:00
Ingo Bürk
594cd473b7
When moving a container to a mark, also check whether the container is being moved to its own descendant and
...
reject the request if this is the case.
fixes #1957
2015-09-25 19:43:43 +02:00
Ingo Bürk
dd7a532160
When appending a layout containing a marked container, make sure that any other containers with the same mark
...
are unmarked during insertion of the new container.
fixes #1956
2015-09-25 19:26:41 +02:00
Michael Stapelberg
c82e6a87dc
Merge pull request #1931 from Airblader/bug-1924
...
Improvements for sticky windows
2015-09-24 22:34:29 +02:00
Ingo Bürk
922afe1919
Keep a sticky window focused if it was the focused window on the source workspace.
...
fixes #1924
2015-09-24 22:10:17 +02:00
Michael Stapelberg
a91466d14d
Merge pull request #1952 from hwangcc23/fix-1875
...
Not toggle floating on a CT_FLOATING_CON
2015-09-24 13:23:07 +02:00
hwangcc23
94e7d13e17
Not toggle floating on a CT_FLOATING_CON
...
See the issue #1875 .
Forbid the command to toggle floating on a CT_FLOATING_CON to avoid the crash.
2015-09-23 00:16:25 +08:00
Michael Stapelberg
a2aec4ee92
Merge pull request #1945 from Airblader/feature-frame-class
...
Set a proper WM_CLASS on frame windows.
2015-09-22 09:10:38 +02:00
Ingo Bürk
2d4f8ce90b
Set a proper WM_CLASS on frame windows.
2015-09-22 08:57:05 +02:00
Michael Stapelberg
ee5db875c2
Merge pull request #1944 from tcatm/fix-vlog
...
log: avoid buffer overflow in vlog
2015-09-21 14:48:30 +02:00
Nils Schneider
717422c12c
log: avoid buffer overflow in vlog
...
`vlog()` can not handle log messages longer than 4096 bytes. However, the
message generated in `store_restart_layout()` is likely to exceed this
as it contains a long JSON string.
This has caused a few SEGFAULTS during restarts for me when running with
`-d all`.
Fix this by truncating the message to 4096 bytes and punching in a newline at
the end.
2015-09-21 14:27:22 +02:00
Michael Stapelberg
5775147d37
Merge pull request #1943 from tcatm/fix-no-randr-output
...
Don't create empty workspaces on restart
2015-09-21 13:56:43 +02:00
Nils Schneider
f14efe85d1
Don't create empty workspaces on restart
...
This fixes a bug I introduced in #1921 . When restarting i3 in place a
stray workspace was created on the root_output during restart. On first
start, this workspace would have been moved to the first real and empty
output.
However, this does not produce the desired result during restarts when
workspaces are alread present on all real outputs. The stray workspace would
still be added to the first real output which already contains some
workspaces. Thus, adding a new empty workspace to it.
Fix this by delaying creation of the root output's workspace until it is
known whether the output is active or not.
Fixes #1940
2015-09-21 13:26:58 +02:00
Michael Stapelberg
f3d898be4b
Merge pull request #1937 from Airblader/bug-1910
...
Correctly restore floating windows
2015-09-21 10:18:25 +02:00
Michael Stapelberg
72b9909942
Merge pull request #1921 from tcatm/fix-no-randr-output
...
randr: use root window in case of no randr outputs
2015-09-21 10:17:21 +02:00
Michael Stapelberg
b0c72abcdb
Merge branch 'hwangcc23-debuglog-on-persist' into next
...
fixes #1929
2015-09-21 10:10:45 +02:00
Michael Stapelberg
77d962f520
Merge branch 'debuglog-on-persist' of git://github.com/hwangcc23/i3 into hwangcc23-debuglog-on-persist
2015-09-21 10:05:14 +02:00