--- plugins/scale.c 2006-10-25 12:26:00.000000000 -0600 +++ plugins/scale.c 2006-10-26 17:28:58.000000000 -0600 @@ -1371,14 +1371,17 @@ scaleDisplayInitOptions (ScaleDisplay *s o->value.action.initiate = scaleInitiate; o->value.action.terminate = scaleTerminate; o->value.action.bell = FALSE; - o->value.action.edgeMask = (1 << SCREEN_EDGE_TOPRIGHT); o->value.action.state = CompActionStateInitEdge; - o->value.action.type = CompBindingTypeKey; + o->value.action.type = CompBindingTypeEdgeButton; + o->value.action.edgeMask = (1 << SCREEN_EDGE_TOPRIGHT); o->value.action.state |= CompActionStateInitKey; + o->value.action.type |= CompBindingTypeKey; o->value.action.key.modifiers = SCALE_INITIATE_MODIFIERS_DEFAULT; o->value.action.key.keycode = XKeysymToKeycode (display, XStringToKeysym (SCALE_INITIATE_KEY_DEFAULT)); + o->value.action.state |= CompActionStateInitButton; + o->value.action.type |= CompBindingTypeButton; } static Bool