~muktupavels/metacity/adwaita-icon-theme-lp-1414613

« back to all changes in this revision

Viewing changes to src/keybindings.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-01 12:43:53 UTC
  • mto: (2.2.1 sid) (1.4.2)
  • mto: This revision was merged to the branch mainline in revision 38.
  • Revision ID: james.westby@ubuntu.com-20070501124353-qjwng2k8l9i1afqo
Tags: upstream-2.19.5
ImportĀ upstreamĀ versionĀ 2.19.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
231
231
                                       MetaWindow     *window,
232
232
                                       XEvent         *event,
233
233
                                       MetaKeyBinding *binding);
 
234
static void handle_spew_mark          (MetaDisplay    *display,
 
235
                                       MetaScreen     *screen,
 
236
                                       MetaWindow     *window,
 
237
                                       XEvent         *event,
 
238
                                       MetaKeyBinding *binding);
234
239
static void handle_run_terminal       (MetaDisplay    *display,
235
240
                                       MetaScreen     *screen,
236
241
                                       MetaWindow     *window,
419
424
    GINT_TO_POINTER (33) },
420
425
  { META_KEYBINDING_RUN_COMMAND_TERMINAL, handle_run_terminal,
421
426
    NULL },
 
427
  { META_KEYBINDING_SET_SPEW_MARK, handle_spew_mark, NULL },
422
428
  { NULL, NULL, NULL }
423
429
};
424
430
  
1951
1957
      if (display->grab_wireframe_active)
1952
1958
        old_rect = display->grab_wireframe_rect;
1953
1959
      else
1954
 
        {
1955
 
          old_rect = window->rect;
1956
 
          meta_window_get_position (window, &old_rect.x, &old_rect.y);
1957
 
        }
 
1960
        meta_window_get_client_root_coords (window, &old_rect);
1958
1961
 
1959
1962
      meta_window_edge_resistance_for_move (window, 
1960
1963
                                            old_rect.x,
3329
3332
                                           cycle_op_from_tab_type (type),
3330
3333
                                           FALSE,
3331
3334
                                           FALSE,
3332
 
                                           event->xkey.serial,
3333
3335
                                           0,
3334
3336
                                           binding->mask,
3335
3337
                                           event->xkey.time,
3765
3767
                                  META_GRAB_OP_KEYBOARD_WORKSPACE_SWITCHING,
3766
3768
                                  FALSE,
3767
3769
                                  FALSE,
3768
 
                                  event->xkey.serial,
3769
3770
                                  0,
3770
3771
                                  grab_mask,
3771
3772
                                  event->xkey.time,
3804
3805
    }
3805
3806
}
3806
3807
 
3807
 
#if 0
3808
3808
static void
3809
3809
handle_spew_mark (MetaDisplay    *display,
3810
3810
                  MetaScreen     *screen,
3814
3814
{
3815
3815
  meta_verbose ("-- MARK MARK MARK MARK --\n");
3816
3816
}
3817
 
#endif
3818
3817
 
3819
3818
void
3820
3819
meta_set_keybindings_disabled (gboolean setting)