b7bd5f9a09
Summary: KWindowSystem provides a KDE specific property for the desktop file name. This allows KWin to take the icon from the desktop file. The advantage from the desktop file is that KWin normally gets higher resolution icons than provided through the xproperty based icons used previously. If the desktop file does not provide an icon name, KWin falls back to the previous implementation. As on Wayland the icon is taken from the desktop file name already the code for X11 and Wayland is merged in AbstractClient. Also to the PlasmaWindowInterface the appId is taken from the new desktop file instead of the resourceName. Due to that for Xwayland windows where KWin knows the desktop file name it can be passed to PlasmaWindowInterface. This allows e.g. the task manager to better map the windows to applications and provide better icons. Also it means that icons do not need to be passed as bitmap data to the clients. Test Plan: Verified that icon is taking from desktop file if provided and from X property if not provided and that Wayland windows still have icon. Reviewers: #kwin, #plasma_on_wayland, hein Subscribers: plasma-devel, kwin Tags: #plasma_on_wayland, #kwin Differential Revision: https://phabricator.kde.org/D3177 |
||
---|---|---|
.. | ||
data | ||
effects | ||
helper | ||
scripting | ||
activities_test.cpp | ||
CMakeLists.txt | ||
debug_console_test.cpp | ||
decoration_input_test.cpp | ||
desktop_window_x11_test.cpp | ||
dont_crash_aurorae_destroy_deco.cpp | ||
dont_crash_cancel_animation.cpp | ||
dont_crash_empty_deco.cpp | ||
dont_crash_glxgears.cpp | ||
dont_crash_no_border.cpp | ||
globalshortcuts_test.cpp | ||
input_stacking_order.cpp | ||
internal_window.cpp | ||
kwin_wayland_test.cpp | ||
kwin_wayland_test.h | ||
lockscreen.cpp | ||
maximize_test.cpp | ||
modifier_only_shortcut_test.cpp | ||
move_resize_window_test.cpp | ||
no_xdg_runtime_dir_test.cpp | ||
plasma_surface_test.cpp | ||
plasmawindow_test.cpp | ||
platformcursor.cpp | ||
pointer_input.cpp | ||
quick_tiling_test.cpp | ||
scene_opengl_test.cpp | ||
scene_qpainter_test.cpp | ||
screen_changes_test.cpp | ||
screenedge_client_show_test.cpp | ||
shade_test.cpp | ||
shell_client_test.cpp | ||
start_test.cpp | ||
struts_test.cpp | ||
tabbox_test.cpp | ||
test_helpers.cpp | ||
touch_input_test.cpp | ||
transient_no_input_test.cpp | ||
transient_placement.cpp | ||
window_rules_test.cpp | ||
xclipboardsync_test.cpp | ||
xwayland_input_test.cpp |