Commit Graph

372 Commits

Author SHA1 Message Date
Brent Collins
0b7db6232f Multiple RAIL fixes/improvements
1. Linked Window Manager Maximize/Minimize and Restore operations to those from the Server Rail Window so that they are in sync

2. Enable things like "CTRL-ALT-DELETE" and "WindowsKey-L" to show the full desktop window again since the desktop is not actively monitored since
this was still trying to draw to the rail window without updating the size of the window to accomodate the full workspace area.

3. Changed local window coordinates to be based on the visibileOffsetX/Y- while moving server window based on WindowOffsetX/Y. I have seen various issues regarding this when trying to use a maximized window where this is a disconnect between local window coordinates and remote window coordinates. This change clears these things up.

4. Commented the XShapeCombineRectangles calls - this can cause issues where the entire window is not visible and it does not currently play well with the changes from #3. The gain here is greater than the loss.

5. Draw the initial workspace correctly when running across multiple monitors. The correct size was always used, but the window was only starting on the current monitor and thus could draw the window off of the viewable area.

Known Issues:

Although the changes for #2 worked well in the stable branch that I developed from - the desktop window shown once the rail windows are destroyed does not respond to input unless I minimize/restore the window. Once the window starts responding to input - you can hit cancel to close the desktop window and return to your rail windows again(or launch task manager, etc.). This is still a big step in the right direction as xfreerdp is now correctly acting when the rail server stops Actively Monitoring the desktop.

XShapeCombineRectangles needs to be revisited, most windows applications will give you a rectangular window anyways.
2012-08-03 17:35:17 -05:00
Marc-André Moreau
4b720a6c0d client: merging Mac OS X and Windows client improvements from Jay Sorg 2012-07-31 16:27:42 -04:00
lysannkessler
8c2d46a436 Merge branch 'master' into spikes/hyperv 2012-07-25 19:05:10 +02:00
lysannkessler
6b754ab836 casting context to xfContext in more lines and more code clarity 2012-07-25 19:05:03 +02:00
Jay Sorg
ea9e5fcbee codec: use the CODEC_ID_* names instead of magic numbers 2012-07-24 16:54:29 -07:00
Lysann Kessler
9af4d84050 Merge branch 'master' into spikes/hyperv
Conflicts:
	client/X11/xf_graphics.c
2012-07-25 00:10:45 +02:00
Lysann Kessler
083711fd09 use xfContext->settings->color_depth instead of xfi->srcBpp 2012-07-25 00:09:14 +02:00
Jay Sorg
238cf848c2 codecs: added --jpeg command line, moved jpeg hack to bitmap cache v3, added bcv3 xxx setting 2012-07-24 12:05:22 -07:00
Lysann Kessler
2068263193 Merge branch 'master' into spikes/hyperv 2012-07-24 18:27:20 +02:00
Lysann Kessler
e43e14e2e7 fix an issue with bitmap creation in X11 client where xfi->srcBpp differs from the connection's color depth 2012-07-24 18:05:34 +02:00
Ying-Chun Liu (PaulLiu)
9a64adb9aa Set _NET_WM_PID X property when the window is creating.
_NET_WM_PID is used by some window managers to map the window
and the XDG desktop files. This patch sets _NET_WM_PID for this
purpose.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@canonical.com>
2012-07-09 14:52:15 +08:00
Jim Grandy
cc2fdd6da2 Pushing jpeg codec support, used in xrdp's offscreen surface remoting technique. Will likely be superceded by use of jpeg2000. 2012-06-26 16:57:18 -07:00
Vic Lee
977c89bb59 x11: clear the window in case of resolution change in fullscreen. 2012-06-22 21:24:24 +08:00
Alam Arias
eb32070129 x: clean out xevent before using it 2012-06-14 12:43:21 -04:00
Marc-André Moreau
d7f8624e71 Merge pull request #624 from chihchun/master
xfreerdp: Add --authonly and --from-stdin switch
2012-06-14 07:34:51 -07:00
Irwan Halim
c9c22fa331 Add GStreamer plugin for Multi-media redirection 2012-06-13 14:45:58 -05:00
Mike Carifio
a31f0c62e6 xfreerdp: Adds switch --from-stdin.
This switch will prompt username, password, domain and connection
host if not specified at the command line.

Signed-off-by: Rex Tsai <chihchun@kalug.linux.org.tw>
2012-06-06 17:55:34 +08:00
Mike Carifio
88f2e84e5e xfreerdp: return correct logical value, if authentication failed.
Signed-off-by: Rex Tsai <rex.tsai@canonical.com>
2012-06-06 17:55:34 +08:00
Mike Carifio
28075f5ebb xfreerdp: add --authonly switch to xfreerdp client
Signed-off-by: Rex Tsai <chihchun@kalug.linux.org.tw>
2012-06-06 17:55:34 +08:00
Vic Lee
e7fd72b4d4 Merge pull request #620 from llyzs/x11
x11: implement frame marker.
2012-05-29 21:00:40 -07:00
Vic Lee
02ce0dba3b X11: add suppress output support. 2012-05-28 20:21:56 +08:00
Vic Lee
aca53f3973 x11: implement frame marker. 2012-05-26 14:41:38 +08:00
David Sundstrom
8f8389f66e use coding standard comment style 2012-05-25 18:01:25 -05:00
David Sundstrom
3656a86d99 Fix local moves by using XQueryPointer to report new mouse position.
Disable local keyboard moves for now until a way is found to make them work reliably.
2012-05-25 17:56:05 -05:00
David Sundstrom
e1e8f6284f make local functions static
reintroduce unmanaged windows for tooltips and dropdowns; this is required for proper focus behavior
2012-05-25 17:56:05 -05:00
David Sundstrom
fd429eb46f Tooltips should not be listed when remapped 2012-05-25 17:56:04 -05:00
David Sundstrom
dc81959060 Use locally assigned variable 2012-05-25 17:56:03 -05:00
David Sundstrom
cfcabaefc2 Do not use override redirect - causes windows to appear on all desktops
Enable non-rectangular windows and test with windows media player
2012-05-25 17:56:03 -05:00
David Sundstrom
e97a2bc158 Minor refactoring to encapsulate all X windows calls in xf_window.c
xf_rail.c should deal with RAIL concerns and delegate all X functions to xf_window APIs.
2012-05-25 17:56:02 -05:00
David Sundstrom
1060447cb5 Refactor event code to avoid searching seamless window linked list for desktop events. 2012-05-25 17:56:02 -05:00
Christian Nilsson
5212426bb4 Fix colors on bitmaps when using -a 15 2012-05-26 00:32:05 +02:00
Dorian Johnson
18f8d1a6b7 xfreerdp: add manpage info for -K option. Fixes #603 2012-05-21 20:33:05 -05:00
Aurimas Fišeras
64ad250f2d fix more color conversion problems for 16-bit displays
based on d588e30a
2012-05-17 21:55:51 +03:00
Julien Ropé
b2177dc8c3 Replacing malloc calls by xmalloc or xzalloc as appropriate.
This will make sure we get an appropriate error message in case of memory allocation error, and not just a "Segmentation Fault"

Added some validation on xzalloc return in serial_tty_new to properly deallocate resources when an error occurs.
2012-05-07 15:27:13 +02:00
Marc-André Moreau
d0d618fb76 Merge pull request #576 from bjcollins/master
XReparentWindow fix
2012-05-05 15:52:18 -07:00
Brent Collins
70ccbd1926 Moved the call order around such that the XReparentWindow call will work as intended. 2012-05-04 13:00:28 -05:00
Julien Ropé
c1f7044693 Some fixes for potentials NULL pointer dereferences, and double-free of buffers 2012-05-04 15:50:33 +02:00
Vic Lee
f480b23439 x11: fix window resizing. 2012-04-26 14:01:34 +08:00
Andrew Zenk
652155a929 added reference to certificate-name 2012-04-14 11:05:20 -05:00
Vic Lee
11a3bf4db4 x11: use ARRAY_SIZE macro. 2012-04-12 13:50:20 +08:00
Vic Lee
400b58e934 x11: release all pressed keys when window is unmapped. 2012-04-11 12:37:47 +08:00
Anthony Tong
2ba5c04d63 xfreerdp: send extended mouse events, using common button values for now 2012-04-01 09:35:11 -04:00
Marc-André Moreau
f2ec024d51 Merge pull request #519 from kiilerix/master
build fixes
2012-03-30 08:34:13 -07:00
Bernhard Miklautz
25107cde67 xfreerdp: nocodec/nscodec free ximages after use 2012-03-29 13:01:42 +02:00
Mads Kiilerich
16478d8fad locale: update rdp scancodes according to Win CE "Translating Scan Codes to Virtual-Key Codes"
The values in @msdn{ms892480} seems to be what is used in TS_KEYBOARD_EVENT @msdn{cc240584}.

All the "XT Scan Code Translation Libraries" has been checked and integrated.
Only the Korean has been skipped. It is clearly something completely different
from everything else. The Japanese is just an extension of the US keyboard like
the others.
2012-03-29 01:25:49 +02:00
Mads Kiilerich
3e4b434925 clients: use rdp scancode definitions when sending key events
This also introduces a slightly more high-level convenience function for
sending key events. The existing function where an RDP protocol flag field has
to be encoded by the caller is very lowlevel ... and a bad fit for fastpath
input. That could use a refactoring.
2012-03-29 01:12:48 +02:00
Mads Kiilerich
94e9405202 locale: make RDP_SCANCODE a simple value type that easily can be passed around 2012-03-29 01:12:35 +02:00
Mads Kiilerich
53ab60dcb3 x: tell politely why xfreerdp is closing without making it look like an error 2012-03-22 21:30:39 +01:00
Mads Kiilerich
53c6815c84 x: improve debugging of X events 2012-03-22 21:30:15 +01:00
Pawel Jakub Dawidek
49fe529e15 Fix compilation warning when WITH_SSE2 is not defined. 2012-03-21 20:51:31 +01:00