1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-04-26 19:01:25 +02:00

fix flicker

This commit is contained in:
kojima
2004-10-23 01:56:24 +00:00
parent c3cff33f99
commit 11b464a002
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -207,7 +207,7 @@ StartWindozeCycle(WWindow *wwin, XEvent *event, Bool next)
WWindow *tmp;
if (swpanel) {
tmp = wSwitchPanelHandleEvent(swpanel, &ev);
if (tmp && tmp != newFocused) {
if (tmp) {
newFocused = tmp;
wWindowFocus(newFocused, oldFocused);
oldFocused = newFocused;
+1 -1
View File
@@ -479,7 +479,7 @@ WWindow *wSwitchPanelHandleEvent(WSwitchPanel *panel, XEvent *event)
}
}
if (focus >= 0) {
if (focus >= 0 && panel->current != focus) {
WWindow *wwin;
changeImage(panel, panel->current, 0);