Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Reduce tiling distance (bug #8628)

Add tile_on_move setting (no UI yet)
  • Loading branch information...
commit e296502edd7c3678100cab1928f71a802d151c4b 1 parent ba6a10a
@ofourdan ofourdan authored Olivier Fourdan committed
Showing with 3 additions and 3 deletions.
  1. +1 −1  defaults/defaults
  2. +2 −2 src/moveresize.c
View
2  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
View
4 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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.