Commit Graph

3300 Commits

Author SHA1 Message Date
Michael Stapelberg 7951445849 xcb: use predefined XCB_ATOM_ atoms, don’t request them 2011-08-17 01:41:19 +02:00
Michael Stapelberg 2f116df901 Merge branch 'master' into next 2011-08-12 23:11:13 +02:00
Michael Stapelberg c8e6de1382 Merge branch 'i3bar-fixes' 2011-08-12 23:10:21 +02:00
Michael Stapelberg dddce72bd7 little comment spelling fixes 2011-08-12 23:09:59 +02:00
Michael Stapelberg 72ef8a7c19 Pass NULL to XkbOpenDisplay, it will read $DISPLAY itself 2011-08-12 23:09:36 +02:00
Michael Stapelberg 3892d616cf Bugfix: Use correct buffer size, quote workspace names
This fixes problems with the workspace 'next' and workspace names longer than
40 characters
2011-08-12 22:57:02 +02:00
Axel Wagner 4e0ccbf57b Merge branch 'i3bar_fix_tabs' into next 2011-08-12 18:44:36 +02:00
Axel Wagner 7cb7700b02 i3bar: Fixup indentions 2011-08-12 18:43:09 +02:00
Michael Stapelberg d3efa73dd7 Merge branch 'master' into next 2011-08-11 22:22:44 +02:00
Michael Stapelberg 79479617c7 Merge branch 'warp-pointer' 2011-08-11 22:22:36 +02:00
Valentin Voigt bf0c67b2af Warp cursor when changing workspace. 2011-08-11 22:13:50 +02:00
Axel Wagner 9ccb3987ad Merge branch 'master' into next 2011-08-10 23:56:16 +02:00
Axel Wagner 318dfce42f Merge branch 'i3bar_warning_fix' 2011-08-10 23:55:20 +02:00
Axel Wagner 94d55f34e1 i3bar: Fix prototypes (thx sECuRE) 2011-08-10 23:54:27 +02:00
Michael Stapelberg 3af7692a92 Merge branch 'tests-optimize' into next 2011-08-10 15:57:28 +02:00
Michael Stapelberg 5524785877 testsuite: eliminate sleep, wait until i3 replies via IPC 2011-08-10 15:56:39 +02:00
Michael Stapelberg 10f871b57b implement "socket activation": passing IPC sockets to i3 2011-08-10 15:55:27 +02:00
Michael Stapelberg 016ecb65fb Merge branch 'master' into next 2011-08-09 10:02:55 +02:00
Michael Stapelberg 6b1dce27f7 Merge branch 'fix-moving-focus' 2011-08-09 10:02:51 +02:00
Peter Bui d8cf36ce83 Fix two focus issues when switching/moving workspaces
1. Fix focus when moving to same workspace.

If we have a single window on a workspace and we switch to the same
worksapce, focus_next will be the workspace container, rather than the
current window, so simply call con_descend_focused to ensure we set the
focus to a window.

2. Fix focus when moving a container to a visible workspace.

Call workspace_show before we attaching to new visible workspace, so we
don't get in the weird situation where target workspace has focused
window, but it isn't considered focused.
2011-08-09 10:01:08 +02:00
Michael Stapelberg f8d834c62d Merge branch 'master' into next 2011-08-09 09:47:10 +02:00
Michael Stapelberg 042b10e068 Merge branch 'fix-resize' 2011-08-09 09:47:06 +02:00
Michael Stapelberg 98cc37e223 swap up/down, also modify the testcase 2011-08-09 09:46:02 +02:00
Peter Bui 3316d8b8ba Resize uses up and down, not bottom and top
- Fix userguide resize example
- Update migration script
2011-08-09 09:42:36 +02:00
Michael Stapelberg 639a4baf7b Merge branch 'new-new_float' into next 2011-08-09 09:30:12 +02:00
Michael Stapelberg 74687fa97c tests: add t/74-border-config which checks new_window and new_float 2011-08-09 09:29:59 +02:00
Mateusz Poszwa 42db9de7ec Add new_float config option.
This option sets the default border style for containers automatically put into floating mode.

Fixes #264
2011-08-09 09:29:53 +02:00
Mateusz Poszwa cd5ebc2dca src/manage.c: properly set automatic flag when calling floating_enable() 2011-08-09 09:29:47 +02:00
Michael Stapelberg eb0a56fad1 Merge branch 'get-marks' into next 2011-08-09 09:28:06 +02:00
Michael Stapelberg 4253aa4ba2 Merge branch 'master' into next 2011-08-09 09:27:55 +02:00
Michael Stapelberg 5dcbb341d1 Merge branch 'new-fix-leaks' 2011-08-09 09:27:40 +02:00
Michael Stapelberg cd1add1f3c Bugfix: don’t free the old json_output, the caller does that 2011-08-09 09:27:28 +02:00
Michael Stapelberg 95416175cd Bugfix: use FREE to correctly handle NULL replies 2011-08-09 09:27:24 +02:00
Peter Bui 5e06b1b21d Fix some potential memory leaks 2011-08-09 09:27:15 +02:00
Michael Stapelberg fadf9088db docs/ipc: make the GET_MARKS docs a little more precise 2011-08-09 08:22:58 +02:00
Michael Stapelberg dab3a0b85a tests: add testcase for the GET_MARKS ipc request 2011-08-09 08:19:48 +02:00
Helgi Kristvin Sigurbjarnarson 3cc22dcbe4 Preserve marks between restarts. 2011-08-09 08:19:31 +02:00
Helgi Kristvin Sigurbjarnarson 96ed68de16 Add support for get_marks in i3-msg 2011-08-09 08:19:11 +02:00
Helgi Kristvin Sigurbjarnarson 35d7ef0ddd Feature: implement GET_MARKS 2011-08-09 08:04:33 +02:00
Michael Stapelberg e304902874 Merge branch 'master' into next 2011-08-07 20:45:20 +02:00
Michael Stapelberg 6fb5d6e313 initialize most to NULL, fixes warning 2011-08-07 20:45:06 +02:00
Michael Stapelberg 8b9ba5fd0b Merge branch 'master' into next 2011-08-07 18:15:10 +02:00
Michael Stapelberg b0f0a045bc update changelog (no, we are not releasing) 2011-08-07 18:15:01 +02:00
Michael Stapelberg 091b72f3a9 Merge branch 'master' into next 2011-08-07 18:03:56 +02:00
Michael Stapelberg 503f318b53 Merge branch 'fix-split-docs' 2011-08-07 18:03:51 +02:00
Michael Stapelberg 0ec208bd75 docs/userguide: use bindsym for the 'split' example (Thanks Jan) 2011-08-07 18:03:29 +02:00
Michael Stapelberg 9260cd7e12 Merge branch 'master' into next 2011-08-07 17:56:37 +02:00
Michael Stapelberg e17d49e6a4 Merge branch 'fix-ws-direction' 2011-08-07 17:56:32 +02:00
Michael Stapelberg d39261a1f0 rewrite con_descend_orientation
It now uses the container orientation (if it is appropriate, the last focused
one otherwise) to recurse. This works better if the target workspace is in
vertical orientation when you use right/left or if it is in horizontal
orientation but you use up/down.
2011-08-07 15:57:36 +02:00
Michael Stapelberg 99ba193ce7 Bugfix: the up/down directions were swapped
Also compare 'output' and 'current' in the same order in both parts of the
condition to make the comparison more clear.
2011-08-07 15:46:24 +02:00