From 40913639c0718b22055b66e746d7ad41b6fb0e5d Mon Sep 17 00:00:00 2001 From: Olivier Fourdan <fourdan.olivier@wanadoo.fr> Date: Sun, 24 Oct 2004 21:48:10 +0000 Subject: [PATCH] Add some logic to the way move/resize/raise windows work. (Old svn revision: 12104) --- src/events.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/events.c b/src/events.c index b9132557f..fbea4c363 100644 --- a/src/events.c +++ b/src/events.c @@ -277,8 +277,6 @@ moveRequest (Client * c, XEvent * ev) static void resizeRequest (Client * c, int corner, XEvent * ev) { - clientSetFocus (c->screen_info, c, GDK_CURRENT_TIME, NO_FOCUS_FLAG); - if (FLAG_TEST_ALL (c->xfwm_flags, XFWM_FLAG_HAS_RESIZE | XFWM_FLAG_IS_RESIZABLE)) { @@ -633,6 +631,7 @@ edgeButton (Client * c, int part, XButtonEvent * ev) { if (ev->button == Button1) { + clientSetFocus (c->screen_info, c, GDK_CURRENT_TIME, NO_FOCUS_FLAG); clientRaise (c); clientPassGrabButton1 (c); } -- GitLab