window: Move move_resize_internal logic to protocol-specific directories

This commit is contained in:
Jasper St. Pierre
2014-03-19 10:30:12 -04:00
parent a377a1a110
commit a53e094fcd
5 changed files with 610 additions and 555 deletions

View File

@ -27,16 +27,6 @@
#include "window-private.h"
#include "frame.h"
typedef enum
{
META_IS_CONFIGURE_REQUEST = 1 << 0,
META_DO_GRAVITY_ADJUST = 1 << 1,
META_IS_USER_ACTION = 1 << 2,
META_IS_MOVE_ACTION = 1 << 3,
META_IS_RESIZE_ACTION = 1 << 4,
META_IS_WAYLAND_RESIZE = 1 << 5
} MetaMoveResizeFlags;
void meta_window_constrain (MetaWindow *window,
MetaMoveResizeFlags flags,
int resize_gravity,