22304 Commits (a343af674becfc3df10febffc9e4660716cbfcea)
 

Author SHA1 Message Date
Xaver Hugl a343af674b backends/drm: fix damage tracking for virtual outputs 2 years ago
Vlad Zahorodnii 3de377e461 Rename XwaylandClient to XwaylandWindow 2 years ago
Vlad Zahorodnii 4b91c6163f Rename XdgShellClient to XdgShellWindow
The word "client" means different things in wayland and kwin. Use a
better word to refer to windows.
2 years ago
Vlad Zahorodnii a21aa839b1 Rename X11Client to X11Window
The word "client" means different things in wayland and kwin. Use a
better word to refer to windows.
2 years ago
Vlad Zahorodnii f0f829bc5b Rename WaylandClient to WaylandWindow
The word "client" means different things in wayland and kwin. Use a
better word to refer to windows.
2 years ago
Vlad Zahorodnii 3cdee2f24a Rename LayerShellV1Client to LayerShellV1Window
The word "client" means different things in wayland and kwin. Use a
better word to refer to windows.
2 years ago
Vlad Zahorodnii fb4607f5a6 Rename InternalClient to InternalWindow
The word "client" means different things in wayland and kwin. Use a
better word to refer to windows.
2 years ago
Vlad Zahorodnii 48b951201a Rename InputPanelV1Client to InputPanelV1Window
The word "client" means different things in wayland and kwin. Use a
better word to refer to windows.
2 years ago
l10n daemon script b935bca22f SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2 years ago
Vlad Zahorodnii 0ef12b69a1 plugins/screencast: Avoid damaging full screen on rotated outputs
Not sure what that check is for, but things should work as expected even
without it.
2 years ago
Volker Krause 5368537981 Fix Qt6 build regressions 2 years ago
Nils Fenner b491aeb9ae Rename AbstractClient to Window 2 years ago
Fushan Wen 2e7364ddde WindowHeap: Hide window icon and label when excluded
This makes the opening animation of Window View from task manager less rigid.
2 years ago
Xaver Hugl 99761901ee backends/drm: don't check the test buffer if we don't need one
BUG: 452572
2 years ago
Xaver Hugl 941bae2810 backends/drm: fail atomic tests gracefully when buffer allocations fail
This should fix the crash. However, it's still unclear to me why allocations
fail in the first place

CCBUG: 452572
2 years ago
Vlad Zahorodnii 2b7fa206e8 Refactor Output information initialization
Instead of passing all possible field values to the initialize()
function, pass all relevant data in a struct. With designated
initializers, it's more readable and makes code more comprehensible.

The general goal is to split Output's data in two categories - general
information about the output (e.g. edid) and mutable state (position,
mode, etc).
2 years ago
Fushan Wen c4a0f20f4a
effects/windowview: Fix "Unable to assign [undefined] to int"
animationDuration is not defined in WindowViewEffect. Use
heap.animationDuration instead.
2 years ago
Vlad Zahorodnii 31c069ebf3 wayland: Let ecm_add_qtwayland_server_protocol_kde() work with targets
Makes CMakeLists.txt code a bit safer.
2 years ago
Vlad Zahorodnii a4a2ee0428 Refactor output mode abstractions
With this, the drm backend will be able to associate drmModeModeInfo
with Output's modes, which can be useful if there are several modes with
the same resolution and refresh rate but different flags.
2 years ago
Vlad Zahorodnii 6b4daeddc9 src/xwl -> src/xwayland
It makes naming more consistent, we use "wayland" more frequently than
"wl".
2 years ago
Vlad Zahorodnii b64f95b703 Integrate kwaylandserver
This makes KWin switch to in-tree copy of KWaylandServer codebase.

