Author: olivier Date: 2006-10-12 20:26:31 +0000 (Thu, 12 Oct 2006) New Revision: 23375
Modified: xfwm4/trunk/src/events.c Log: Use raise with any button on regular focusable windows only. Modified: xfwm4/trunk/src/events.c =================================================================== --- xfwm4/trunk/src/events.c 2006-10-12 20:23:45 UTC (rev 23374) +++ xfwm4/trunk/src/events.c 2006-10-12 20:26:31 UTC (rev 23375) @@ -994,7 +994,7 @@ else if (ev->window == c->window) { clientPassGrabMouseButton (c); - if ((screen_info->params->raise_with_any_button) || (ev->button == Button1)) + if (((screen_info->params->raise_with_any_button) && (c->type & WINDOW_REGULAR_FOCUSABLE)) || (ev->button == Button1)) { if (!(c->type & WINDOW_TYPE_DONT_FOCUS)) { _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits