~ubuntu-branches/ubuntu/wily/mutter/wily

« back to all changes in this revision

Viewing changes to .pc/05_raise_on_click_for_click_mode.patch/src/core/prefs.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-12-23 10:04:31 UTC
  • mfrom: (0.5.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101223100431-41wly62fhdak1b9i
Tags: 2.91.4-0ubuntu1
* New upstream release
* debian/control:
  - Bump build-depends on libgtk3.0-dev
  - Rename gir1.0 packages to gir1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
static int   cursor_size = 24;
105
105
static gboolean compositing_manager = FALSE;
106
106
static gboolean resize_with_right_button = FALSE;
107
 
static gboolean side_by_side_tiling = FALSE;
 
107
static gboolean edge_tiling = FALSE;
108
108
static gboolean force_fullscreen = TRUE;
109
109
 
110
110
static MetaVisualBellType visual_bell_type = META_VISUAL_BELL_FULLSCREEN_FLASH;
424
424
      &resize_with_right_button,
425
425
      FALSE,
426
426
    },
427
 
    { "/apps/metacity/general/side_by_side_tiling",
428
 
      META_PREF_SIDE_BY_SIDE_TILING,
429
 
      &side_by_side_tiling,
 
427
    { "/apps/metacity/general/edge_tiling",
 
428
      META_PREF_EDGE_TILING,
 
429
      &edge_tiling,
430
430
      FALSE,
431
431
    },
432
432
    { "/apps/mutter/general/live_hidden_windows",
2011
2011
    case META_PREF_RESIZE_WITH_RIGHT_BUTTON:
2012
2012
      return "RESIZE_WITH_RIGHT_BUTTON";
2013
2013
 
2014
 
    case META_PREF_SIDE_BY_SIDE_TILING:
2015
 
      return "SIDE_BY_SIDE_TILING";
 
2014
    case META_PREF_EDGE_TILING:
 
2015
      return "EDGE_TILING";
2016
2016
 
2017
2017
    case META_PREF_FORCE_FULLSCREEN:
2018
2018
      return "FORCE_FULLSCREEN";
2927
2927
}
2928
2928
 
2929
2929
gboolean
2930
 
meta_prefs_get_side_by_side_tiling ()
 
2930
meta_prefs_get_edge_tiling ()
2931
2931
{
2932
 
  return side_by_side_tiling;
 
2932
  return edge_tiling;
2933
2933
}
2934
2934
 
2935
2935
MetaKeyBindingAction