From 91063b16db2ace7d6da14fc7374194cfc1d69254 Mon Sep 17 00:00:00 2001 From: Michael Cardell Widerkrantz Date: Tue, 29 Mar 2011 15:04:42 +0200 Subject: Always work on the currently focused window when moving and resizing and not in the window the mouse cursor happen to be in when the mouse button is pressed. However, just do move and resize if the mouse cursor is inside the window we care about. There's a limit to sloppy focus. It gets confusing and we might lose focus to another window if we allow move and resize *and continue to put the mouse cursor back to where it was when starting, relative to the window*, as we do now. Removed code for special handling of the root window. We don't use it anyway. Extra checks for focuswin == NULL. --- NEWS | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index d75e077..304724d 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,14 @@ User visible changes +2011-03-29 + + * Sloppy focus didn't really work for move and resize before. When + the mouse pointer was outside the window nothing happened. Now + fixed. This also means that any panels that we don't know + anything about, like dzen2, won't suddenly interfer with resizing + if the mouse pointer just happens to be in their window. + 2011-03-28 * Always raise window when fixing it on all workspaces. When moving -- cgit v1.2.3