1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

Bug fixes for 0.20.3 pre-release 2

This commit is contained in:
dan
1998-11-03 12:53:26 +00:00
parent abde3e0c4e
commit 59eb947539
80 changed files with 1280 additions and 585 deletions

View File

@@ -64,20 +64,8 @@ focusWindow(WMenu *menu, WMenuEntry *entry)
wwin = (WWindow*)entry->clientdata;
scr = wwin->screen_ptr;
wWorkspaceChange(menu->frame->screen_ptr, wwin->frame->workspace);
if (wwin->flags.shaded) {
wUnshadeWindow(wwin);
}
if (wwin->flags.hidden) {
wUnhideApplication(wApplicationOf(wwin->main_window), False, False);
} else if (wwin->flags.miniaturized) {
wDeiconifyWindow(wwin);
} else {
wSetFocusTo(menu->frame->screen_ptr, wwin);
wRaiseFrame(wwin->frame->core);
}
wMakeWindowVisible(wwin);
x = wwin->frame_x;
y = wwin->frame_y;