Client::manager() takes an xcb_window_t as argument

This commit is contained in:
Martin Gräßlin 2013-05-03 10:20:05 +02:00
parent a616d1fe57
commit 2f718bd4fb
2 changed files with 2 additions and 2 deletions

View file

@ -319,7 +319,7 @@ public:
#endif
NET::WindowType windowType(bool direct = false, int supported_types = 0) const;
bool manage(Window w, bool isMapped);
bool manage(xcb_window_t w, bool isMapped);
void releaseWindow(bool on_shutdown = false);
void destroyClient();

View file

@ -47,7 +47,7 @@ namespace KWin
* reparenting, initial geometry, initial state, placement, etc.
* Returns false if KWin is not going to manage this window.
*/
bool Client::manage(Window w, bool isMapped)
bool Client::manage(xcb_window_t w, bool isMapped)
{
StackingUpdatesBlocker stacking_blocker(workspace());