summaryrefslogtreecommitdiff
path: root/src/edge-resistance.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/edge-resistance.c')
-rw-r--r--src/edge-resistance.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/edge-resistance.c b/src/edge-resistance.c
index 40979beb..443b8cba 100644
--- a/src/edge-resistance.c
+++ b/src/edge-resistance.c
@@ -495,12 +495,10 @@ apply_edge_resistance (MetaWindow *window,
timeout_length_ms = TIMEOUT_RESISTANCE_LENGTH_MS_WINDOW;
break;
case META_EDGE_XINERAMA:
- if (window->require_on_single_xinerama)
- timeout_length_ms = TIMEOUT_RESISTANCE_LENGTH_MS_XINERAMA;
+ timeout_length_ms = TIMEOUT_RESISTANCE_LENGTH_MS_XINERAMA;
break;
case META_EDGE_SCREEN:
- if (window->require_fully_onscreen)
- timeout_length_ms = TIMEOUT_RESISTANCE_LENGTH_MS_SCREEN;
+ timeout_length_ms = TIMEOUT_RESISTANCE_LENGTH_MS_SCREEN;
break;
}