summaryrefslogtreecommitdiff
path: root/src/privatewindow.h
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2009-02-26 22:25:29 +0100
committerDanny Baumann <dannybaumann@web.de>2009-02-26 22:25:29 +0100
commit49a9447c12edc4894d90286547a35d689fc614ad (patch)
treef4a1928dbc5e897cb20daa28b1795d11a69dfa40 /src/privatewindow.h
parentbbca80e1bcb157eb82f74e338ab83019375659e5 (diff)
downloadunity-window-decorator-49a9447c12edc4894d90286547a35d689fc614ad.tar.gz
unity-window-decorator-49a9447c12edc4894d90286547a35d689fc614ad.tar.bz2
Coding style, optimizations.
Diffstat (limited to 'src/privatewindow.h')
-rw-r--r--src/privatewindow.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/privatewindow.h b/src/privatewindow.h
index 8bd38f0..e141019 100644
--- a/src/privatewindow.h
+++ b/src/privatewindow.h
@@ -117,7 +117,7 @@ class PrivateWindow {
static void unminimizeTransients (CompWindow *w,
CompWindow *ancestor);
- bool getUsageTimestamp (Time *timestamp);
+ bool getUsageTimestamp (Time& timestamp);
bool isWindowFocusAllowed (Time timestamp);
@@ -169,8 +169,7 @@ class PrivateWindow {
void updateSize ();
- bool getUserTime (Time *time);
-
+ bool getUserTime (Time& time);
void setUserTime (Time time);
bool allowWindowFocus (unsigned int noFocusMask,
@@ -238,7 +237,7 @@ class PrivateWindow {
CompPoint initialViewport;
Time initialTimestamp;
- Bool initialTimestampSet;
+ bool initialTimestampSet;
bool fullscreenMonitorsSet;
CompRect fullscreenMonitorRect;