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,19 +203,13 @@ 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;
|
||||
newFocused = wSwitchPanelHandleEvent(swpanel, &ev);
|
||||
oldFocused = change_focus_and_raise(newFocused, oldFocused, swpanel, scr);
|
||||
|
||||
if (ev.type == ButtonRelease)
|
||||
done = True;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user