Armin Novak
697e020abd
[rail] Added window update from surface
2022-11-11 06:42:45 +01:00
akallabeth
c0193a1813
Fixed #8259 : in remote app mode keep the keyboard state
...
If the mouse enters/leaves the window or the window is unmapped in
desktop session mode we can reset the keyboard modifiers state
while in remote app mode these events have different meaning. Be
more strict in the latter case and only reset on focus out
2022-11-03 11:01:30 +01:00
akallabeth
796ceb2783
Fixed #8269 : Ignore mouse/input events during floatbar events
2022-10-07 11:26:56 +02:00
akallabeth
c07d240bc8
Updated pointer debug log messages
2022-07-04 14:30:49 +02:00
akallabeth
b8f3743e82
Update scaled pointer on FocusIn
2022-07-04 14:30:49 +02:00
akallabeth
bc8b4ade1c
reformatted
2022-06-23 08:48:39 +02:00
akallabeth
bbf3b8deba
Cleaned up xf_AppWindowFromX11Window use
2022-05-19 11:23:43 +02:00
akallabeth
962c5c3ef0
Fixed dead store warnings
2022-04-28 12:37:19 +02:00
akallabeth
667b471686
Fixed cast-quality warnings
2022-04-28 09:17:20 +02:00
akallabeth
d3e1810473
Follow up to #7832 : Add NULL checks
2022-04-27 23:29:44 +02:00
2fly2
56b0ca7b3f
fix restore a maximized window when it is minimized
...
Signed-off-by: 2fly2 <wjatchd@163.com>
2022-04-27 18:15:56 +02:00
akallabeth
d22ef1786b
Proper use of rdpSettings in client
...
* Use getter/setter
* Fix uninitialized uses
2022-03-28 15:52:32 +02:00
Armin Novak
9bf2fde765
Added patch from #4660 @mokyle
...
do not deactivate rail windows, just keep them always on
2022-03-16 21:40:34 +01:00
Armin Novak
4d03d7c0bf
Freerdp remove #ifdef HAVE_CONFIG_H
2022-03-03 11:26:48 +01:00
Armin Novak
b2ad47a809
Reorganized FreeRDP headers
2022-03-03 11:26:48 +01:00
Armin Novak
f03059e718
Extended AINPUT API:
...
* Each event now has a timestamp
* Relative and absolute events are sent simultaneously
* Added a flag indicating relative events are available
2022-02-22 09:44:13 +01:00
akallabeth
e136444f51
Fixed xinput and x11 event priority
...
* Prefer xinput events over x11 events for mouse input
* Prefer xinput raw events over xinput events:
* Only use when the mouse is grabbed (events are not bound to a
specific window but are global)
* Only use for relative mouse input
2022-02-22 09:44:13 +01:00
akallabeth
db00082974
Implemented xfreerdp relative mouse input
2022-02-22 09:44:13 +01:00
akallabeth
b1a2efde7d
Implemented xfreerdp mouse grab
2022-02-22 09:44:13 +01:00
akallabeth
700d6dcd9e
Use client/common mouse functions
2022-02-22 09:44:13 +01:00
akallabeth
7641710f60
Use a client/common context component
...
* Allows moving common client code from specific client to a
generic client/common implementation
2022-02-22 09:44:13 +01:00
Armin Novak
0f8c52b9ca
Fixed const warnings with argument parser
2021-09-09 08:53:20 +02:00
liuchenghao
8e87e9d6eb
Fix that when the window is minimized, click the dock to restore the window, it cannot be restored normally
2021-07-20 12:23:43 +02:00
Armin Novak
390e329807
client: Fixed warnings
2021-06-18 11:32:16 +02:00
Armin Novak
ccfe0c129e
Removed checks already done by WINPR_ASSERT
2021-06-16 11:46:42 +02:00
Armin Novak
d6c84c28fb
Renamed ArrayList_Add to ArrayList_Append
...
* Do not break API silently
2021-06-16 11:46:42 +02:00
Armin Novak
a1c8e4cf85
Refactored ArrayList_Add to conform to other functions
2021-06-16 11:46:42 +02:00
akallabeth
618227d751
Fix xf_Pointer_SetPosition with smart-sizing
2021-03-08 14:25:59 +01:00
Armin Novak
b1ff171413
Fixed #6014 : XFCE minimized state
2021-02-25 14:17:39 +01:00
Malte Starostik
06219e4ecb
X11 client: ignore grab related LeaveNotify events
...
This fixes click and drag or more generally any press-hold-release combinations
for the primary mouse button.
Without this, click and drag, drag and drop and in, some remote applications
that presumably rely on the full press-release sequence, even button
presses don't always work.
2021-02-23 14:05:11 +01:00
Armin Novak
555e1ad8f2
Properly discard xfc->appWindow on focus loss
2021-01-11 15:18:30 +01:00
akallabeth
dfbf300389
Conservative keyboard state sync, refactored input API
2020-11-10 10:26:41 +01:00
akallabeth
6e3c00725a
Cleaned up collections:
...
ArrayList, MessageQueue, Queue, PubSub, BipBuffer
ObjectPool and BufferPool
2020-11-06 12:30:13 +01:00
Armin Novak
e241044f1f
Fixed #6221 : Update floatbar position with multitouch input
2020-05-25 08:43:03 +02:00
akallabeth
7890833af8
Replaced strtok with strtok_s
2020-05-18 11:39:22 +02:00
Armin Novak
032574cc8f
X11 XEvent handling use const arguments
2020-03-04 10:38:41 +01:00
Armin Novak
72ca88f49c
Reformatted to new style
2019-11-07 10:53:54 +01:00
Armin Novak
2cc714a57d
Updated RAILS implementation
...
* Implement new messages and callbacks
* Announce most recent channel features
* Added settings to configure flags to announce
2019-05-08 17:25:15 +02:00
Armin Novak
05901280fe
Fixed unused argument warnings.
2019-04-05 09:14:35 +02:00
Armin Novak
e009a62f06
Fixed sign-compare warnings
2019-04-05 09:14:35 +02:00
Armin Novak
81d7e62642
Fixed broken checks in X11 event (RAIL mode)
2019-02-08 10:46:26 +01:00
Armin Novak
2dab778101
Fixed NULL dereferences and uninitialized values
2019-01-30 16:11:10 +01:00
Bernhard Miklautz
6f6c8473a1
Merge pull request #5126 from akallabeth/x11_button_mapping
...
X11 extended button remapping support.
2018-12-11 08:53:39 +00:00
Armin Novak
0fa9f06565
Modified flag checks to avoid invalid flag sets.
2018-12-11 09:34:07 +01:00
Armin Novak
2ce04069cb
Fixed crashes in rail mode after merge of floatbar fixes.
2018-12-10 15:41:20 +01:00
Armin Novak
7102927548
X11 extended button remapping support.
...
Up until now X11 mouse button remapping was only possible for the
default buttons 1 to 3.
With this pull any X11 mouse button can be mapped to any RDP mouse
event and all X11 remappings are respected.
2018-12-10 15:03:29 +01:00
Armin Novak
56156d217e
Floatbar self contained.
2018-12-07 15:22:28 +01:00
Hualet Wang
e33efccf48
Fixed RAIL window can't show again once hidden
...
The cause is very simple: we didn't map the xwindow on receiving
WINDOW_SHOW. but doing that causes another problem that you can't
hide a window anymore, and that is because whlie window hiding, the
_NET_WM_STATE and WM_STATE properies of the xwindow may change, in
the function `xf_event_PropertyNotify` we just assume that windows
not maximized, not minimized, yet not showing normally should be
corrected to be shown, we just need to consider the situation that
the window is hidden here.
fix : #5078
2018-12-04 20:37:37 +08:00
David Fort
2e1bf90bd9
Merge pull request #4885 from akallabeth/autoreconnect_handle_window_events
...
Fixed #3423 : Process xevents when in reconnect mode.
2018-10-03 09:42:16 +02:00
akallabeth
0b8a66188c
Merge pull request #4865 from mmattes/feature/floatbar
...
Feature/floatbar for X11
2018-09-25 16:34:20 +02:00