summaryrefslogtreecommitdiff
path: root/src/shell.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2013-05-07 10:50:09 -0400
committerKristian Høgsberg <krh@bitplanet.net>2013-05-07 10:50:09 -0400
commit8799d41b1ed1d00d8979c2fa324df07308cde428 (patch)
tree2c22381952ebcc6e3474fabcc9ee9c44309f4090 /src/shell.c
parente314875d00739b9c55a065b96f8040f627edb8e3 (diff)
downloadweston-8799d41b1ed1d00d8979c2fa324df07308cde428.tar.gz
weston-8799d41b1ed1d00d8979c2fa324df07308cde428.tar.bz2
weston-8799d41b1ed1d00d8979c2fa324df07308cde428.zip
compositor: Move fan_debug to gl-renderer
With the debug binding infrastructure, we can do this all inside gl-renderer.c.
Diffstat (limited to 'src/shell.c')
-rw-r--r--src/shell.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/shell.c b/src/shell.c
index 3a927288..f129288d 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -3901,16 +3901,6 @@ backlight_binding(struct weston_seat *seat, uint32_t time, uint32_t key,
output->set_backlight(output, output->backlight_current);
}
-static void
-fan_debug_repaint_binding(struct weston_seat *seat, uint32_t time, uint32_t key,
- void *data)
-{
- struct desktop_shell *shell = data;
- struct weston_compositor *compositor = shell->compositor;
- compositor->fan_debug = !compositor->fan_debug;
- weston_compositor_damage_all(compositor);
-}
-
struct debug_binding_grab {
struct weston_keyboard_grab grab;
struct weston_seat *seat;
@@ -4226,8 +4216,6 @@ shell_add_bindings(struct weston_compositor *ec, struct desktop_shell *shell)
/* Debug bindings */
weston_compositor_add_key_binding(ec, KEY_SPACE, mod | MODIFIER_SHIFT,
debug_binding, shell);
- weston_compositor_add_debug_binding(ec, KEY_F,
- fan_debug_repaint_binding, shell);
}
WL_EXPORT int