mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
reset drag state after shaking loose or reattaching. Fix for #132625.
2004-02-16 Rob Adams <readams@readams.net> * src/window.c (update_move): reset drag state after shaking loose or reattaching. Fix for #132625.
This commit is contained in:
parent
88ea02a77a
commit
ad65847d7d
@ -1,3 +1,8 @@
|
||||
2004-02-16 Rob Adams <readams@readams.net>
|
||||
|
||||
* src/window.c (update_move): reset drag state after shaking loose
|
||||
or reattaching. Fix for #132625.
|
||||
|
||||
2004-02-15 Anders Carlsson <andersca@gnome.org>
|
||||
|
||||
* src/menu.c (meta_window_menu_new): Actually translate a message,
|
||||
|
@ -5900,8 +5900,10 @@ update_move (MetaWindow *window,
|
||||
window->display->grab_initial_window_pos.y += window->frame->child_y / 2;
|
||||
}
|
||||
|
||||
window->saved_rect.x = window->display->grab_initial_window_pos.x-dx;
|
||||
window->saved_rect.y = window->display->grab_initial_window_pos.y-dy;
|
||||
window->saved_rect.x = window->display->grab_initial_window_pos.x;
|
||||
window->saved_rect.y = window->display->grab_initial_window_pos.y;
|
||||
window->display->grab_anchor_root_x = x;
|
||||
window->display->grab_anchor_root_y = y;
|
||||
|
||||
meta_window_unmaximize (window);
|
||||
|
||||
@ -5946,6 +5948,8 @@ update_move (MetaWindow *window,
|
||||
}
|
||||
|
||||
window->display->grab_initial_window_pos = work_area;
|
||||
window->display->grab_anchor_root_x = x;
|
||||
window->display->grab_anchor_root_y = y;
|
||||
window->shaken_loose = FALSE;
|
||||
|
||||
meta_window_maximize (window);
|
||||
|
Loading…
Reference in New Issue
Block a user