akallabeth
dcf5a8e28c
[warnings] fix -Wswitch-default
2024-10-31 11:42:24 +01:00
akallabeth
47c5070805
Merge pull request #10635 from akallabeth/initialize-variables
...
Initialize variables
2024-09-30 16:04:20 +02:00
Armin Novak
66b6a90cc7
[client,x11] fix xf_GetWindowProperty arguments
...
Use BYTE* as argument and cast later to desired type
2024-09-25 10:31:38 +02:00
akallabeth
01d565398e
[client,x11] fix reading of work area
...
https://specifications.freedesktop.org/wm-spec/1.4/ar01s03.html
_NET_CURRENT_DESKTOP might not be supported by a window manager. Ignore
failures there and just take the first monitor dimensions.
2024-09-24 13:07:22 +02:00
akallabeth
3d210d815d
[client,X11] fix sign of shifted type
2024-09-24 11:30:23 +02:00
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
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
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
1d33095500
[warnings] fix cert-err33-c
...
Fix unused return values, cast to void if on purpose
2024-08-29 10:19:27 +02:00
Armin Novak
17d44e847f
[coverity] fix various warnings
2024-08-21 09:47:34 +02:00
toreonify
9118551334
Renamed Atom identifiers, reserved names were used
2024-05-04 11:32:39 +02:00
toreonify
6ea047558e
Custom context/popup menus stay on screen
...
Fix maximized/restored window state
Add support for window allowed actions
2024-05-04 11:32:39 +02:00
Mathias Lithen
532a3cd1a9
Set res_class on classHints
2024-04-01 09:30:30 +02:00
akallabeth
05e555feb7
fixed unused-variable warnings
2024-02-22 12:31:50 +01:00
akallabeth
d7ebec5a65
[tidy] move loop variable declaration to loop
2024-02-22 12:31:50 +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
akallabeth
2fffcd64b9
[winpr] use winpr_strerror instead of strerror
...
use the wrapper from WinPR to use the best implementation available.
2024-02-06 15:45:47 +01:00
Armin Novak
35697c0292
[client,x11] fix segfault due to wrong print function
2023-12-14 14:05:39 +01:00
Armin Novak
3043fca91d
[warnings] fixed -Wdiscarded-qualifiers
2023-12-13 13:24:22 +01:00
akallabeth
4e438d1c3e
[client] make settings opaque
2023-11-24 14:54:56 +01:00
Armin Novak
970f0c54e8
[stream] use const correct Stream_Pointer access
2023-06-08 08:09:33 +02:00
Armin Novak
a4c6b36a19
[build] fix memory sanitizer stack frame warnings
2023-06-07 09:14:45 +02:00
akallabeth
28b0821ec6
[cmake] build xfreerdp standalone project
2023-05-31 11:05:56 +02:00
Armin Novak
26d1fff864
[client,x11] wrap XGetWindowProperty
...
use a logging version of the function to diagnose issues
2023-03-07 07:51:52 +01:00
Armin Novak
684558d6d7
[client,x11] wrap XChangeProperty
...
to debug bug reports occuring only with certain setups wrap the function
call with a logging edition so we have the arguments available in the
log for debugging.
2023-03-07 07:51:52 +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
bd7e2263ad
fixed const and type cast warnings
2022-12-09 15:58:26 +01:00
Armin Novak
4008033065
[x11,client] assert use of xfc->depth
...
Do not use color depth settings before they are initialized
2022-12-09 12:30:14 +01:00
Armin Novak
eda1359f52
[x11,client] clean up color depth initialization
...
* Do not use transparency except in remote application mode.
* Fall back to default color depth in rail mode if no transparency
supported
2022-12-09 12:30:14 +01:00
akallabeth
4d885e3a6e
[client,x11] Initialize window with 32bit color
...
Allow alpha channel to be properly processed for rail
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
43c5289928
Replaced memset/ZeroMemory with initializer
...
* Addes WINPR_ASSERT on many occations
* Replaced memset with array initializer
* Replaced ZeroMemory with array initializer
2022-10-14 12:11:01 +02:00
zengguang
e3cfe7300c
Fixed app windows destroy will do close(0) ( #8073 )
...
shmid was not initailized on creation of app window, that will be close fd = 0. everytimes in app windows destroy (Call xf_DestroyWindow ).
2022-07-15 09:18:45 +02:00
akallabeth
bc8b4ade1c
reformatted
2022-06-23 08:48:39 +02:00
akallabeth
de91cec5bf
Fixed const warning
2022-06-23 07:45:55 +02:00
akallabeth
bbf3b8deba
Cleaned up xf_AppWindowFromX11Window use
2022-05-19 11:23:43 +02:00
2fly2
8f831ed324
fix RAIL abort when reconnect
...
Signed-off-by: 2fly2 <wjatchd@163.com>
2022-05-19 11:23:43 +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
akallabeth
3d38d2636c
Decreased logging verbosity for INFO level
2022-03-04 09:34:02 +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
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
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
akallabeth
8cc6582044
Unify struct definitions ( #7633 )
...
* Unified enum/struct definitions, fixed include issues
* Fixed mac compilation issues
* Added missing include
* Fixed windows server build warnings
* Fixed VS2010 build issue
* Removed unnecessary library linking
* Fixed ThreadPool WinXP compatibility
* Fixed pr review remarks
2022-02-14 14:59:22 +01:00
Armin Novak
339cdded45
Fixed memory sanitizer warnings
2022-01-11 14:32:18 +01:00