-
Committer:
Sam Spilsbury
-
Date:
2010-12-27 15:36:20 UTC
-
Revision ID:
sam.spilsbury@canonical.com-20101227153620-f3kkirm5id0zqdy7
Added snap-off functionality for maximized windows. Works like the regular
snap-off functionality from compiz and metacity for maximized windows - just
grab the "unused" area of the panel + titlebar while the window is maximized
and drag down - the window will be unmaximized.
changed:
* src/PanelMenuView.cpp : Add signals
* src/PanelMenuView.h : Add signal callback methods and _is_grabbed
* src/WindowManager.cpp : Added a StartMove () method. This sets a
_NET_WM_MOVERESIZE_MOVE (on _NET_WM_MOVERESIZE)
to the root window, which compiz and other EWMH
compliant window managers will receive and
initiate a window move with
Added:
* PanelTitlebarGrabAreaView.cpp / h : New nux widget embedded into panel
which takes up the rest of the remaining
space and handles grab events