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

« back to all changes in this revision

Viewing changes to src/screen.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2005-12-13 23:03:47 UTC
  • mto: (2.2.1 sid) (1.4.2)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20051213230347-8dnaprp18n18dz1y
Tags: upstream-2.13.5
ImportĀ upstreamĀ versionĀ 2.13.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
/* 
4
4
 * Copyright (C) 2001 Havoc Pennington
5
5
 * Copyright (C) 2003 Rob Adams
 
6
 * Copyright (C) 2004, 2005 Elijah Newren
6
7
 * 
7
8
 * This program is free software; you can redistribute it and/or
8
9
 * modify it under the terms of the GNU General Public License as
32
33
struct _MetaXineramaScreenInfo
33
34
{
34
35
  int number;
35
 
  int x_origin;
36
 
  int y_origin;
37
 
  int width;
38
 
  int height;
 
36
  MetaRectangle rect;
39
37
};
40
38
 
41
39
typedef void (* MetaScreenWindowFunc) (MetaScreen *screen, MetaWindow *window,
57
55
  META_SCREEN_RIGHT
58
56
} MetaScreenDirection;
59
57
 
60
 
#define META_WIREFRAME_XOR_LINE_WIDTH 5
 
58
#define META_WIREFRAME_XOR_LINE_WIDTH 2
61
59
 
62
60
struct _MetaScreen
63
61
{
68
66
  Window xroot;
69
67
  int default_depth;
70
68
  Visual *default_xvisual;
71
 
  int width;
72
 
  int height;
 
69
  MetaRectangle rect;  /* Size of screen; rect.x & rect.y are always 0 */
73
70
  MetaUI *ui;
74
71
  MetaTabPopup *tab_popup;
75
72
  
157
154
const MetaXineramaScreenInfo* meta_screen_get_xinerama_for_window (MetaScreen    *screen,
158
155
                                                                   MetaWindow    *window);
159
156
 
160
 
gboolean      meta_screen_rect_intersects_xinerama (MetaScreen    *screen, 
161
 
                                                    MetaRectangle *window,
162
 
                                                    int            which_xinerama);
163
157
 
164
158
const MetaXineramaScreenInfo* meta_screen_get_xinerama_neighbor (MetaScreen *screen,
165
159
                                                                 int         which_xinerama,