> Hmm, what do you mean by this? If you're saying that you don't need either I
> guess you can remove them both? Its just that overriding scaleSelectWindow is
> the preferred way to finding out the currently highlighted window as opposed
> to reimplementing checkForWindowAt.
I have implemented "scaleSelectWindow" but I did not use all the code you suggested, what I did was:
> Hmm, what do you mean by this? If you're saying that you don't need either I
> guess you can remove them both? Its just that overriding scaleSelectWindow is
> the preferred way to finding out the currently highlighted window as opposed
> to reimplementing checkForWindowAt.
I have implemented "scaleSelectWindow" but I did not use all the code you suggested, what I did was:
+void UnityWindow: :scaleSelectWin dow () :get(screen) ; d_window_ != window->id ()) ::get (window); d_window_ ); ::get (old_window); _window_ = window->id (); >scaleSelectWin dow ();
210 +{
211 + UnityScreen* us = UnityScreen:
212 +
213 + if (us->highlighte
214 + {
215 + CompositeWindow *cWindow = CompositeWindow
216 + if (cWindow)
217 + cWindow->addDamage ();
218 +
219 + cWindow = 0;
220 + CompWindow *old_window = screen->findWindow (us->highlighte
221 + if (old_window)
222 + cWindow = CompositeWindow
223 +
224 + if (cWindow)
225 + cWindow->addDamage ();
226 +
227 + us->highlighted
228 + }
229 +
230 + ScaleWindow *sWindow = ScaleWindow::get (window);
231 + if (sWindow)
232 + sWindow-