aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.hh')
-rw-r--r--src/Screen.hh9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Screen.hh b/src/Screen.hh
index 91a824f..35fc271 100644
--- a/src/Screen.hh
+++ b/src/Screen.hh
@@ -27,6 +27,8 @@
27#ifndef _SCREEN_HH_ 27#ifndef _SCREEN_HH_
28#define _SCREEN_HH_ 28#define _SCREEN_HH_
29 29
30
31
30#include <X11/Xlib.h> 32#include <X11/Xlib.h>
31#include <X11/Xresource.h> 33#include <X11/Xresource.h>
32 34
@@ -100,6 +102,8 @@ public:
100 inline const Bool &isScreenManaged(void) const { return managed; } 102 inline const Bool &isScreenManaged(void) const { return managed; }
101 inline const Bool &isTabRotateVertical(void) const 103 inline const Bool &isTabRotateVertical(void) const
102 { return resource.tab_rotate_vertical; } 104 { return resource.tab_rotate_vertical; }
105 inline const Bool &isSloppyWindowGrouping(void) const
106 { return resource.sloppy_window_grouping; }
103 inline const Bool &doAutoRaise(void) const { return resource.auto_raise; } 107 inline const Bool &doAutoRaise(void) const { return resource.auto_raise; }
104 inline const Bool &doImageDither(void) const 108 inline const Bool &doImageDither(void) const
105 { return resource.image_dither; } 109 { return resource.image_dither; }
@@ -203,6 +207,8 @@ public:
203 inline void saveTabAlignment(unsigned int a) { resource.tab_alignment = a; } 207 inline void saveTabAlignment(unsigned int a) { resource.tab_alignment = a; }
204 inline void saveTabRotateVertical(Bool r) 208 inline void saveTabRotateVertical(Bool r)
205 { resource.tab_rotate_vertical = r; } 209 { resource.tab_rotate_vertical = r; }
210 inline void saveSloppyWindowGrouping(Bool s)
211 { resource.sloppy_window_grouping = s; }
206 inline void iconUpdate(void) { iconmenu->update(); } 212 inline void iconUpdate(void) { iconmenu->update(); }
207 inline Iconmenu *getIconmenu(void) { return iconmenu; } 213 inline Iconmenu *getIconmenu(void) { return iconmenu; }
208 214
@@ -305,7 +311,8 @@ private:
305 311
306 Bool toolbar_on_top, toolbar_auto_hide, sloppy_focus, auto_raise, 312 Bool toolbar_on_top, toolbar_auto_hide, sloppy_focus, auto_raise,
307 auto_edge_balance, image_dither, ordered_dither, opaque_move, full_max, 313 auto_edge_balance, image_dither, ordered_dither, opaque_move, full_max,
308 focus_new, focus_last, tab_rotate_vertical, semi_sloppy_focus; 314 focus_new, focus_last, tab_rotate_vertical, semi_sloppy_focus,
315 sloppy_window_grouping;
309 316
310 int workspaces, toolbar_placement, toolbar_width_percent, placement_policy, 317 int workspaces, toolbar_placement, toolbar_width_percent, placement_policy,
311 edge_snap_threshold, row_direction, col_direction; 318 edge_snap_threshold, row_direction, col_direction;