f767ac30b3
fix two more crashes when disabling an empty output
2013-01-25 14:53:15 +01:00
e0cfe1f8c0
Bugfix: fix crash when disabling output without any windows (Thanks xeen, knopwob)
...
fixes #919
2013-01-25 14:14:06 +01:00
a5c9b0dedb
Merge branch 'master' into next
2013-01-24 14:45:14 +01:00
2eb4ed95bc
Bugfix: fix “overlapping” --release key bindings (Thanks phlux)
...
We eagerly marked all KeyRelease bindings as eligible to match without
checking modifiers, while this should only be allowed for the key
binding which actually was pressed.
fixes #915
2013-01-24 14:44:01 +01:00
bfd150872d
Fixing continuous resize bug in floating mode
...
fixes #910
2013-01-24 12:42:13 +01:00
3365b52384
Allow servers which do not support the XKB extension.
...
If we can open the X display but the XKB extension is not available,
continue without it.
2013-01-23 20:27:27 +01:00
2478d0a2e0
ipc: use ipc_recv_message instead of duplicate code
...
This should fix the situation where i3 would read only the header and
not the payload of the message.
2013-01-23 18:59:36 +01:00
dcb8ac84f8
ipc_recv_message: store message_type, don’t compare. add distinct EOF retval
...
Also use ELOG, which requires i3-msg to provide logging functions.
2013-01-23 18:51:39 +01:00
2c249b6949
Merge branch 'master' into next
2013-01-01 16:31:27 +01:00
138e04fd4d
Bugfix: Fix for_window moving of assigned windows (Thanks bafain)
...
fixes #909
2013-01-01 16:31:08 +01:00
d8e27dd5aa
ignore MotionNotify events generated while warping the pointer
2012-12-27 17:04:13 +01:00
9edbcc4790
debug message for window focus: include window ID
2012-12-27 16:58:46 +01:00
54fd3d3480
unregister as window manager before restarting (fixes a race condition)
2012-12-27 16:54:54 +01:00
cde82eafa6
use xcb_aux_sync to make sure our changes reach the X server, flushing is not enough
2012-12-27 16:54:36 +01:00
0045cfa637
move visible scratchpad window to focused workspace
...
If there is a visible scratchpad on another (non-internal) workspace,
bring it to the focused workspace instead of doing nothing.
closes #784
2012-12-24 19:20:47 +01:00
b3d7531947
refactor both i3-nagbar starts into src/util.c
...
With this change, libev >= 4 is a hard dependency. It should be present
in all major linux distributions (even the latest ubuntu LTS).
2012-12-24 16:53:20 +01:00
c127ac3855
remove all references to the old cfgparse
2012-12-24 15:57:02 +01:00
b304e6ad34
remove old cfgparse.{l,y}
2012-12-24 15:46:57 +01:00
5d4a934864
render_con: initialize int sizes[children]
...
This fixes a clang-analyzer warning
2012-12-24 15:28:17 +01:00
4f2922de62
Revert "initialize array to fix clang-analyze warning"
...
This reverts commit 56e0ceb44e
.
2012-12-24 15:28:08 +01:00
56e0ceb44e
initialize array to fix clang-analyze warning
2012-12-24 15:19:20 +01:00
9ae73b7a2a
fix possibly uninitialized variable (Thanks knopwob)
2012-12-24 15:13:47 +01:00
1a6bddad55
Merge branch 'master' into next
2012-12-24 14:50:15 +01:00
625401d162
Bugfix: handle MapRequests sent between i3 registering as a wm and handling events
...
This fixes the problem where i3-nagbar does not come up because its
MapRequest is ignored.
fixes #892
2012-12-24 14:49:19 +01:00
24aa857a89
Bugfix: Correctly close floating windows (Thanks eeemsi)
2012-12-23 18:51:17 +01:00
3a78d489e6
Render tree before destroying X11 containers upon unmap (Thanks Merovius)
...
When an X11 window is closed (say, urxvt), i3 gets an UnmapNotify event
and destroys (DestroyWindow) the window decorations. Before this commit,
the DestroyWindow call was sent immediately.
This lead to a situation where — due to the DestroyNotify — EnterNotify
events were generated that would cause the focus to be set to the
underlying window.
With this commit, i3 first renders the tree and pushes changes to X11
before calling DestroyWindow. Therefore, the surrounding containers will
take up any space that was freed by the window which was closed and no
EnterNotify will be generated.
fixes #660
2012-12-23 15:54:49 +01:00
79bd2aede5
Draw 1px tab separators left/right instead of 2px on the right only
...
fixes #894
2012-12-22 16:15:11 +01:00
a1ccca22e6
Merge branch 'master' into next
2012-12-22 14:08:14 +01:00
36b106a9d3
Bugfix: Ignore ConfigureRequests for scratchpad windows (Thanks MeanEYE)
...
fixes #898
2012-12-22 14:08:11 +01:00
bb3ae9f960
Merge branch 'master' into next
2012-12-19 21:40:53 +01:00
721fa7bdad
Fix scrolling on a tabbed titlebar which contains split cons (Thanks f8l)
...
fixes #708
2012-12-19 21:40:26 +01:00
895f8e05c8
Merge branch 'master' into next
2012-12-19 21:13:12 +01:00
ae605bdd39
Also draw right tab border for split containers (Thanks alex)
...
fixes #696
2012-12-19 21:12:38 +01:00
73ec3dd3b0
Merge branch 'master' into next
2012-12-14 21:50:15 +01:00
7658109309
Bugfix: remove superfluous #include <xcb/xcb_atom.h> (Thanks pnutzh4x0r)
...
This fixes the build on CentOS 6.
fixes #889
2012-12-14 21:49:31 +01:00
61a5b9ddd4
Revert "don't use con_is_internal"
...
This reverts commit c6948c59f5
.
Given that master and next now both contain con_is_internal, we can use
it again.
2012-12-14 21:44:20 +01:00
2bf7793d4d
Merge branch 'next'
2012-12-12 00:18:23 +01:00
18e46ffae5
install i3-dmenu-desktop
2012-12-11 22:31:44 +01:00
1ae08b196a
Bugfix: Don’t move floating windows when their size constraints forbid resizing (Thanks aksr)
...
fixes #883
2012-11-27 09:26:31 +01:00
19cbd3cbec
code style fixes for the previous commit
...
• our function names use underscores
• rewrote the function’s comment
• function comments must be in the source _and_ in the header
• no blank lines after function signatures
2012-11-25 20:55:49 +01:00
f41fa1baa1
The command to resize a floating window now checks the minimum and maximum size.
2012-11-25 20:52:56 +01:00
d2b533328d
Fix memory leaks in config_parser.
...
push_token() doesn't take ownership of its str argument.
2012-11-24 17:39:52 +01:00
3cb909fa62
config parser: recover after invalid input
...
This is done by ignoring the rest of the current line and jumping to the
nearest <error> token.
fixes #879
2012-11-20 17:10:29 +01:00
305b6ddf2f
set LC_NUMERIC=C when dumping nodes in the workspace event
...
Otherwise the resulting JSON might be invalid because it uses the
locale-specific comma separator, e.g. "16,666" instead of "16.666".
2012-11-13 09:49:08 +01:00
1055973f66
refactor, name changes
...
We need to send the workspace event earlier, because otherwise 'old'
might already be destroyed (if it was empty).
2012-11-13 09:40:06 +01:00
464d387044
take care of non-existant old workspaces
2012-11-13 09:33:03 +01:00
74d596e0fc
more informative `workspace' events
...
Add a `current' and `old' properties to the `focus' change type,
containing the current and old workspace respectively. These additions
are not necessary anywhere else because `focus' is always triggered when
changing ws.
2012-11-13 09:33:00 +01:00
b67eedf71a
simplify yajl related code
...
Specifically, put the version dependent code in some macros, and put
that plus the `y' and `ystr' macros in a separate file, `yajl_utils.h'.
2012-11-13 09:32:55 +01:00
c6948c59f5
bugfix: don't use con_is_internal
...
fixes #872
2012-11-12 19:49:01 +01:00
dece12bf18
Merge branch 'master' into next
2012-11-10 09:01:24 +01:00