ds-hwang / chromium-wm

Automatically exported from code.google.com/p/chromium-wm
0 stars 0 forks source link

Query for any existing windows on startup and take over management. #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When we startup we should do an XQueryTree to find any existing windows and 
create windows for them.

I started playing with this in the attached patch but I'm stuck. I can't figure 
out the correct spot to do the XQueryTree.

Adding the query to the RootWindowHostLinux constructor seemed like the logical 
place but, we're unable to create the ForeignWindowWidget as the 
GetAllRootWindows will fail since that's what we're currently creating.

Am I off in left field here?

Original issue reported on code.google.com by dsinclair@chromium.org on 5 Mar 2013 at 2:54

Attachments:

GoogleCodeExporter commented 8 years ago
I fixed this some time ago. Have a look at foreign_window_manager_host_x11.cc 
if you're interested in how it was done.

Original comment by reveman@chromium.org on 19 Aug 2013 at 2:45