Commit Graph

1848 Commits

Author SHA1 Message Date
akallabeth 239440e28d
[warnings] remove or comment unused macros 2024-09-20 18:49:38 +02:00
akallabeth 69527e117a
[client,X11] update _NET_WM_STATE for WS_EX_TOPMOST
* Set _NET_WM_STATE_ABOVE if WS_EX_TOPMOST is set and WS_EX_TOOLWINDOW
  clear for a window style
* Clear _NET_WM_STATE_ABOVE in all other cases
2024-09-20 11:33:29 +02:00
akallabeth d0c1e6055f
[client,X11] add missing _NET_WM_STATE* atoms 2024-09-20 11:33:26 +02:00
akallabeth 0a24f12281
[client,X11] update window style
* if WINDOW_ORDER_STATE_NEW is not set also update
2024-09-20 11:31:34 +02:00
akallabeth fd3c7633d6
[client,X11] fix rails modal windows
xf_XSetTransientForHint of windows of type
(WS_EX_CONTROLPARENT | WS_EX_TOOLWINDOW | WS_EX_DLGMODALFRAME)
and parent window set
2024-09-20 11:31:32 +02:00
akallabeth c8e6b1b71f
[client,x11] log rail WINDOW_STATE_ORDER 2024-09-20 11:31:30 +02:00
akallabeth 2b1abcd550
[client,x11] add helper util x11_error_to_string
The helper function x11_error_to_string stringifies a X11 error return
code.
2024-09-20 11:31:27 +02:00
akallabeth f67e641cce
[client,X11] add helper functions for rail window style
* window_styles_to_string
* window_styles_ex_to_string
2024-09-20 11:31:24 +02:00
akallabeth bb242b9a89
[return checks] fix use of WaitForSingleObject 2024-09-16 08:22:37 +02:00
akallabeth 965d231e49
[return checks] fix use of CloseHandle 2024-09-16 08:22:31 +02:00
akallabeth 7c8c14294f
[return checks] fix use of ReleaseMutex 2024-09-16 06:48:06 +02:00
akallabeth c9b0c9ecd5
[warnings] remove unused variables 2024-09-12 10:08:10 +02:00
akallabeth b2d58de1da
[client,X11] fix Wtautological-constant-out-of-range-compare 2024-09-12 09:08:58 +02:00
akallabeth ae95b66922
[warnings] fix portability [cm]alloc size 0 2024-09-11 20:50:33 +02:00
akallabeth ba7465abf5
Merge pull request #10585 from akallabeth/x11-clip-cache-fix
[client,x11] fix clipboard cache
2024-09-10 14:31:25 +02:00
akallabeth fcdd03a020
[client,x11] fix clipboard cache
Use new function format_to_cache_slot to convert a clipboard format to a
valid key value for wHashTable. This avoids issues with our synthesized
CF_RAW format (value 0) which is an invalid key for wHashTable
2024-09-10 13:35:21 +02:00
akallabeth 215f798665
[client,x11] add minimize shortcut 2024-09-10 12:29:12 +02:00
akallabeth 889ae65a1f
[warnings] add WINPR_CAST_CONST_PTR_AWAY
simple macro casting a const pointer to a non const one.
2024-09-04 20:55:17 +02:00
akallabeth 5e123735fa
[warnings] fixed sign-compare 2024-09-04 10:14:05 +02:00
akallabeth 2fc791fe9b [client,X11] fix shadowed variable 2024-09-04 09:45:00 +02:00
akallabeth baa70d1ab6
[warnings] fix compare integers of different signs 2024-09-03 15:10:46 +02:00
akallabeth 5a4a1a40ad
fix declaration and implementation parameter names 2024-09-03 12:24:53 +02:00
Armin Novak fe4cb6de65
[warnings] fix float/double warnings 2024-09-02 16:20:20 +02:00
akallabeth 5887f8a558
[warnings] suppress warnings
Some warnings can not be solved as they depend on external libraries or
limitations of the C standard.
Suppress these warnings selectively
2024-08-30 15:40:16 +02:00
akallabeth 9c9d74e920
[warnings] fix redundant casts 2024-08-29 12:03:09 +02:00
akallabeth 15456e1ee1
[warnings] fix implicit widening conversion 2024-08-29 10:47:20 +02:00
akallabeth 1d33095500
[warnings] fix cert-err33-c
Fix unused return values, cast to void if on purpose
2024-08-29 10:19:27 +02:00
akallabeth 56d660f258
[cmake] mark dependency includes SYSTEM
Mark all dependency include paths SYSTEM so warnings from system headers
are excluded from ci warning statistics
2024-08-26 11:10:49 +02:00
Armin Novak 17d44e847f
[coverity] fix various warnings 2024-08-21 09:47:34 +02:00
akallabeth 7fe1164d26
Merge pull request #10490 from akallabeth/desktop-resize-deadlock
Desktop resize deadlock
2024-08-20 13:28:04 +02:00
akallabeth d5d3d8501e
[client,x11] improve VerifyCertificate message
* Use FreeRDP_CertificateCallbackPreferPEM for callbacks
2024-08-20 12:42:57 +02:00
akallabeth dcbeedb4d4
[client,x11] fix a possible deadlock on desktop resize 2024-08-20 12:41:17 +02:00
Armin Novak 14c85bafd3
[client,x11] fix RAW clipboard copy 2024-08-12 15:55:26 +02:00
akallabeth 7dc51e1b71
[client,x11] log variable name for XGetAtomName
To better debug issues with calls log the name of the target variable to
allow better tracing which call did fail
2024-08-02 15:12:58 +02:00
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
Armin Novak 51204c1433
[client,X11] fix X11 event mask
When reading incremental data for clipboard restore previous event mask
when finished. Fixes #10377
2024-07-17 14:19:58 +02:00
Armin Novak 2ac05d4d4a
[client,X11] X11 locking log with WITH_DEBUG_X11 2024-07-17 11:32:21 +02:00
Armin Novak 71760d6d9a
[client,X11] log XConvertSelection calls 2024-07-17 11:05:57 +02:00
Armin Novak 3f0f1a3bbb
[client,X11] fix duplicate file clipboard clear 2024-07-17 10:41:14 +02:00
Armin Novak 5ebbd39187
[client,X11] prevend duplicate formatID in formatList
When announcing client clipboard formats skip any format already in the
list.
2024-07-17 10:31:14 +02:00
Armin Novak d9d81d347c
[client,X11] fix clipboard locking 2024-07-17 09:49:54 +02:00
Ondrej Holy 17c95924d7 [client,x11] fix typo in help
There is a typo in the xfreerdp client help. It says "localtion" instead
of "location". Let's fix it.
2024-07-10 07:16:43 +02:00
Armin Novak d3efbe004d [client,x11,sdl] fix manpage generation
* fix name of xfreerdp manpages
* fix name of sdl-freerdp manpages
2024-07-04 12:11:26 +02:00
akallabeth 357a92ce55
[client,X11] log atom numbers passed to XGetAtomName 2024-06-28 09:21:17 +02:00
akallabeth ee789dee0b
[client,x11] fix floatbar hide 2024-06-03 10:52:38 +02:00
Armin Novak 41841997cc
[client,cliprdr] send format list msgFlags = 0
only a response message might have msgFlags != 0 set
2024-05-22 16:31:34 +02:00
akallabeth 35859c81a1
[client,sdl] allow side by side and replacement
Allow SDL2 and SDL3 client to be installed side by side as well as an
option to only install one and name it accordingly
2024-05-16 18:27:44 +02:00