summaryrefslogtreecommitdiff
path: root/src/privatewindow.h
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-08-06 19:56:31 +0200
committerDennis Kasprzyk <onestone@opencompositing.org>2008-08-06 19:56:31 +0200
commit8b1b0d2dcc7f6984869bc11124c328357f5b838f (patch)
tree31eadc7e7592b3cb1ca5743a641e88d6043c0415 /src/privatewindow.h
parentb818e224418ec8883c076ec3f39e4943e3b09d3a (diff)
downloadmobileperf-8b1b0d2dcc7f6984869bc11124c328357f5b838f.tar.gz
mobileperf-8b1b0d2dcc7f6984869bc11124c328357f5b838f.tar.bz2
Use CompWindow::Geometry.
Diffstat (limited to 'src/privatewindow.h')
-rw-r--r--src/privatewindow.h20
1 files changed, 4 insertions, 16 deletions
diff --git a/src/privatewindow.h b/src/privatewindow.h
index 0befa96..b5a1003 100644
--- a/src/privatewindow.h
+++ b/src/privatewindow.h
@@ -87,11 +87,7 @@ class PrivateWindow {
int
addWindowSizeChanges (XWindowChanges *xwc,
- int oldX,
- int oldY,
- int oldWidth,
- int oldHeight,
- int oldBorderWidth);
+ CompWindow::Geometry old);
int
addWindowStackChanges (XWindowChanges *xwc,
@@ -150,11 +146,7 @@ class PrivateWindow {
unsigned int mapNum;
unsigned int activeNum;
XWindowAttributes attrib;
- int serverX;
- int serverY;
- int serverWidth;
- int serverHeight;
- int serverBorderWidth;
+ CompWindow::Geometry serverGeometry;
Window transientFor;
Window clientLeader;
XSizeHints sizeHints;
@@ -241,12 +233,8 @@ class PrivateWindow {
unsigned long syncAlarmConnection;
unsigned int syncWaitHandle;
- bool syncWait;
- int syncX;
- int syncY;
- int syncWidth;
- int syncHeight;
- int syncBorderWidth;
+ bool syncWait;
+ CompWindow::Geometry syncGeometry;
bool closeRequests;
Time lastCloseRequestTime;