Commit Graph

45 Commits

Author SHA1 Message Date
Norbert Federa
344362a8a3 clients: fix "focus in event" issues
The input->FocusInEvent callback implementations (normal and fast-path) have
always sent the mouse position even if the pointer was outside of the freerdp
client area. In addition xfreerdp used the wrong pointer coordinates which
were relative to the root window instead of its own.
On focus-in the pointer position must only be sent if the pointer is
currently within the program's client area. However, the clients had no way
to pass that information to input->FocusInEvent which required an API change.

- removed mouse pointer x, y parameters from input interface's FocusInEvent
- clients are responsible to call input->MouseEvent on focus-in if necessary
- fixed xfreerdp and wfreerdp accordingly
2015-01-16 18:40:57 +01:00
erbth
58c392e72e Added lock key synchronization to wfreerdp 2014-10-03 16:27:47 +02:00
Marc-André Moreau
342d37aea0 wfreerdp: add RDP8 graphics pipeline support 2014-09-12 16:30:57 -04:00
erbth
cd23e5c0d5 wfreerdp: WM_SIZE: only update canvas diff if window size is bigger than 0 2014-08-25 15:24:04 +02:00
erbth
91ef3ed843 WM_GETMINMAXINFO: use latest determined canvas diff 2014-08-25 15:12:44 +02:00
Zhang Zhaolong
55dc60f956 wfreerdp: kbd: fix ctrl/alt syncronization. 2014-03-17 15:01:15 +08:00
Benoît LeBlanc
557c082458 Merge branch 'master' of git://github.com/awakecoding/FreeRDP 2014-03-05 16:35:22 -05:00
Marc-André Moreau
d64f86d52c wfreerdp: fix 64-bit build 2014-02-10 00:34:17 -05:00
Benoit LeBlanc
b142bd4e4d Added PubSub notification on mouse events (only triggered in Windows) 2014-01-17 18:17:10 -05:00
Marc-André Moreau
d30f66b1b7 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-10-23 14:18:40 -04:00
Zhang Zhaolong
ccf37ed498 fix a keyboard focus bug:
keyboard will loose focus when recovering from minimized state.
2013-10-23 14:03:04 +08:00
Benoît LeBlanc
27750e7022 wf_event: missing parentesis 2013-10-01 15:45:50 -04:00
Marc-André Moreau
b55725487f wfreerdp: fix basic connectivity 2013-06-16 00:51:48 -04:00
Marc-André Moreau
c76efec345 wfreerdp: update client with new API 2013-06-15 22:57:21 -04:00
Benoit LeBlanc
d1598f14be Added focus handling on WM_ACTIVATE 2013-05-31 14:20:43 -04:00
Benoit LeBlanc
3f12dc351b wfreerdp: fixed upscaling 2013-04-30 12:56:16 -04:00
Benoit LeBlanc
0b9112b091 Added System menu for "Smart Sizing". Small fixes
Fixed an issue where the scrollbars were not disappearing when
maximizing window.
2013-04-30 11:15:04 -04:00
Benoit LeBlanc
391d238f1a wfreerdp: scrollbars, aspect ratio smartsizing 2013-04-26 15:46:36 -04:00
Benoit LeBlanc
b91a7cd3a8 fixed fullscreen toggle positioning, smartsizing
Also: added maximum window size
2013-04-25 17:18:14 -04:00
Benoit LeBlanc
a5bcb8bc21 Smart sizing, dual monitor in client app
Scaling functions: do not scale with a ratio > 1.
2013-04-25 15:42:40 -04:00
Benoit LeBlanc
4bfa11bcca wf_toggle_fullscreen: change hwnd parent
Also: do not lose focus
2013-04-24 16:47:32 -04:00
Marc-André Moreau
bb733db683 wfreerdp: integrating benoit's latest code 2013-04-10 16:58:19 -04:00
Hardening
7701c9d934 Replace printf(...) by fprintf(stderr, ...) 2013-03-28 23:06:34 +01:00
Marc-André Moreau
acf9429b52 wfreerdp: split client into library and executable 2013-03-18 22:09:52 -04:00
Marc-André Moreau
ac4cb24a68 wfreerdp: clean separation of client core and controlling code 2013-03-18 21:54:50 -04:00
Marc-André Moreau
75f80d0198 libfreerdp-locale: cleanup solaris code 2013-03-06 12:50:25 -05:00
Vic Lee
ccdcd8b604 wfreerdp: support DesktopResize and fullscreen toggling. 2012-12-25 12:10:24 +08:00
Marc-André Moreau
74d2244e94 libwinpr-path: fix Windows build 2012-10-17 07:48:24 -04:00
Jay Sorg
e0e61e078d win32: no logic, just white space changes 2012-10-16 11:20:04 -07:00
Jay Sorg
e4307a547a win32: added cursor shape support(mono) 2012-10-16 11:06:23 -07:00
Jay Sorg
c6ecaf4442 win32: added mouse wheel support 2012-10-16 09:57:12 -07:00
Marc-André Moreau
1bf8a45519 freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16 2012-10-09 03:01:37 -04:00
Marc-André Moreau
1ed644786c freerdp: change boolean type to BOOL type 2012-10-09 02:38:39 -04:00
Marc-André Moreau
5612bc43f8 freerdp: change true/false to TRUE/FALSE 2012-10-09 02:31:28 -04:00
Marc-André Moreau
e60a092d81 freerdp: fix headers 2012-10-08 23:02:04 -04:00
richterger
f99e8e364a win32: Fixes segfault that can occurs when a keyboard event arrives, but no main window is available (e.g. while closing the application) 2012-10-02 09:04:58 +02:00
Marc-André Moreau
867c169148 libfreerdp-locale: cleanup keyboard code 2012-09-22 14:27:30 -04:00
Marc-André Moreau
faa4311232 libwinpr: add proper config.h inclusions 2012-08-14 17:20:53 -04:00
Mads Kiilerich
bf39645039 wfreerdp: fix typo in incomplete keyboard refactorings 2012-03-30 23:28:03 +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
1e46fae33e debug: remove extra newlines in debug messages 2012-02-21 23:22:01 +01: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
51c8794e89 wfreerdp: fix wf_gdi.c 2011-10-07 14:55:07 -04:00
Marc-André Moreau
3b3152003f xfreerdp: fix usage of invalid structure pointer in event handling 2011-09-25 17:47:40 -04:00
Marc-André Moreau
e5215158d2 wfreerdp: start Win32 GDI implementation, fix certstore 2011-09-25 16:30:20 -04:00