KWaylandServer namespace has been left as is. It will be addressed later
by renaming classes in order to fit in the KWin namespace.
2 years ago
Ben Cooksley 28ed0ced17 Merge kwayland-server into kwin.
Ref T15459
2 years ago
l10n daemon script ef7d51f09e SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2 years ago
l10n daemon script 24e2883f24 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2 years ago
Xaver Hugl de73dfae35 backends/drm: rename transformation variables to be more intuitive 2 years ago
Xaver Hugl d2d0049213 backends/drm: fix some problems with rotation
source and buffer rotation / sizes were used wrongly in a few places
2 years ago
Xaver Hugl c3954eab8f Port gamma ramp code to generic color transformations
Instead of creating a gammaramp object with a fixed size, make the color
device create a color transformation object that can be used to construct
arbitrary LUTs. This is needed in order to support tiled displays well
and is useful for further color management work.
2 years ago
Xaver Hugl f6eee463ba Make lcms2 a hard dependency
When we do more color management stuff we'll need it in more places,
making it a hard requirement reduces the amount of needed ifdefs and
should make adding color management features a little simpler.
2 years ago
Marco Martin 871f8d0b91 Correctly map NaturalX/Y to scene coordinates
being naturalx something that needs to map to the actual geometry of the window which is in absolute coordinates but mapped to a view which geometry correspond to the one of one particular screen (plus the layout the thumbnail lives in has its own geometry in the scene)
2 years ago
Xaver Hugl 7aad5df7d9 backends/drm: fix rebase mistake 2 years ago
Vlad Zahorodnii 411679ea16 Implement wl_surface_offset()
See https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/123
2 years ago
Vlad Zahorodnii 219cb54d35 Add missing Display class forward declaration 2 years ago
Vlad Zahorodnii 227ab071be Run .clang-format 2 years ago
Xaver Hugl cc6b549112 backends/drm: drop QPainterLayer class
It's unused
2 years ago
Xaver Hugl c43eb6ec42 backends/drm: extract dmabuf feedback into its own class
This should reduce code duplication with overlay planes
2 years ago
Xaver Hugl 5df65e4be5 backends/drm: refactor egl/gbm render surface into its own class
This allows sharing most code with overlay plane layers
2 years ago
Xaver Hugl c30339cc82 backends/drm: move texture creation for gbm buffers into GbmBuffer 2 years ago
Vlad Zahorodnii 3d038b715f Remove duplicate AbstractClient properties
Some Toplevel properties were redefined in the AbstractClient class to
allow property mutability.

Now, since both classes were merged, those properties can be defined
only once.
2 years ago
Vlad Zahorodnii 2540e80277 Make AbstractClient::layoutDecorationRects() virtual
This fixes closed windows losing decorations.
2 years ago
Vlad Zahorodnii 328f51ce10 Remove some AbstractClient plumbing casts in input.cpp 2 years ago
Vlad Zahorodnii 507bad4843 Remove AbstractClient plumbing casts in WaylandServer 2 years ago
Vlad Zahorodnii 817656cb0b Remove AbstractClient plumbing casts in AbstractClient 2 years ago
Vlad Zahorodnii a429739f98 Remove AbstractClient plumbing casts in DbusInterface 2 years ago
Vlad Zahorodnii 348e20e20f Remove AbstractClient plumbing casts in Workspace 2 years ago
Vlad Zahorodnii 31d1d13de5 Remove AbstractClient plumbing casts in TouchInputRedirection 2 years ago
Vlad Zahorodnii 6cf490c9cc Remove AbstractClient plumbing casts in PointerInputRedirection 2 years ago
Vlad Zahorodnii f7d913af91 Remove AbstractClient plumbing casts in TabBox 2 years ago
Vlad Zahorodnii 506863f97e Remove AbstractClient plumbing casts in src/layers.cpp 2 years ago
Vlad Zahorodnii e5561b194a Remove AbstractClient plumbing casts in WindowItem 2 years ago
Vlad Zahorodnii 76a3a31f42 Remove AbstractClient plumbing casts in EffectsHandlerImpl 2 years ago