1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 05:48:01 +01:00

swpanel: Clean up "case ButtonRelease"

Get rid of 2 tabs indentation by removing a
not-strictly-necessary temporary variable.
This commit is contained in:
Carlos R. Mafra
2009-08-22 02:46:17 +02:00
parent d27e43e6b5
commit 203eba8937

View File

@@ -203,18 +203,12 @@ void StartWindozeCycle(WWindow * wwin, XEvent * event, Bool next)
case LeaveNotify:
case MotionNotify:
case ButtonRelease:
{
WWindow *tmp;
if (swpanel) {
tmp = wSwitchPanelHandleEvent(swpanel, &ev);
if (tmp) {
newFocused = tmp;
oldFocused = change_focus_and_raise(newFocused, oldFocused, swpanel, scr);
if (swpanel) {
newFocused = wSwitchPanelHandleEvent(swpanel, &ev);
oldFocused = change_focus_and_raise(newFocused, oldFocused, swpanel, scr);
if (ev.type == ButtonRelease)
done = True;
}
}
if (ev.type == ButtonRelease)
done = True;
}
break;