marco 1.29.1
Window manager
Loading...
Searching...
No Matches
constraints.h File Reference
View source
#include "util.h"
#include "window-private.h"
#include "frame-private.h"
Include dependency graph for constraints.h:
This graph shows which files directly or indirectly include this file:

Enumerations

enum  MetaMoveResizeFlags {
  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
}
 

Functions

void meta_window_constrain (MetaWindow *window, MetaFrameBorders *orig_borders, MetaMoveResizeFlags flags, int resize_gravity, const MetaRectangle *orig, MetaRectangle *new)
 

Enumeration Type Documentation

◆ MetaMoveResizeFlags

Enumerator
META_IS_CONFIGURE_REQUEST 
META_DO_GRAVITY_ADJUST 
META_IS_USER_ACTION 
META_IS_MOVE_ACTION 
META_IS_RESIZE_ACTION 

Function Documentation

◆ meta_window_constrain()

void meta_window_constrain ( MetaWindow *  window,
MetaFrameBorders *  orig_borders,
MetaMoveResizeFlags  flags,
int  resize_gravity,
const MetaRectangle *  orig,
MetaRectangle *  new 
)