mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-22 07:17:05 +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:
1 parent
d27e43e6b5
commit
203eba8937
1 file changed
+5
-11
+5
-11
@@ -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