Commit Graph

1953 Commits

Author SHA1 Message Date
akallabeth
ec9e74f5c8 [client,x11] add global config file support 2025-08-29 10:53:29 +02:00
akallabeth
97409eda62 [client,x11] fix resize race
Fixes #11802, ensure that the update routine does not do updates as long
as the resize is in progress.
2025-08-22 09:24:52 +02:00
akallabeth
2f03cd37a9 [client,x11] log x11 display events 2025-08-21 13:18:58 +02:00
akallabeth
0bf32a4a1a [client,x11] ignore floatbar events
If a button press happens on the floatbar ignore it and do not send it
to the remote.
For ButtonRelease and MotionEvent this is not done.
2025-08-18 13:25:25 +02:00
akallabeth
65f18983ed [warnings] Fix format string errors
* Fix casts of format string arguments (%p requires void*)
* Fix format string to match type of arguments
2025-08-13 15:09:48 +02:00
akallabeth
c3e507a82e [winpr,wlog] Replace WLog_PrintMessage calls
Prefer WLog_PrintTextMessage to have proper format string checks in
place.
2025-08-13 15:08:01 +02:00
akallabeth
12d0e491f6 [cmake] add installWithRPATH
this new CMake function installs a target to a destination and adds the
correct relative RPATH to some desired locations
2025-07-17 13:59:51 +02:00
akallabeth
671381da74 [client,x11] fix clipboard issues
* better logging of requested formats
* properly remember local format ID to paste
2025-07-03 07:36:48 +02:00
Łukasz Stelmach
d1ddba3857 [manpages] Add example of keyboard remapping
Show how to swap Ctrl and CapsLock keys using /kbd:remap.
2025-07-01 12:00:13 +02:00
akallabeth
4dc6091fde [client,common] fix -mouse-motion
* Move code to client/common to have it in place for all clients without
  modification
* Remember if a button was pressed and only suppress move events if no
  button is pressed.
