summaryrefslogtreecommitdiff
path: root/src/Screen.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-07-21 09:56:18 +0000
committerDana Jansens <danakj@orodu.net>2002-07-21 09:56:18 +0000
commitbd7f9481590d79ba81c03d3d22ba190826921194 (patch)
tree23cd71e4da31c532f06ada5f93489c5f96cc3af2 /src/Screen.hh
parent54c495c83cf5595db4c6a367386d3ef35bc94fca (diff)
sync with bb-cvs.
Add option in config menu for disabling mouse input with scroll lock. Remove compile-time flag for event clobbering since this solves that problem for now.
Diffstat (limited to 'src/Screen.hh')
-rw-r--r--src/Screen.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Screen.hh b/src/Screen.hh
index f17c6f54..c16bd077 100644
--- a/src/Screen.hh
+++ b/src/Screen.hh
@@ -144,8 +144,8 @@ private:
bool sloppy_focus, auto_raise, auto_edge_balance, ordered_dither,
opaque_move, full_max, focus_new, focus_last, click_raise,
- hide_toolbar, window_to_window_snap, window_corner_snap, aa_fonts,
- ignore_shaded, ignore_maximized;
+ allow_scroll_lock, hide_toolbar, window_to_window_snap,
+ window_corner_snap, aa_fonts, ignore_shaded, ignore_maximized;
BColor border_color;
unsigned int workspaces;
@@ -214,6 +214,7 @@ public:
{ return resource.window_to_window_snap; }
inline bool getWindowCornerSnap(void) const
{ return resource.window_corner_snap; }
+ inline bool allowScrollLock(void) const { return resource.allow_scroll_lock; }
inline const GC &getOpGC(void) const { return opGC; }
@@ -285,6 +286,7 @@ public:
void saveResizeZones(unsigned int z);
void savePlaceIgnoreShaded(bool i);
void savePlaceIgnoreMaximized(bool i);
+ void saveAllowScrollLock(bool a);
inline void iconUpdate(void) { iconmenu->update(); }
#ifdef HAVE_STRFTIME