summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2015-09-20 05:41:58 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2015-09-20 05:41:58 +0300
commit67a5d99077428887f0e459b21c6842c14808e017 (patch)
treea43a7634394b02bd2c4f73d15c453d23a68df0b5
parentdee9169de9da88cec9ce842249aee8e150ac8f79 (diff)
downloadmetacity-67a5d99077428887f0e459b21c6842c14808e017.tar.gz
edge-resistance: fix build warnings
-rw-r--r--src/core/edge-resistance.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/edge-resistance.c b/src/core/edge-resistance.c
index 20032df0..efe336e3 100644
--- a/src/core/edge-resistance.c
+++ b/src/core/edge-resistance.c
@@ -427,6 +427,8 @@ apply_edge_resistance (MetaWindow *window,
case META_EDGE_SCREEN:
timeout_length_ms = TIMEOUT_RESISTANCE_LENGTH_MS_SCREEN;
break;
+ default:
+ break;
}
if (!resistance_data->timeout_setup &&
@@ -478,6 +480,8 @@ apply_edge_resistance (MetaWindow *window,
else
threshold = PIXEL_DISTANCE_THRESHOLD_AWAYFROM_SCREEN;
break;
+ default:
+ break;
}
if (ABS (compare - new_pos) < threshold)