Commit Graph

2388 Commits

Author SHA1 Message Date
Michael Stapelberg 698d97cd02 Bugfix: Correctly warp floating windows when using the 'move' command 2011-08-24 22:59:46 +02:00
Michael Stapelberg cd2d7ef484 Bugfix: Correctly keep focus when moving non-leaf windows 2011-08-24 22:55:56 +02:00
Michael Stapelberg 1d9a2abc05 Bugfix: Fix coordinates when moving a floating window to a different output 2011-08-24 22:54:10 +02:00
Michael Stapelberg 3690bc6eef Merge branch 'fix-floating-negative' 2011-08-24 22:43:25 +02:00
Michael Stapelberg 7558c1ddbd Bugfix: Correctly handle current_output == NULL
Fixes t/66-assign.t
2011-08-24 22:41:17 +02:00
Michael Stapelberg f26dd1a7b1 Merge branch 'fix-floating-centering' 2011-08-24 22:27:59 +02:00
Peter Bui a33bfa81d2 Move centering code to before sanity check 2011-08-24 22:27:15 +02:00
Michael Stapelberg 4021c54b93 Merge branch 'fix-i3bar-cutoff' 2011-08-24 18:49:37 +02:00
Michael Stapelberg 7af39906da i3bar: Bugfix: Correctly allocate pixmap for statuslines which are longer than your screen
In case of a 1024 px screen and a 1128 px status line, the status line was not
only cut off (it has to be, obviously), but the right part showed some black
pixels.
2011-08-24 18:48:29 +02:00
Michael Stapelberg 6bcc670257 update changelog (not releasing yet) 2011-08-24 18:24:59 +02:00
Michael Stapelberg b31948aecb Merge branch 'fix-assign-screen' 2011-08-24 16:58:43 +02:00
Michael Stapelberg 247e115835 Bugfix: Correctly place floating windows on their appropriate output (Thanks kraM)
Fixes #452

This might also fix problems with Firefox where Firefox only displays a white
window (my guess is that it mapped a floating window outside of the actually
visible area for some reason).
2011-08-24 16:57:35 +02:00
Michael Stapelberg 63fff5a4e1 Merge branch 'fix-resize-in-con' 2011-08-24 15:14:50 +02:00
Michael Stapelberg 0d35feb71b Bugfix: Make the 'resize' command work inside tabbed/stacked cons (+test) (Thanks sbedivere)
Fixes #461
2011-08-24 15:14:04 +02:00
Michael Stapelberg 16f9c9aee7 Merge branch 'fix-focustoggle' 2011-08-24 00:57:32 +02:00
Michael Stapelberg b8a656bca7 Add test for the 'focus mode_toggle' issue (#487) 2011-08-24 00:57:25 +02:00
Michael Stapelberg 0848844f2d Bugfix: Fix 'focus mode_toggle' on an empty workspace (Thanks BeF)
Fixes #487
2011-08-24 00:55:11 +02:00
Michael Stapelberg 3f147b77ab Merge branch 'fix-path' 2011-08-23 21:32:24 +02:00
Michael Stapelberg 9f9fc82cc6 Don’t use absolute paths in the default config (Thanks cls)
Fixes #489
2011-08-23 21:30:09 +02:00
Michael Stapelberg df076113a6 debian: s/dwm-tools/suckless-tools (Thanks sur5r) 2011-08-22 12:44:44 +02:00
Michael Stapelberg e0d7ce1232 Merge branch 'fix-querypointer' 2011-08-20 17:48:39 +02:00
Michael Stapelberg f15559eb1f Don’t die, but ELOG and fallback when the pointer cannot be queried (Thanks Niklas) 2011-08-20 17:48:07 +02:00
Michael Stapelberg 0f077f1dbf Merge branch 'fix-assignfocus' 2011-08-17 16:37:05 +02:00
Michael Stapelberg f172359ba5 Bugfix: Don’t change focus when assigned windows start on invisible workspaces (+test) (Thanks ioflag)
Fixes #468
2011-08-17 16:36:19 +02:00
Michael Stapelberg f3cfd3fce3 update changelog (not releasing yet) 2011-08-17 13:43:47 +02:00
Michael Stapelberg 84afc79e0b Merge branch 'fix-startfocus' 2011-08-17 13:37:30 +02:00
Michael Stapelberg 09ad9808f6 Bugfix: Set focus to where the mouse pointer is when starting (Thanks nutron)
Fixes #477
2011-08-17 13:37:08 +02:00
Michael Stapelberg 4f0a3fd1ba Merge branch 'fix-wsnext' 2011-08-17 12:29:12 +02:00
Michael Stapelberg 7c6f693c8a Bugfix: Don’t consider the workspace next/prev command when looking for named workspaces
Fixes #469
2011-08-17 12:28:45 +02:00
Michael Stapelberg 13ecbf43c9 Merge branch 'fix-verbose' 2011-08-17 12:17:26 +02:00
Michael Stapelberg 22882f4e89 Bugfix: Initialize verbose to 'false' (Thanks tilman)
Verbosity was set to 'true' when we started the tree branch.
We forgot to set it back to 'false' :-).
2011-08-17 12:16:32 +02:00
Michael Stapelberg 336ce56cf3 Merge branch 'fix-warping' 2011-08-17 12:14:03 +02:00
Peter Bui 36224f86d1 Only warp pointer once during x_push_changes()
- Introduce warp_to static variable in x.c that stores the coordinates
  to warp to as a Rect.

- Add x_set_warp_to function to set this variable.  Use in _tree_next,
  workspace_show, and con_move_to_workspace.

- In x_push_chanages, if warp_to is set, then call xcb_warp_pointer_rect
  and then reset it to NULL.

This fixes all know bugs for pointer warping for me.
2011-08-17 12:12:40 +02:00
Michael Stapelberg 637d2a3d62 Merge branch 'use-xcb-atoms' 2011-08-17 01:52:41 +02:00
Michael Stapelberg 7951445849 xcb: use predefined XCB_ATOM_ atoms, don’t request them 2011-08-17 01:41:19 +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
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 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 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 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 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