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:
@@ -203,18 +203,12 @@ void StartWindozeCycle(WWindow * wwin, XEvent * event, Bool next)
|
|||||||
case LeaveNotify:
|
case LeaveNotify:
|
||||||
case MotionNotify:
|
case MotionNotify:
|
||||||
case ButtonRelease:
|
case ButtonRelease:
|
||||||
{
|
if (swpanel) {
|
||||||
WWindow *tmp;
|
newFocused = wSwitchPanelHandleEvent(swpanel, &ev);
|
||||||
if (swpanel) {
|
oldFocused = change_focus_and_raise(newFocused, oldFocused, swpanel, scr);
|
||||||
tmp = wSwitchPanelHandleEvent(swpanel, &ev);
|
|
||||||
if (tmp) {
|
|
||||||
newFocused = tmp;
|
|
||||||
oldFocused = change_focus_and_raise(newFocused, oldFocused, swpanel, scr);
|
|
||||||
|
|
||||||
if (ev.type == ButtonRelease)
|
if (ev.type == ButtonRelease)
|
||||||
done = True;
|
done = True;
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user