Commit Graph

211 Commits

Author SHA1 Message Date
David Sundstrom
b17fe2e60e Do not do XMoveWindow after local_move event from RDP server
Do not update window area of RDP and local X window are not synchronized
Use RootWindowOfScreen for translate coordinates
2011-12-09 14:26:11 -06:00
Not Nyguen Doze
4d341f27a5 Do not make windows with borders transient
Z
2011-12-06 16:39:53 -08:00
Not Nyguen Doze
51bd226cf3 Complete local move support. Use a state machine to keep track of XEvents to infer local move start and finish. 2011-12-06 15:43:38 -08:00
Not Nyguen Doze
8f38bdb87a Make popups transient, use local window manager for moves.
This fixes a number if issues on Ubuntu in particular.
2011-12-06 15:43:38 -08:00
David Sundstrom
31cbac201d Add a function to synchronize the RDP server with the local window position and size when the window is moved locally.
Complete implementation for initiating RAIL local move support, however, this is still disabled until a method is found to tell when local moves complete on the X server.
2011-12-06 15:43:38 -08:00
Marc-André Moreau
a63a196f53 types: refactoring to make use of standard data types when available 2011-11-19 12:19:16 -05:00
David Sundstrom
d3e953ba24 Fix issue with newly added pointer support for remote apps.
Reset current window when window is destroyed
2011-11-17 16:01:00 -06:00
David Sundstrom
96accb0327 Fix issue 202. No cursor icons for RemoteApp
Pointer updates are part of the base RDP protocol MS-RDPBCGR specification and do not include window information like those from the RAIL specification MS-RDPERP do.  To make pointer updates work, we need to keep track of which window has focus and then apply pointer updates to that window.  This appears to be easy to do, just watch for X11 EnterNotify events and update the window field of the main RDP structure.  I had some concerns that a window might receive an old pointer update for some other window due to network latencies, however, the RDP server seems to always send down new pointer updates whenver a window takes focus.
2011-11-14 16:42:14 -06:00
David Sundstrom
0790c22683 remove unused pixmap 2011-11-02 18:31:14 -05:00
David Sundstrom
7a51d0300a Fix memory leak in xf_window.c. If property lookup for current desktop failed, we leaked property memory for workspace attributes. Added check in case returned desktop number is greater than number of workspaces. 2011-11-02 18:31:14 -05:00
David Sundstrom
7322ef8047 Port to Solaris 10u9.
Added -lrt which is a required library for the sem_*() functions
Fixed xf_window.c to not return null for zero-width windows - rather coerce values to be valid as was already being done for height and width. This fixes intermittent crashs on Solars and Linux.
2011-10-31 12:55:05 -05:00
David Sundstrom
21dcb56a72 Add missing includes for Solaris 2011-10-28 11:27:09 -05:00
Anthony Tong
245a5498cc xfreerdp: set icon for DesktopWindow 2011-10-22 12:02:42 -05:00
Norbert Federa
c83038b4b3 xfreerdp: fix xf_GetWindowProperty
xf_GetWindowProperty should return False if the specified property does not exist.
It is not sufficient to simply check for the return value of XGetWindowProperty.
XGetWindowProperty also returns Success if the specified property does not exist.
However, it will return "None" to the actual_type_return parameter in that case.
This change fixes several crashes with some (exotic) window managers.
2011-10-17 15:39:06 +02:00
Marc-André Moreau
7e6ce7ca4c xfreerdp: improve fullscreen mode 2011-10-07 15:50:07 -04:00
Marc-André Moreau
07077e2d3d xfreerdp: apply patch from zstegi (would grab window manager key combinations) 2011-10-04 18:46:49 -04:00
Marc-André Moreau
a573898810 xfreerdp: improve error tolerance in xf_GetWorkArea 2011-09-26 23:06:45 -04:00
Marc-André Moreau
d60adb8325 Merge pull request #120 from llyzs/cliprdr
Integrate cliprdr with xfreerdp
2011-09-23 07:07:43 -07:00
Vic Lee
783681664a cliprdr: integrate with xfreerdp. 2011-09-23 13:41:26 +08:00
Marc-André Moreau
c003c5c038 xfreerdp: initial RemoteApp support with --gdi hw (much faster) 2011-09-23 00:06:39 -04:00
Marc-André Moreau
3869228349 xfreerdp: RemoteApp stabilization (window movement, region update) 2011-09-22 21:23:01 -04:00
Marc-André Moreau
5207be87f6 xfreerdp: properly handle local Alt+F4 for RemoteApp windows 2011-09-21 08:36:49 -04:00
Marc-André Moreau
278422aed5 xfreerdp: fix fullscreen window toggle 2011-09-13 22:20:04 -04:00
Marc-André Moreau
097caee5e0 Merge pull request #81 from roman-b/rail
Rail Local Move/Size support looks like finished.
2011-09-06 11:52:57 -07:00
Vic Lee
ccebb5bb3d xfreerdp: process actual desktop window resizing. 2011-09-06 16:22:53 +08:00
roman-b
059eff9f56 xfreerdp: fixed "window shake" effect in RAIL Local Move/Size. 2011-09-06 00:25:46 +03:00
roman-b
0ec2777875 xfreerdp: fixed NULL windows destroying. 2011-09-05 23:42:18 +03:00
Vic Lee
01939cbd28 xfreerdp: add missing event mask. 2011-09-06 00:06:49 +08:00
roman-b
14ce6ae7f0 xfreerdp: RemoteApp Local Move/Size improvements.
Issues:
fast mouse moving after left button pressing is create "windows shake" effect.
Slow mouse speed after left button press allows to discard this effect.
2011-09-03 23:38:01 +03:00
Marc-André Moreau
6fdecdb01b debug: cleanup printf's all over the place 2011-09-02 13:29:17 -04:00
Marc-André Moreau
e649a68047 xfreerdp: stabilizing RemoteApp 2011-09-02 12:39:56 -04:00
roman-b
e244300347 xfreerdp: added initial Local Move/Size (by using _NET_WM_MOVERESIZE). 2011-09-02 01:08:53 +03:00
roman-b
a966cc30c7 xfreerdp: preparation for Local Window Move/Size. 2011-09-01 01:22:21 +03:00
roman-b
72631d04e1 xfreerdp: added handlers for MinMax and Local Move/Size orders. 2011-09-01 01:02:22 +03:00
Marc-André Moreau
9d7fce9194 xfreerdp: fix listing of RemoteApp windows in taskbar 2011-08-30 15:06:50 -04:00
Marc-André Moreau
a9a06abcc3 xfreerdp: stabilizing RemoteApp, fix window styles 2011-08-30 14:21:16 -04:00
Marc-André Moreau
3f4cd54ad2 xfreerdp: disable RemoteApp mouse motion 2011-08-25 15:05:07 -04:00
Marc-André Moreau
9b40f800de xfreerdp: fix minor RAIL issues 2011-08-25 14:11:45 -04:00
roman-b
6365db7be6 xfreerdp: add parent-child relationship for RAIL windows. 2011-08-25 00:16:57 +03:00
Marc-André Moreau
a0aea4f353 xfreerdp: fix fullscreen mode 2011-08-24 00:46:34 -04:00
Marc-André Moreau
9a3477f7ec xfreerdp: added proper cmake detection of Xext 2011-08-23 22:58:36 -04:00
Marc-André Moreau
42f27293a8 xfreerdp: fix window hiding 2011-08-23 15:52:17 -04:00
Marc-André Moreau
cfd3407f69 xfreerdp: fix drawing of maximized RAIL windows 2011-08-22 21:22:05 -04:00
Marc-André Moreau
c894806ee9 xfreerdp: fix off-by-one error in visibility rectangles 2011-08-22 16:10:08 -04:00
Marc-André Moreau
3e4331caa0 xfreerdp: add support for RemoteApp round window corners 2011-08-22 16:06:12 -04:00
Marc-André Moreau
a5791ac198 Merge pull request #56 from llyzs/nonblocking
Refactor client connection sequence in nonblocking mode
2011-08-22 06:44:52 -07:00
Vic Lee
0c60fafebd xfreerdp: fix segfault when closing. 2011-08-22 17:21:39 +08:00
Marc-André Moreau
900a56f289 xfreerdp: fix window classes 2011-08-21 23:54:02 -04:00
Marc-André Moreau
aaa2f22b10 xfreerdp: handled RAIL window minimize events 2011-08-21 23:15:19 -04:00
Marc-André Moreau
f46d3d51c6 xfreerdp: improved window icon support 2011-08-21 22:30:49 -04:00
Marc-André Moreau
00733ab128 xfreerdp: started handling RemoteApp icons 2011-08-21 17:32:18 -04:00
Marc-André Moreau
4a126a55b0 xfreerdp: handle RAIL window title updates 2011-08-19 22:21:09 -04:00
Marc-André Moreau
af71a70233 xfreerdp: fix RAIL window resizing 2011-08-19 11:12:30 -04:00
Marc-André Moreau
3fa7d4a3d4 xfreerdp: remove backbuffer window in RemoteApp mode 2011-08-18 01:16:49 -04:00
Marc-André Moreau
eb02b578a5 xfreerdp: add ability to move RAIL windows 2011-08-17 22:50:49 -04:00
Marc-André Moreau
f465579551 xfreerdp: added RAIL window titles 2011-08-17 22:31:27 -04:00
Marc-André Moreau
c2bc695d39 xfreerdp: fix window decoration hiding 2011-08-17 16:57:21 -04:00
Marc-André Moreau
c9917d3ca1 xfreerdp: drawing of multiple RAIL windows 2011-08-17 14:51:17 -04:00
Marc-André Moreau
98f7bb01b5 xfreerdp: added support for workarea and disabling window decorations 2011-08-17 14:13:44 -04:00
Marc-André Moreau
e990d227ce xfreerdp: started painting multiple RAIL windows 2011-08-17 02:14:02 -04:00
Marc-André Moreau
c42008ce80 xfreerdp: added X11 Window wrapper 2011-08-08 22:24:12 -04:00