[haiku-development] Detect overlapping window

  • From: "Mohmed Hammassani" <mohmed85@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 29 Apr 2008 00:24:39 +1200

Hi all,
  I'mwondering if anyone can help ...

Ive been trying to modify the window.cpp code so that when a window is moved
it can detect whether there is another window under it. I have tried looking
into the window dragging code in window.cpp to try and capture when a window
has moved on top of another one. I have also tried working with a list of
windows that i retrieved from Desktop.cpp but when i use that list in the
window.cpp file the virtual machine gives me an error. Am I looking at the
right areas or is there another section of code i should be looking at?

any help would be appreciated..


Other related posts: