~muktupavels/metacity/lp1403583

« back to all changes in this revision

Viewing changes to src/core/common.c

  • Committer: Package Import Robot
  • Author(s): Dmitry Shachnev
  • Date: 2014-11-18 18:13:01 UTC
  • mfrom: (2.3.7 vivid-proposed)
  • Revision ID: package-import@ubuntu.com-20141118181301-omfi79vghwycfal2
Tags: 1:3.14.2-0ubuntu1
* Merge with Debian unstable, remaining changes:
  - 05_raise_on_click_for_click_mode.patch:
    Force raise on click option.
  - 22_fix_above_tab_switching.patch:
    For Above_Tab, don't compare keysym (fixes group switching).
  - debian/metacity-common.links:
    Show keybindings in Unity control center.
  - Use Ubuntu Desktop team Vcs fields.
* Drop all other patches, they were needed only for Unity 2D.
* New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 
2
 
 
3
/* Metacity X window decorations */
 
4
 
 
5
/*
 
6
 * Copyright (C) 2001 Havoc Pennington
 
7
 * Copyright (C) 2003, 2004 Red Hat, Inc.
 
8
 * Copyright (C) 2005 Elijah Newren
 
9
 *
 
10
 * This program is free software; you can redistribute it and/or
 
11
 * modify it under the terms of the GNU General Public License as
 
12
 * published by the Free Software Foundation; either version 2 of the
 
13
 * License, or (at your option) any later version.
 
14
 *
 
15
 * This program is distributed in the hope that it will be useful, but
 
16
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
18
 * General Public License for more details.
 
19
 *
 
20
 * You should have received a copy of the GNU General Public License
 
21
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
 
22
 */
 
23
 
 
24
#include <config.h>
 
25
#include "common.h"
 
26
 
 
27
void
 
28
meta_frame_borders_clear (MetaFrameBorders *self)
 
29
{
 
30
  self->visible.top = 0;
 
31
  self->visible.bottom = 0;
 
32
  self->visible.left = 0;
 
33
  self->visible.right = 0;
 
34
}