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
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
Michael Stapelberg
e5f10022e7
docs/userguide: properly document the resize command
2011-08-28 17:51:37 +02:00
Michael Stapelberg
1d83e776f1
Merge branch 'fix-urls'
2011-08-28 17:44:57 +02:00
Mark Kusch
1953f2c707
s/i3.zekjur.net/i3wm.org/g
2011-08-28 17:44:42 +02:00
Michael Stapelberg
3950aa730c
Merge branch 'fix-ipc-name'
2011-08-28 17:40:15 +02:00
Peter Bui
6e59d693d2
Use name_json if available, rather than non-descriptive name.
2011-08-28 17:36:16 +02:00
Michael Stapelberg
833e4233fc
Merge branch 'migrate-indention'
2011-08-28 17:02:17 +02:00
Michael Stapelberg
96b219f27b
migrate-config: use \s, be a bit more whitespace tolerant (+test) (Thanks sbedivere)
...
Fixes : #457
2011-08-28 17:01:59 +02:00
Michael Stapelberg
b76b9be75a
Merge branch 'wizard-fix-mods'
2011-08-28 16:18:21 +02:00
Michael Stapelberg
0dc11b5d22
i3-config-wizard: Bugfix: Check the modifier mapping to decide whether to use Mod1 or Mod4
...
Fixes #491
Before, we assumed XK_Alt_L was in Mod1 and XK_Super_L was in Mod4 (which is
true on most systems). Now we just check if the keycode is in Mod1 or Mod4 and
write the config accordingly.
2011-08-28 16:16:53 +02:00
Michael Stapelberg
c96b5a12a7
Merge branch 'fix-floatdock'
2011-08-28 15:47:31 +02:00