Home » Developing U++ » UppHub » Docking - Stable?
Re: Docking - Stable? [message #28309 is a reply to message #28215] |
Fri, 27 August 2010 00:21 |
mdelfede
Messages: 1307 Registered: September 2007
|
Ultimate Contributor |
|
|
mrjt wrote on Mon, 23 August 2010 15:50 | The problem with Docking on Linux is to do with the way Window Managers work with X11. Unlike Win32 there is no message from the WM to tell you that the window has moved. Instead I have to watch for a certain series of unrelated events and assume that it's a window move. Unfortunately this is highly dependent on the specifics of the WM implementation. For instance in Ubuntu it will work on the most basic graphics mode but not with any effects enabled, as I cannot find any way of determining a window drag-drop. It's a real pain in the arse.
I'm not sure what problem you are seeing though. I woudln't expect to see the window diappear, just be undockable.
|
I've seen that in my X11DHCtrl control the State() handler responds to window move events with a POSITION (100) reason... Isn't that one what you're looking for ?
I've got compiz fully enabled and the State() handler gets called correctly on window moves.
Ubuntu 10.04 64 bit with all effects enabled.
Ciao
Max
Edit : that *MUST* have worked in previous ubuntu releases too, is an important part of X11DHCtrl, I use it to keep native windows in sync with upp ones, and the control is working since about 1-2 years.
You can test it easily putting a breakpoint on line 349 od X11DHCtrl.cpp, and run the small attached test application.
Beware, GlCtrl needs a small patch, it got broken on these days.... see the post http://www.ultimatepp.org/forum/index.php?t=msg&th=5460& amp;start=0&
-
Attachment: TestGL.zip
(Size: 2.67KB, Downloaded 546 times)
[Updated on: Fri, 27 August 2010 00:28] Report message to a moderator
|
|
|
|
|
Docking - Stable?
By: jeremy_c on Fri, 20 August 2010 15:28
|
|
|
Re: Docking - Stable?
By: jeremy_c on Fri, 20 August 2010 15:38
|
|
|
Re: Docking - Stable?
By: jeremy_c on Fri, 20 August 2010 19:02
|
|
|
Re: Docking - Stable?
By: Novo on Sat, 21 August 2010 17:54
|
|
|
Re: Docking - Stable?
By: jeremy_c on Sat, 21 August 2010 18:00
|
|
|
Re: Docking - Stable?
By: Novo on Sat, 21 August 2010 20:35
|
|
|
Re: Docking - Stable?
By: mrjt on Mon, 23 August 2010 15:50
|
|
|
Re: Docking - Stable?
By: Novo on Mon, 23 August 2010 17:34
|
|
|
Re: Docking - Stable?
By: Novo on Tue, 24 August 2010 05:53
|
|
|
Re: Docking - Stable?
By: mrjt on Thu, 26 August 2010 17:29
|
|
|
Re: Docking - Stable?
By: Novo on Fri, 27 August 2010 04:47
|
|
|
Re: Docking - Stable?
By: mdelfede on Fri, 27 August 2010 00:21
|
|
|
Re: Docking - Stable?
By: mrjt on Tue, 07 September 2010 12:02
|
Goto Forum:
Current Time: Thu May 09 14:45:44 CEST 2024
Total time taken to generate the page: 0.02659 seconds
|