mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-04 23:35:58 +01:00
fixed crash bug on startup
added paste-launch on dock
This commit is contained in:
@@ -653,9 +653,7 @@ wScreenForRootWindow(Window window)
|
||||
}
|
||||
}
|
||||
|
||||
assert("bad_root_window" && 0);
|
||||
|
||||
return NULL;
|
||||
return wScreenForWindow(window);
|
||||
}
|
||||
|
||||
|
||||
@@ -678,7 +676,7 @@ wScreenSearchForRootWindow(Window window)
|
||||
}
|
||||
}
|
||||
|
||||
return NULL;
|
||||
return wScreenForWindow(window);
|
||||
}
|
||||
|
||||
|
||||
@@ -1125,7 +1123,8 @@ manageAllWindows(WScreen *scr, int crashRecovery)
|
||||
|
||||
wWindowMove(wwin, wwin->frame_x - border,
|
||||
wwin->frame_y - border -
|
||||
wwin->frame->titlebar->height);
|
||||
(wwin->frame->titlebar ?
|
||||
wwin->frame->titlebar->height : 0));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user