Commit Graph

23 Commits

Author SHA1 Message Date
Peter Åstrand
3a949d3127 Re-worked the support for SeamlessRDP window stacking:
* Since many window managers cannot properly restack a window between
two other windows, we need to check for this at startup.

* A new utility function, sw_wait_configurenotify, is used to wait for
the WM to process our restacking request.

* We are using XReconfigureWMWindow instead of XRestackWindows and
XRaiseWindow, to easier meet the demands of ICCCM. Restacking between
is only done if the WM is not broken, though.

* The error handler does not ignore BadMatch from ConfigureWindow
requests any longer. I haven't found any WM that gives BadMatch for
XReconfigureWMWindow.

* The test cases has been updated to test more stacking cases.


A somewhat related bug fix wrt focus handling is also included, which
prevents FOCUS messages when reverting focus from a destroyed window


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1458 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-26 16:44:55 +00:00
Peter Åstrand
9a4bfd1c8d Testing without WM is also a good idea. Added two new test cases.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1456 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-24 17:54:33 +00:00
Peter Åstrand
f1bcaa9f3e Reminder: test different WMs
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1453 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-14 07:43:46 +00:00
Peter Åstrand
bf69855fea New test case for window restacking, using Seamonkey.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1451 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-14 07:36:26 +00:00
Peter Åstrand
67ef23c78f Clarified the ZCHANGE message.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1450 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-14 07:34:56 +00:00
Peter Åstrand
ed95a017b1 Verify About and Open dialog focus as well.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1447 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-11 08:10:58 +00:00
Peter Åstrand
8524a3fcf2 Applied patch:
[ 1715358 ] seamlessrdp window close


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1446 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-07 11:27:12 +00:00
Peter Åstrand
d7760c34fe Added test case for local window close.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1445 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-07 09:04:04 +00:00
Peter Åstrand
301677f200 Two more test cases.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1437 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-06 13:10:53 +00:00
Peter Åstrand
e31a40617d Added test cases
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1435 423420c4-83ab-492f-b58f-81f9feb106b5
2008-02-20 17:18:30 +00:00
Pierre Ossman
81a75745cb Implement support for icons in SeamlessRDP.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1412 423420c4-83ab-492f-b58f-81f9feb106b5
2007-06-18 12:00:34 +00:00
Pierre Ossman
f8b9095263 Add a destroy group command to SeamlessRDP for when entire groups of windows
get killed off in one go.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1231 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-28 07:55:36 +00:00
Pierre Ossman
2101ef3081 Update seamless protocol spec with the new HIDE/UNHIDE commands.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1193 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-22 16:28:13 +00:00
Pierre Ossman
04df9b10c3 Add info about serials and ACK:s to the seamless protocol spec.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1168 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-20 15:21:53 +00:00
Pierre Ossman
7b5cd1c963 Add HELLO command to seamless spec.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1147 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-16 14:56:27 +00:00
Pierre Ossman
2e0cc034a0 Add info about parent-less popup windows to the protocol spec.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1137 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-15 15:11:53 +00:00
Pierre Ossman
7c9b0860e8 Update protocol spec to state string format.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1135 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-15 13:47:41 +00:00
Pierre Ossman
456e775f90 Clarify the behaviour when windows are initially created.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1125 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-15 11:43:57 +00:00
Peter Åstrand
34208b5634 SETSTATE -> TITLE and STATE
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1123 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-15 08:43:38 +00:00
Pierre Ossman
6903b4e52d Add a field to the create command to be able to indicate child windows.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1094 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-10 12:22:51 +00:00
Peter Åstrand
6c76781ce0 Using American english
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1091 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-10 09:20:03 +00:00
Pierre Ossman
fddda415b1 Update to the seamless protocol spec. Removed the version number from the
commands and added some new commands to send window events to the server.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1087 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-10 08:44:55 +00:00
Peter Åstrand
8bd87114d3 Added seamlessrdp protocol definition
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1084 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-10 06:36:44 +00:00