mirror of
https://github.com/morgant/mlvwm.git
synced 2024-11-30 23:49:31 +00:00
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:
parent
24578885f2
commit
b039615084
@ -441,10 +441,10 @@ void handle_configure_request( XEvent *ev )
|
|||||||
if (xcr->value_mask & CWWidth) width = xcr->width+12;
|
if (xcr->value_mask & CWWidth) width = xcr->width+12;
|
||||||
if (xcr->value_mask & CWHeight) height = xcr->height+12;
|
if (xcr->value_mask & CWHeight) height = xcr->height+12;
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
tmp_win->frame_x = x<0 ? 0 : x;
|
tmp_win->frame_x = x<0 ? 0 : x;
|
||||||
tmp_win->frame_y = y<MENUB_H ? MENUB_H : y;
|
tmp_win->frame_y = y<MENUB_H ? MENUB_H : y;
|
||||||
*/
|
|
||||||
tmp_win->win_w = width;
|
tmp_win->win_w = width;
|
||||||
tmp_win->win_h = height;
|
tmp_win->win_h = height;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user