Uncomment setting tmp_win->frame_x & tmp_win->frame_y in handle_configure_request() to fix xdotool not moving windows. Issue #25

This commit is contained in:
Morgan Aldridge 2021-09-05 10:53:24 -04:00
parent 24578885f2
commit b039615084

View File

@ -441,10 +441,10 @@ void handle_configure_request( XEvent *ev )
if (xcr->value_mask & CWWidth) width = xcr->width+12;
if (xcr->value_mask & CWHeight) height = xcr->height+12;
}
/*
tmp_win->frame_x = x<0 ? 0 : x;
tmp_win->frame_y = y<MENUB_H ? MENUB_H : y;
*/
tmp_win->win_w = width;
tmp_win->win_h = height;