diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2004-09-04 19:45:38 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2004-09-04 19:45:38 +0000 |
| commit | c02f68499f8cb001f48cbc6d4af43a6fe9cf681d (patch) | |
| tree | d6a918ce384db3713792e0ba51565088bd4a0f3a /openbox/config.c | |
| parent | 1ed2670b891929be289b4099ee752a592e8f123b (diff) | |
option to make dragging and findedge ignore windows on lower layers
Diffstat (limited to 'openbox/config.c')
| -rw-r--r-- | openbox/config.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbox/config.c b/openbox/config.c index da1128f4..9156c888 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -73,6 +73,8 @@ GSList *config_menu_files; gint config_resist_win; gint config_resist_edge; +gboolean config_resist_layers_below; + /* <keybind key="C-x"> @@ -422,6 +424,8 @@ static void parse_resistance(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, config_resist_win = parse_int(doc, n); if ((n = parse_find_node("screen_edge_strength", node))) config_resist_edge = parse_int(doc, n); + if ((n = parse_find_node("edges_hit_layers_below", node))) + config_resist_layers_below = parse_bool(doc, n); } typedef struct @@ -589,6 +593,7 @@ void config_startup(ObParseInst *i) config_resist_win = 10; config_resist_edge = 20; + config_resist_layers_below = FALSE; parse_register(i, "resistance", parse_resistance, NULL); |
