mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
fix a bug relate to how WMBag work in move/resize window with keyboard.
This commit is contained in:
@@ -1480,13 +1480,12 @@ wKeyboardMoveResizeWindow(WWindow *wwin)
|
||||
|
||||
if(done==2) {
|
||||
if (wwin->flags.shaded || scr->selected_windows) {
|
||||
WMBag *bag;
|
||||
bag=scr->selected_windows;
|
||||
if (!WMGetBagItemCount(scr->selected_windows)) {
|
||||
if (!scr->selected_windows) {
|
||||
wWindowMove(wwin, src_x+off_x, src_y+off_y);
|
||||
wWindowSynthConfigureNotify(wwin);
|
||||
} else {
|
||||
int i;
|
||||
WMBag *bag = scr->selected_windows;
|
||||
doWindowMove(wwin,scr->selected_windows,off_x,off_y);
|
||||
for (i = 0; i < WMGetBagItemCount(bag); i++) {
|
||||
wWindowSynthConfigureNotify(WMGetFromBag(bag, i));
|
||||
|
||||
Reference in New Issue
Block a user