Commit Graph

63 Commits

Author SHA1 Message Date
Armin Novak
5fb59a23a9 Fixed lots of compilation warnings and type mismatches 2021-06-16 15:21:56 +02:00
Armin Novak
140dffade6 Removed unnecessary allocation 2021-06-02 17:22:20 +02:00
Armin Novak
0c0c97d80f Fixed missing include for legacy os 2021-06-02 17:22:20 +02:00
Armin Novak
019d26d9bb Moved static wf_event.c variables to client context 2021-06-02 17:22:20 +02:00
Armin Novak
e79de5b2b3 Added dynamic resolution patch
Provided in https://github.com/FreeRDP/FreeRDP/issues/7072
by @277hz
2021-06-02 17:22:20 +02:00
Pascal Nowack
1087a5e1a6 clients: Use the correct wheel rotation value
For the negative scrolling direction, RDP uses the two's complement,
instead of the positive wheel value with the negative flag.
xfreerdp currently uses the positive wheel value in addition to the
negative flag, which results in a wrong wheel value on the server side
(136 instead of 120).

Fix this, by using the correct wheel rotation value, which is in the
two's complement.
2021-02-11 09:54:03 +01:00
Armin Novak
72ca88f49c Reformatted to new style 2019-11-07 10:53:54 +01:00
Ilya Shipitsin
7f97574501 client/Windows/wf_event.c: add missing "break" (#5293)
found by cppcheck

[client/Windows/wf_event.c:464] -> [client/Windows/wf_event.c:468]: (warning) Variable 'xNewPos' is reassigned a value before the old one has been used. 'break;' missing?
2019-03-04 09:17:10 +01:00
Armin Novak
6a9fa3dcbd Refactored floatbar, extended command line settings. 2018-12-07 15:22:28 +01:00
Don Caton
68c34d5ab0 Windows client: Suppress minimize and restore buttons in float bar when toggle-fullscreen is false, added window title to float bar, improved overall appearance with gradients, shadow and transparent icons.
# Conflicts:
#	client/Windows/wf_client.c
#	client/Windows/wf_event.c
#	client/Windows/wf_floatbar.c
2018-12-07 15:22:28 +01:00
Armin Novak
d1fc0e92b5 Added additional mouse mappings. 2018-03-08 13:21:04 +01:00
Eric Brown
d8151c03df Remove unnecessary WM_SETCURSOR handling from wf_event_proc 2018-03-05 12:32:42 -06:00
Eric Brown
0c24ade668 Misc fixes for Windows clients 2018-03-02 12:42:04 -06:00
Norbert Federa
f71b6b46e8 fix string format specifiers
- fixed invalid, missing or additional arguments
- removed all type casts from arguments
- added missing (void*) typecasts for %p arguments
- use inttypes defines where appropriate
2016-12-16 13:48:43 +01:00
Armin Novak
6cd2a43cf4 Reformatted file. 2016-10-06 13:43:13 +02:00
Armin Novak
fbdb00aa0c Simplified windows context. 2016-10-06 13:43:06 +02:00
Armin Novak
71a73068ec Reformatted client code. 2016-10-06 13:43:06 +02:00
Armin Novak
7818ca1250 Fixed windows compile. 2016-10-06 13:43:04 +02:00
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