Michael Stapelberg
1f472b0962
Merge branch 'cloexec-errorlog'
2011-10-01 17:44:43 +01:00
Michael Walle
8adcf3e5d1
set close-on-exec flag on errorlogfile
...
Make sure the file descriptor is closed within the child after forking.
Signed-off-by: Michael Walle <michael@walle.cc>
2011-10-01 17:44:22 +01:00
Michael Stapelberg
6ce2f4d394
Merge branch 'fix-focus-ipc'
2011-09-26 20:12:03 +01:00
Michael Stapelberg
abaa8c2356
Bugfix: IPC: Correctly dump the 'focus' array
2011-09-26 20:11:47 +01:00
Michael Stapelberg
30dea1fda6
Merge branch 'fix-dragging-fullscreen'
2011-09-22 23:11:11 +01:00
Yves Fischer
0c367f9e4c
Skip dragging of floating cons in fullscreen mode
2011-09-22 23:10:48 +01:00
Michael Stapelberg
ef0f4e7299
Merge branch 'fix-close-focus'
2011-09-22 20:10:59 +01:00
Michael Stapelberg
4dbda73114
Bugfix: Correctly revert focus to other floating windows when closing a floating window
...
Uncovered by the testsuite \o/
2011-09-22 20:10:51 +01:00
Michael Stapelberg
67aab7c8bd
Merge branch 'fix-variables-cfg'
2011-09-20 22:37:00 +01:00
Michael Stapelberg
77ae3cd8f7
Bugfix: use bufcopy instead of buf when boundary checking (Thanks thomasba)
...
Also replace the useless (bufcopy + (next - bufcopy)) with next
2011-09-20 22:36:23 +01:00
Michael Stapelberg
06177223e2
Merge branch 'fix-variables-cfg'
2011-09-20 21:42:48 +01:00
Michael Stapelberg
cd6c3fedcb
A bit more boundary-checking when replacing variables.
...
Makes valgrind happy
2011-09-20 21:42:26 +01:00
Michael Stapelberg
e1949aa694
Bugfix: Correctly split key/value when parsing variables (Thanks xeen)
2011-09-20 21:42:09 +01:00
Michael Stapelberg
181bd6008d
Merge branch 'fix-i3bar-x11'
2011-09-19 19:20:16 +01:00
Michael Stapelberg
7064cfc2a0
i3bar: Bugfix: Check if the X11 connection is unavailable
...
This fixes the condition where the i3 socket for some reason did not produce an
error, but the X server exited (earlier than i3?) and the left-over i3bar
process would consume 100% CPU.
How to reproduce the problem:
1) Start ./testcases/Xdummy :8
2) Start DISPLAY=:8 i3bar -s <socket path to i3 on :0>
3) Kill the Xdummy
2011-09-19 19:17:25 +01:00
Michael Stapelberg
11ab7cf32a
Merge branch 'fix-focus'
2011-09-18 17:43:57 +01:00
Michael Stapelberg
2fe0949abd
Bugfix: Only change focus in tree_close() when the container was focused before
...
Fixes : #441
I’m not sure if that’s really all there is to it. Seems a bit too simple :).
We’ll see if I missed some corner cases in the next few days…
2011-09-18 17:43:02 +01:00
Michael Stapelberg
1f95fbfa3e
Merge branch 'fix-floating-move'
2011-09-18 17:02:49 +01:00
Michael Stapelberg
a82f5750de
Bugfix: Avoid out of bounds coordinates when moving floating windows (Thanks eeemsi)
...
This commit makes the coordinates proportional when moving floating windows.
That is, if you have a window at the bottom of your 1920 px monitor and move it
to your 800 px monitor, it will be at the bottom of the 800 px monitor (and not
out of bounds).
2011-09-18 17:00:29 +01:00
Michael Stapelberg
254299b4cd
Merge branch 'fix-output-focus'
2011-09-18 14:39:30 +01:00
Michael Stapelberg
7a2e92a116
Bugfix: Use con_orientation(). Fixes switching between different outputs
...
Fixes : #518
For stacking containers, direct access using con->orientation is wrong, we need
to use con_orientation().
2011-09-18 14:38:39 +01:00
Michael Stapelberg
b9053c6f8f
Merge branch 'fix-floating-move'
2011-09-18 00:40:39 +01:00
Peter Bui
a5012f6021
fix-bug-515: always adjust floating position when moving to another output
...
Floating con position needs to be adjusted when moving to another
output, regardless of whether or not the target workspace is visible.
2011-09-18 00:38:32 +01:00
Michael Stapelberg
1fbe070f03
Merge branch 'fix-warp-same'
2011-09-17 20:55:10 +01:00
Michael Stapelberg
755c618cd4
Bugfix: Don’t warp the pointer if it already is on the target output (Thanks cls, pnutzh4x0r)
...
My testcase was putting a floating window on the left output, but overlapping a
little to the right output. Then switch to a workspace on the right output.
2011-09-17 20:53:24 +01:00
Michael Stapelberg
18129cf0b0
Merge branch 'fix-float-size'
2011-09-17 14:12:47 +01:00
Michael Stapelberg
7a43af04af
Tests: fix floating size, add a test to check floating size when starting in tiling
2011-09-17 14:12:16 +01:00
Michael Stapelberg
deab3ac338
Send the correct X11 border_width in faked ConfigureNotifys
2011-09-17 14:11:55 +01:00
Michael Stapelberg
f2f636f9e7
Bugfix: Honor the X11 window border in ConfigureRequests
2011-09-17 14:11:01 +01:00
Michael Stapelberg
983a679537
Bugfix: Honor the X11 window border when calculating dimensions for floating windows
2011-09-17 14:10:35 +01:00
Michael Stapelberg
f6eaa8a580
Bugfix: Don’t use top border height twice when calculating dimensions for floating windows
2011-09-17 14:09:57 +01:00
Michael Stapelberg
1e18952d09
Merge branch 'fix-floating-confreq'
2011-09-14 22:59:59 +01:00
Michael Stapelberg
b1aa8107b3
Bugfix: Correctly handle ConfigureRequests for floating windows in multi-monitor setups (Thanks thomasba)
...
Fixes #519
2011-09-14 22:59:19 +01:00
Michael Stapelberg
6b541d382b
Bugfix: Don’t fix floating coordinates when reassigning (fixes flickering)
...
This fixes flickering when moving floating windows between different monitors.
2011-09-14 22:58:51 +01:00
Michael Stapelberg
67cf46fa62
Merge branch 'fix-empty-criteria'
2011-09-11 22:52:41 +01:00
Michael Stapelberg
2a215fd7e2
Bugfix: Ignore for_window commands with empty (invalid) criteria (+test) (Thanks aksr)
2011-09-11 22:52:33 +01:00
Michael Stapelberg
a65b5fd910
Merge branch 'fix-leaks'
2011-08-31 14:45:11 +02:00
Michael Stapelberg
e1631d6320
properly free memory/close fd upon errors (Thanks xeen)
...
Found with the static analyzer cppcheck
2011-08-31 14:44:48 +02:00
Michael Stapelberg
69dc632a4e
Merge branch 'fix-userguide'
2011-08-29 16:05:08 +02:00
Michael Stapelberg
1aa7eeb700
docs/userguide: state that mod+shift+space toggles, add link to criteria in for_window (Thanks Don)
2011-08-29 16:04:42 +02:00
Michael Stapelberg
04a886e4ee
Merge branch 'fix-borderless'
2011-08-29 15:17:50 +02:00
Michael Stapelberg
640071163f
docs/userguide: new_window: s/borderless/none/ (Thanks bjonnh)
2011-08-29 15:17:31 +02:00
Michael Stapelberg
79802cf824
debian: bump version so that apt prefers source builds over debian repository versions
2011-08-28 20:17:38 +02:00
Michael Stapelberg
0b2e974893
Merge branch 'release-4.0.2'
2011-08-28 20:07:26 +02:00
Michael Stapelberg
cd9056afc7
debian: wrap debian/control correctly
2011-08-28 19:56:46 +02:00
Michael Stapelberg
f7b23e3a41
bump version number in man/asciidoc.conf
2011-08-28 19:47:03 +02:00
Michael Stapelberg
042d60c9e6
add release notes for v4.0.2
2011-08-28 19:17:43 +02:00
Michael Stapelberg
8b0fecf559
debian: update changelog for the 4.0.2 release
2011-08-28 19:09:57 +02:00
Michael Stapelberg
17c0ec19b2
Merge branch 'userguide'
2011-08-28 18:03:03 +02:00
Michael Stapelberg
5796f72885
docs/userguide: properly document command chaining and criteria
2011-08-28 18:02:49 +02:00