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

- Eliminated the double no-position-display gap when switching position

display types with the Shift key while moving windows
- Added be.po to configure.ac
- Changed the default resize window display type to 'Center'
This commit is contained in:
dan
2002-10-25 03:37:51 +00:00
parent ffa1a610c0
commit 55efa1f268
6 changed files with 14 additions and 8 deletions

View File

@@ -169,8 +169,12 @@ cyclePositionDisplay(WWindow *wwin, int x, int y, int w, int h)
wPreferences.move_display++;
wPreferences.move_display %= NUM_DISPLAYS;
if (wPreferences.move_display == WDIS_NEW
|| wPreferences.move_display == WDIS_NONE) {
if (wPreferences.move_display == WDIS_NEW) {
wPreferences.move_display++;
wPreferences.move_display %= NUM_DISPLAYS;
}
if (wPreferences.move_display == WDIS_NONE) {
WMUnmapWidget(scr->gview);
} else {
if (wPreferences.move_display == WDIS_CENTER) {
@@ -180,7 +184,7 @@ cyclePositionDisplay(WWindow *wwin, int x, int y, int w, int h)
moveGeometryDisplayCentered(scr, 1, 1);
} else if (wPreferences.move_display == WDIS_FRAME_CENTER) {
moveGeometryDisplayCentered(scr, x + w/2, y + h/2);
}
}
WMMapWidget(scr->gview);
}
}