Commit Graph

259 Commits

Author SHA1 Message Date
Marc-André Moreau
77bbd18d5c libfreerdp-core: fix input callback registration for slow-path input 2011-12-20 14:51:44 -05:00
Marc-André Moreau
216947a330 libfreerdp-core: disable fastpath output if server does not support it 2011-12-20 14:42:22 -05:00
Mike Gilbert
53c902cea7 xfreerdp: Correct manpage description of numeric values passed via the -x parameter 2011-12-16 22:48:06 -05:00
David Sundstrom
49303c8969 Fix compile error on Solaris
Fix few small issues with local move race conditions
Add missing --gdi option to command-line help
2011-12-16 15:10:07 -06:00
Marc-André Moreau
1def0258ca Merge pull request #280 from nfedera/fullscreenfix
xfreerdp: fix non-xinerama fullscreen issue (issue #266)
2011-12-15 07:04:27 -08:00
Norbert Federa
f52526f120 xfreerdp: fix non-xinerama fullscreen issue (issue #266)
If fullscreen==true then settings->width and settings->height are
calculated in xf_monitor.c based on the vscreen->area which is in
turn calculated using xinerama functions.
Thus if xinerama is not used this will result in width=height=1.
2011-12-15 10:45:50 +01:00
Marc-André Moreau
2edfcb50fb libfreerdp-core: fix glyph cache, enable it by default 2011-12-14 17:08:22 -05:00
David Sundstrom
031482a5ba Issue #274 - wrong macro used for WITH_DEBUG_X11_LOCAL_MOVESIZE 2011-12-13 18:47:21 -06:00
Marc-André Moreau
6e4086e977 xfreerdp: improve glyph drawing 2011-12-13 12:18:11 -05:00
Marc-André Moreau
bdc181ecbe libfreerdp-gdi: fix opaque rect color with --gdi sw 2011-12-13 11:36:05 -05:00
Marc-André Moreau
fcd03260d6 xfreerdp: added select() timeout 2011-12-11 18:05:32 -05:00
Marc-André Moreau
25a3a6e68f libfreerdp-core: provide more descriptive warning message for certificate check failure 2011-12-10 11:23:48 -05:00
Marc-André Moreau
31d47302ef xfreerdp: fix unused variables warnings 2011-12-09 18:20:23 -05:00
David Sundstrom
6bd2b736aa allow updates from cached pixmap during local moves 2011-12-09 14:26:11 -06:00
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
Marc-André Moreau
904a9a7c6a xfreerdp: add -X option for reparenting window 2011-12-09 13:53:19 -05: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
a70ca93c43 Add option for WITH_DEBUG_WND for window order updating, already existing in code
Correct sign on variables in xf_rail_paint
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
David Sundstrom
354b00711b After local X window manager has moved a window to a different location than what the RDP server expects, send a client update to the RDP server to inform the server of the new window position. 2011-12-06 15:43:38 -08:00
bluebird
a40f5c1718 xfreerdp, wfreerdp: Add -T option to set window title 2011-12-02 15:58:38 +01:00
Mike Gilbert
affd83c905 xfreerdp: Add static to a few global variables. 2011-11-30 19:22:22 -05:00
Mike Gilbert
bde19474a9 X11/xf_event: Optimize storage of constant strings. 2011-11-30 19:21:04 -05:00
Marc-André Moreau
af6e914cf3 update: modify surface frame marker callback 2011-11-25 11:30:15 -05:00
Norbert Federa
c2514dbcae core: add update callback for the surface frame marker command
- clients will need this to present the offscreen to the display
  in the correct state in order to avoid flickering and artefacts
  and to do frame acknowledgement.

- added empty callback to xfreerdp.
2011-11-25 11:48:51 +01:00
Marc-André Moreau
79fcd44bb1 xfreerdp: started X11 glyph drawing 2011-11-24 13:01:34 -05:00
Vic Lee
b6bf15ca27 cliprdr: fix incorrect condition. 2011-11-24 19:01:28 +08:00
Marc-André Moreau
a3dc63d738 xfreerdp: added more cliprdr debug output, identified failure point 2011-11-23 12:36:36 -05:00
Marc-André Moreau
65fe2f367f xfreerdp: added WITH_DEBUG_X11_CLIPRDR option 2011-11-23 10:58:13 -05:00
Marc-André Moreau
587cc8eaaf update: move secondary drawing orders to sub-interface 2011-11-21 19:41:49 -05:00
Marc-André Moreau
f17a25e08d update: move primary orders into sub-interface 2011-11-21 18:11:43 -05:00
Marc-André Moreau
a63a196f53 types: refactoring to make use of standard data types when available 2011-11-19 12:19:16 -05:00
Marc-André Moreau
846a37b1b5 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-11-17 19:51:41 -05:00
Marc-André Moreau
7f3bad1d15 cliprdr: added more debug output, still unable to stabilize 2011-11-17 19:51:30 -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
Marc-André Moreau
b1afaccafe xfreerdp: fix red text cursor bug 2011-11-17 16:54:08 -05:00
Marc-André Moreau
d2335a5167 cliprdr: fix segmentation fault, still not working though 2011-11-15 15:41:00 -05:00
Marc-André Moreau
55294ad654 xfreerdp: fix opaque rect with 16bpp surfaces 2011-11-15 14:10:34 -05: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
Marc-André Moreau
b2644901f4 libfreerdp-cache: refactoring of color table cache 2011-11-11 02:07:53 -05:00
Marc-André Moreau
a1b8dfd79f libfreerdp-cache: got glyph drawing partially working 2011-11-09 12:16:09 -05:00
Marc-André Moreau
823e3414d6 libfreerdp-cache: initial glyph cache support 2011-11-08 23:26:44 -05:00
David Sundstrom
aa761c7a33 The VisibilityNotify function was using elements out fo the XEvent union that belong to the XExposeEvent event type. These fields are not valid for XVisibilityEvents and contain garbage values.
Remove the code that accessed these fields.  The XExposeEvent already has its own function containing the exact same code.
2011-11-02 18:31:14 -05:00
David Sundstrom
c5b9667825 Remove xf_rail_FilterWindowInfo() function. This function incorrectly calculated a new width for windows that had a negative origin (that is, windows partially off the desktop to the left). The function subtracted twice the window offset from the width. To be correct this function needed to keep track of the old and new window positions and just subtract the difference.
It turns out none of this was necessary.  X will handle windows placed partially off-screen and draw them correctly, just as it does for windows dragged partially off the screen to the left.  Removing this function fixed a number of drawing issues including tool tips being incorrectly drawn and windows not being drawn correctly after they'd been placed partially off-screen to the right.
2011-11-02 18:31:14 -05: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
Anthony Tong
a836faf3ed xfreerdp: handle -g X% 2011-11-01 19:09:20 -05:00
Marc-André Moreau
1820e9ca72 Merge pull request #195 from sunds/master
Intermittent crash Linux & Solaris with RAIL; add missing system library for sem_* on Solaris
2011-10-31 22:10:37 -07:00