1000
|
|
|
Neil Jagdish Patel |
13 years ago
|
|
|
999
|
|
|
Didier Roche |
13 years ago
|
|
|
998
|
|
|
Jason Smith |
13 years ago
|
|
|
997
|
|
|
Jason Smith |
13 years ago
|
|
|
996
|
|
|
Didier Roche |
13 years ago
|
|
|
995
|
|
|
Mirco Müller |
13 years ago
|
|
|
994
|
|
|
Gord Allott |
13 years ago
|
|
|
993
|
|
|
Mirco Müller |
13 years ago
|
|
|
992
|
|
Merge Dylan's work after resolving a merge confict! Thanks a lot/
This branch changes the mechanics for the top panel acting as a titlebar. Previously, the top panel could be dragged in order to unmaximize (and move) a maximized window, but only if that window was in focus. This opened up some issues, which are covered in bug #716177.
With this branch, Unity's PanelMenuView maintains a list of maximized windows. (Note: When I say “maximized window,” I really mean “a window that Unity has started decorating instead of the window decorator.” Right now, that is limited to maximized windows).
When the user clicks the top panel, that click affects the front-most of the PanelMenuView's maximized windows. Previously, OnMaximizedGrab would only affect the active window if it was maximized. I also added some code to Activate the front-most maximized window, bringing it into focus when the top panel is clicked.
There is some intricacy involving multiple viewports and desktops, where the top panel should never act as a titlebar for a window that is not visible (be it behind another maximized window or on a different viewport). I believe I have covered the appropriate cases in WindowManager::IsWindowOnCurrentDesktop and WindowManager::IsWindowObscured.
Fix:
Bug #716177: The Unity Panel's window controls and window dragging features should work for the uppermost maximized window regardless of current window in focus Bug #723882: When a maximized window has window on top of it in 'restored state' (not maximised) , it is not possible to un-maximized the window by dragging the title bar downwards Bug #736580: Possible race condition in PanelMenuView::OnWindowMaximized and OnWindowRestored
|
Didier Roche |
13 years ago
|
|
|
991
|
|
|
Didier Roche |
13 years ago
|
|
|
990
|
|
|
Alejandro Piñeiro |
13 years ago
|
|
|
989
|
|
|
Alejandro Piñeiro |
13 years ago
|
|
|
988
|
|
|
Didier Roche |
13 years ago
|
|
|
987
|
|
|
Neil Jagdish Patel |
13 years ago
|
|
|
986
|
|
|
Jason Smith |
13 years ago
|
|
|
985
|
|
|
Jason Smith |
13 years ago
|
|
|
984
|
|
|
Jason Smith |
13 years ago
|
|
|
983
|
|
|
Jason Smith |
13 years ago
|
|
|
982
|
|
|
Jason Smith |
13 years ago
|
|
|
981
|
|
|
Didier Roche |
13 years ago
|
|
|