2025-06-18 12:46:56 +02:00
akallabeth
ded07fa31e [client,man] improve manpages (see #11357) 2025-06-16 11:56:06 +02:00
Li Gang
8b25743c18 [client,x11]#11658,when size changed of an existing appWindows, except resize the main window, resize it's pixmap also 2025-06-05 10:41:01 +08:00
Li Gang
3622640985 fix x11 log 2025-05-26 09:17:02 +02:00
Li Gang
c389b2b8b1 fix compile errors: xfc not defined even if with WITH_XCURSOR=ON 2025-05-25 14:25:24 +08:00
akallabeth
34ab0b893d [warnings] fix clang-tidy warnings 2025-05-23 15:29:31 +02:00
akallabeth
b43e1a6640 [client,x11] fix return value checks
X11 function return values are not properly defined in manpages, so
check for more details in upstream code and adjust the checks.
2025-05-23 13:09:20 +02:00
akallabeth
ff5aca1b0b [client,x11] add more logging X11 calls 2025-05-23 12:15:09 +02:00
akallabeth
1b1a7d35ec [client,x11] log XFlush 2025-05-22 19:47:41 +02:00
akallabeth
6007544a1a [client,x11] add return value logging 2025-05-22 17:54:54 +02:00
akallabeth
479cea48cc [client,x11] fix missing includes 2025-05-22 16:25:10 +02:00
akallabeth
5d9493d37f [client,x11] skip empty update rects 2025-05-22 16:25:07 +02:00
akallabeth
a41bae5258 Merge pull request #11619 from akallabeth/x11-log-extended
[client,x11] log XPutImage and XCopyRect
2025-05-22 16:12:16 +02:00
akallabeth
4ea50fd0c5 [client,x11] log XPutImage and XCopyRect 2025-05-22 16:08:32 +02:00
akallabeth
03a72a56db [client,common] lock clipboard on update 2025-05-22 14:58:21 +02:00
Armin Novak
9bb7e5dfaa [client,xfreerdp] use FreeRDP timer API for updates
Use the freerdp_timer_add API to delay a display update
2025-05-16 12:11:40 +02:00
Armin Novak
8e3e163fd4 [client,xfreerdp] remove SetWaitableTimer use 2025-05-16 12:11:37 +02:00
akallabeth
278a800dff [client,x11] add WITH_DEBUG_KBD log messages 2025-05-06 11:00:41 +02:00
akallabeth
aa816ab92c [client,x11] use rel mouse events only when no cursor set 2025-04-10 08:43:35 +02:00
akallabeth
dde00a3646 [cmake] group project targes 2025-04-07 11:09:41 +02:00
akallabeth
3e0d1ae587 [client,x11] map exit code success 2025-03-27 12:12:57 +01:00
akallabeth
0836419757 [client,x11,sdl] sync keyboard state after hotkey
If a client side key combination was detected issue a keybard state sync
to reset the server side keyboard to initial state with no keys pressed.
2025-03-25 08:37:53 +01:00
akallabeth
67f723793f [clients] remove keyboard state sync on CAPS release
The keyboard state was synced in xfreerdp (and more recently
sdl3-freerdp) when the CAPS key was released.
Some investigation revealed this to be a historic workaround for loss of
keyboard state sync (e.g. NUK, CAPS or SCROLL getting out of sync)

This can not happen anymore as all events during windows focus are
processed properly and every time the keyboard state changes outside it
is synchronized when focus is gained.
2025-03-24 18:03:40 +01:00
akallabeth
d41c2b3dc8 ]client,x11] fix unicode lookup 2025-03-22 20:49:35 +01:00
akallabeth
e0175d1074 Merge pull request #11381 from akallabeth/code-cleanups2
abi-checker improvements
2025-03-20 09:31:37 +01:00
akallabeth
2c796d0840 [client,x11] fix cast for LogTagAndXChangeProperty 2025-03-20 09:18:17 +01:00
akallabeth
34f6927c12 Merge pull request #11369 from akallabeth/sdl3-clip-png
Sdl3 clip png
2025-03-20 09:06:38 +01:00
Armin Novak
0a0248ebe2 [client,x11] rename _NET_* variables and defines
avoid using restricted _
2025-03-19 18:59:56 +01:00
Armin Novak
c817cf48d1 [client,x11] register HTML clipboard format for images 2025-03-19 12:49:10 +01:00
akallabeth
1bd4f0b146 [client,x11] add <ctrl>+<alt>+d shortcut
allow immediate disconnect of a session with a keyboard shortcut.
2025-03-19 11:06:09 +01:00
akallabeth
7e0e62c5ce [null-dereference] fix possible NULL dereference 2025-03-11 09:37:09 +01:00
akallabeth
de240cfb75 [client,x11] add apple keyboard fallback
Add workaround for missing XkbGetNames on apple devices
2025-03-10 11:11:21 +01:00
Armin Novak
7d87de6572 [client,x11] decrease logging verbosity
load_map_from_xkbfile now only logs WLOG_TRACE when dumping the keycode
to scancode map.
2025-03-05 22:27:41 +01:00
akallabeth
8ea2c5dde6 [client,x11] implement keyboard mapping
* move to client code
* fix parse_xkb_rule_names
2025-03-04 13:26:42 +01:00
akallabeth
6d541c8691 [warnings] eliminate dead code 2025-03-04 09:53:05 +01:00
akallabeth
efb70690b3 [client,x11] improve action script logging 2025-02-26 18:49:26 +01:00
akallabeth
f817301858 [client,x11] reduce verbosity of actionscript log 2025-02-24 21:03:29 +01:00
akallabeth
d100bff706 [client,x11] fix dynamic resize with fullscreen 2025-02-16 09:46:14 +01:00
akallabeth
a2950f61c8 [client,x11] only filter input on floatbar lock 2025-02-16 09:06:37 +01:00
akallabeth
8db537a07c [client,warnings] fix -Wunused-parameter for x11 2025-02-13 15:54:10 +01:00
akallabeth
a24ffe957c [cmake] make C and C++ standards configurable
use cache variables to allow overriding them from command line
2025-02-13 13:30:06 +01:00