diff options
author | Olivier Fourdan <fourdan@xfce.org> | 2012-04-03 22:12:31 +0200 |
---|---|---|
committer | Olivier Fourdan <ofourdan@x61.(none)> | 2012-04-07 17:10:43 +0200 |
commit | e296502edd7c3678100cab1928f71a802d151c4b (patch) | |
tree | 5f6ca5d5859cabdaa83e94549f73a307d6d50491 | |
parent | ba6a10a17598174e0da2e886481ab799e5c4b755 (diff) | |
download | xfwm4-e296502edd7c3678100cab1928f71a802d151c4b.tar.gz |
Reduce tiling distance (bug #8628)
Add tile_on_move setting (no UI yet)
-rw-r--r-- | defaults/defaults | 2 | ||||
-rw-r--r-- | src/moveresize.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/defaults/defaults b/defaults/defaults index 56eaf403e..6db210a28 100644 --- a/defaults/defaults +++ b/defaults/defaults @@ -50,7 +50,7 @@ snap_to_border=true snap_to_windows=false snap_width=10 theme=Default -tile_on_move=false +tile_on_move=true title_alignment=center title_font=Sans Bold 9 title_horizontal_offset=0 diff --git a/src/moveresize.c b/src/moveresize.c index b83a98fd0..33cdb54bb 100644 --- a/src/moveresize.c +++ b/src/moveresize.c @@ -55,7 +55,7 @@ ButtonReleaseMask | \ LeaveWindowMask -#define TILE_DISTANCE 15 +#define TILE_DISTANCE 2 typedef struct _MoveResizeData MoveResizeData; struct _MoveResizeData @@ -764,7 +764,7 @@ clientMoveTile (Client *c, XMotionEvent *xevent) * we should really not have such an option, I must have been weaked * in the past...) */ - if (!screen_info->params->restore_on_move) + if (!(screen_info->params->tile_on_move & screen_info->params->restore_on_move)) { return FALSE; } |