akallabeth
2f5570cd67
Merge pull request #10423 from akallabeth/action_script
...
[client,X11] fix ActionScript
2024-07-25 10:00:26 +02:00
Armin Novak
44b07721ec
[client,X11] fix ActionScript
...
* Unify script calls
* Update documentation
* Fix home directory
2024-07-25 09:42:03 +02:00
akallabeth
56b50966a3
[client,x11] log all XInternAtom calls
2024-07-25 07:47:40 +02:00
Ilya Matthew Kuvarzin
761c3a807b
Fix: Prevent RemoteAPP window minimization on desktop switch in Gnome
...
- Modified xf_event_PropertyNotify in xf_event.c to check for Gnome session before minimizing the window
- Added the session check logic in a new function IsGnome placed in xf_utils
- This resolves the issue where RemoteAPP windows were unintentionally minimized when switching desktops in Gnome
- Ensured minimal impact on other window managers
2024-07-23 14:56:10 +02:00
akallabeth
ee789dee0b
[client,x11] fix floatbar hide
2024-06-03 10:52:38 +02:00
Armin Novak
405a24c200
[coverity] 1543179 Array compared against 0
2024-04-15 11:30:31 +02:00
sasha0552
d864393a8a
[client,X11] fix detection of need to use relative movements
...
Register XI raw masks when MouseUseRelativeMove enabled
Fix duplication of sent events (in previous implementation relative and absolute events were sent at the same time)
Slightly refactor code
2024-03-26 09:20:50 +01:00
Armin Novak
56a3955af4
[client,x11] send TS_RAIL_ORDER_ACTIVATE
...
when a rail window has gained focus or lost it send
TS_RAIL_ORDER_ACTIVATE to inform the server about the change.
2024-03-14 10:11:47 +01:00
akallabeth
9a7d30d174
[clang,tidy] fix a few warnings
2024-02-27 14:15:43 +01:00
akallabeth
d7ebec5a65
[tidy] move loop variable declaration to loop
2024-02-22 12:31:50 +01:00
akallabeth
b894199f72
[winpr,collections] add generic string clone functions
...
The ArrayList, HashTable, ... New functions require
void* (*fkt)(const void* ptr) type functions. Provide a generic wrapper
for CHAR and WCHAR strdup to eliminate warnings. Also export a
corresponding free function to avoid issues with runtime
differences.
2024-02-15 11:49:16 +01:00
akallabeth
0e44b2c674
[clang-tidy] clang-analyzer-unix.Malloc
2024-02-15 11:49:16 +01:00
akallabeth
f69e1fe697
[clang-tidy] readability-duplicate-include
2024-02-15 11:49:16 +01:00
akallabeth
0ba995655d
[clang-tidy] cppcoreguidelines-init-variables
2024-02-15 11:49:16 +01:00
akallabeth
207def5c56
[clang-tidy] readability-isolate-declaration
2024-02-15 11:49:16 +01:00
Armin Novak
8613613913
[client,common] fix relative mouse event detect
...
Only send relative mouse events, if the client explicitely enabled them,
the calling function is reporting the events as relative and the server
announced support for it.
2023-12-19 21:26:46 +01:00
Armin Novak
2b1aae0238
[client,x11] fix maximum number of input events
2023-12-07 10:53:34 +01:00
akallabeth
4e438d1c3e
[client] make settings opaque
2023-11-24 14:54:56 +01:00
James Fu
5b012fbc8a
rail: fix window freeze when moving window after minimizing and restoring
...
When restoring from minimized state, sometimes MapNotify is received before PropertyNotify,
and the rail_state is still WINDOW_SHOW_MINIMIZED.
2023-08-21 14:44:58 +02:00
Armin Novak
a4c6b36a19
[build] fix memory sanitizer stack frame warnings
2023-06-07 09:14:45 +02:00
akallabeth
3d9969ef65
[client,x11] export x11_event_string
2023-02-28 09:47:54 +01:00
Armin Novak
641022b795
[logging] remove __FUNCTION__ from actual message
...
prefer the log formatter to provide that information.
2023-01-25 16:26:39 +01:00
Armin Novak
d978a0dbdb
[client,x11] fix rail checks
...
rail might be deactivated during connect, so ensure that the default
session rendering path properly checks the window pointer
2023-01-10 11:49:02 +01:00
Armin Novak
d90aa5d6f5
[client,x11] Fixed #8099 : Detect key autorepeat
...
When a key is pressed in autorepeat mode, skip the KeyRelease events in
between.
2022-12-13 14:37:05 +01:00
Armin Novak
96243c1d17
[x11,client] unify modifier map update/free
2022-12-09 12:30:14 +01:00
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