1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01: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

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;

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);