summaryrefslogtreecommitdiff
path: root/plugins/compiztoolbox/include/compiztoolbox/compiztoolbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/compiztoolbox/include/compiztoolbox/compiztoolbox.h')
-rw-r--r--plugins/compiztoolbox/include/compiztoolbox/compiztoolbox.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/compiztoolbox/include/compiztoolbox/compiztoolbox.h b/plugins/compiztoolbox/include/compiztoolbox/compiztoolbox.h
index bf14888..6c8b3e4 100644
--- a/plugins/compiztoolbox/include/compiztoolbox/compiztoolbox.h
+++ b/plugins/compiztoolbox/include/compiztoolbox/compiztoolbox.h
@@ -78,7 +78,7 @@ class BaseSwitchScreen
static Visual *findArgbVisual (Display *dpy, int scr);
virtual bool shouldShowIcon () { return false; }
- virtual void windowRemove (Window id) {}
+ virtual void windowRemove (CompWindow *w) {}
virtual void doWindowDamage (CompWindow *w);
virtual void handleSelectionChange (bool toNext, int nextIdx) {}
virtual void getMinimizedAndMatch (bool &minimizedOption,
@@ -93,7 +93,7 @@ class BaseSwitchScreen
CompWindowList windows;
Window popupWindow;
- Window selectedWindow;
+ CompWindow *selectedWindow;
unsigned int lastActiveNum;
CompScreen::GrabHandle grabIndex;
@@ -142,7 +142,7 @@ class BaseSwitchWindow
float width,
float height) {}
bool damageRect (bool, const CompRect &);
- bool isSwitchWin ();
+ bool isSwitchWin (bool removing = false);
BaseSwitchScreen *baseScreen;
GLWindow *gWindow;