diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-05 16:16:26 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-05 16:16:26 +0000 |
| commit | b5e597f1b3a810610fd63f50c55dc5a8b715744e (patch) | |
| tree | 133d9e1f30a99eb95b6064d7a7fd734bd3439cc6 /openbox/moveresize.c | |
| parent | 99daa7f5237b220b93bbec4854344d76cde3ef84 (diff) | |
lots of fixes for the iconify animation. i think it should all work perfectly now ?
one change in action.c may affect bindings... THIS COULD BREAK CURRENT CONFIG FILES. ya.
so, if you used a press binding and it moved the window, no enter event will be generated for that anymore because you are holding down the button when the window moves. if you don't like that then use a click binding instead.
1
Diffstat (limited to 'openbox/moveresize.c')
| -rw-r--r-- | openbox/moveresize.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/moveresize.c b/openbox/moveresize.c index 868c0c25..9f9d4dfd 100644 --- a/openbox/moveresize.c +++ b/openbox/moveresize.c @@ -153,12 +153,14 @@ void moveresize_start(ObClient *c, gint x, gint y, guint b, guint32 cnr) moving = (cnr == prop_atoms.net_wm_moveresize_move || cnr == prop_atoms.net_wm_moveresize_move_keyboard); - if (moveresize_in_progress || !c->frame->visible || + if (moveresize_in_progress || !frame_visible(c->frame) || !(moving ? (c->functions & OB_CLIENT_FUNC_MOVE) : (c->functions & OB_CLIENT_FUNC_RESIZE))) return; + frame_end_iconify_animation(c->frame); + moveresize_client = c; start_cx = c->area.x; start_cy = c->area.y; |
