25302 Commits (0b21c53d4463bab482c1dfbc915c1fd48b3a98d2)
 

Author SHA1 Message Date
Xaver Hugl 43b9dc7eee libkwineffects/kwinglutils: use std::bitset instead of a custom implementation 1 year ago
Xaver Hugl e5f9e54944 libkwineffects/kwinglutils: simplify index buffer implementation 1 year ago
l10n daemon script c59d0aafa2 GIT_SILENT Sync po/docbooks with svn 1 year ago
Kai Uwe Broulik 23bbc75b12 plugins/{blur,contrast}: Take into account window opacity
Fixes excessive blur/contrast behind a semi-transparent window.
1 year ago
Aleix Pol Gonzalez 3d2a3de07e wayland: Release all keys upon keyboard leaving
Biggest most annoying symptom was that the window was rendered unusable
after alt+tab, but any other combination is also problematic.
1 year ago
Mikhail Vinogradov 82be16df29 Try to refresh textInput active focus status 1 year ago
Kai Uwe Broulik 861105248d screenedge: Don't trigger when a mouse button is pressed
Avoids accidentally triggering an edge when dragging a scroll bar or
text selection all the way to the screen edge.

Special case for moving windows, as you want to be able to drag
a window to an edge to switch virtual desktops.
1 year ago
Vlad Zahorodnii 8470ee03dc Drop Compositor::scheduleRepaint()
Its the only user is the standalone X11 backend, but it can use
RenderLoop.
1 year ago
Vlad Zahorodnii 79cb5fc6e2 backends/x11: Port away from Compositor::scheduleRepaint()
Compositor::scheduleRepaint() needs some knowledge of the composited
layers, which would be great to get rid of to split wayland and x11
compositing bits.
1 year ago
l10n daemon script b88e84b120 GIT_SILENT Sync po/docbooks with svn 1 year ago
l10n daemon script 4fe176cb94 GIT_SILENT Sync po/docbooks with svn 1 year ago
Alexander Lohnau 91f027be51 Specify KPackageStructure instead of KPackageType in knsrc files
The latter is removed in KF6

CCBUG: 474026
1 year ago
Kai Uwe Broulik dadd7bb545 debug_console: Support KWin::Window* property type
Display the window caption and class name (safe for the icon) like is done
with the windows themselves.

Eases debugging properties, such as "transientFor".
1 year ago
Nicolas Fella 64cc884029 Use keyword signature for target_link_libraries call 1 year ago
Vlad Zahorodnii b78258e464 backends/drm: Guard against null crtc in DrmPipeline::updateCursor
The null check was lost in fe1d4ffbc5.

BUG: 473963
1 year ago
Nate Graham 07773512c8 tabbox/switchers/thumbnail_grid: remove unnecessary second Math.round()
Fixup for 996730d3
1 year ago
Nate Graham 996730d310 tabbox/switchers/thumbnail_grid: refine icon positioning
This way it won't overlap the label when using a font with unusual
metrics.

BUG: 473690
1 year ago
Xaver Hugl 1d1981b0f4 backends/drm: make buffer age environment variable work again
It can be very useful for debugging
1 year ago
Xaver Hugl 1c18d11206 backends/drm: replace drmModeAtomicCommit with a custom implementation
drmModeAtomicCommit does additional allocations and sorting that KWin doesn't
use or need
1 year ago
Vlad Zahorodnii dee8a3b3a7 Clear decoration focus when window closes
If the window closes, we need to reset the focused decoration object.

BUG: 473244
1 year ago
Kai Uwe Broulik 5572e390c4 XdgToplevelWindow: Consider app responsive only if sent ping was received
> Pass the serial specified in the event back to the compositor by sending
> a "pong" request back with the specified serial.
1 year ago
l10n daemon script ef23d01502 GIT_SILENT Sync po/docbooks with svn 1 year ago
Kai Uwe Broulik f9e390c716 window: Replay move window action if window isn't movable
Otherwise, when using Alt as modifier for moving windows, the tabbox window
cannot be clicked because Alt is held down during Alt+Tab, which would try
to initiate a window move but the window isn't actually movable, so ends up
doing nothing.

It also allows to interact with Plasma popups, which are also immovable,
while the modified key is pressed.
1 year ago
David Edmundson 10ed34bc9d Avoid painting unchanged scene layers
Currently when we move the mouse the one render loop triggers a repaint.
When the cursor layer needs a new update we end up in the compositor
repainting the main content.

Even though painting should mostly no-op it still goes through all
existing items and effects to collect damage, still potentially making
the GL context current which could stall. A waste when we know we
haven't got anything to do. It's enough to cause noticable mouse lag on
some hardware.

Co-authored-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
1 year ago
Xaver Hugl fe1d4ffbc5 move cursor rendering from the backends to the compositor 1 year ago
l10n daemon script 8d86f1eb54 GIT_SILENT Sync po/docbooks with svn 1 year ago
Alexander Lohnau 40be656eed Adjust to changed signature of kcoreaddons_target_static_plugins
Depends on https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/360
1 year ago
l10n daemon script ed8437ed0d GIT_SILENT Sync po/docbooks with svn 1 year ago
Vlad Zahorodnii 43669cebda backends/x11: Destroy GLRenderTimeQuery while ctx is valid
BUG: 473707
1 year ago
Vlad Zahorodnii d25574e7c6 Merge Window::userCanSetFullscreen() with Window::isFullscreenable() 1 year ago
Vlad Zahorodnii 346d4413a1 Remove boolean trap in Window::setFullScreen()
In most cases, it doesn't matter because a window is made fullscreen by
user. In a few places, the user arg is incorrectly set to false.
1 year ago
l10n daemon script b41834f1aa GIT_SILENT Sync po/docbooks with svn 1 year ago
Xaver Hugl fb7b5ab035 backends/drm: fix underscan property name 1 year ago
Vlad Zahorodnii 75275bbc8f core: Move dmaBufAttributesForBo() to gbmgraphicsbufferallocator.cpp 1 year ago
Vlad Zahorodnii dabf3038f0 core: Drop dmabuf texture creation api in OutputBackend
It never belonged in the OutputBackend, but we also didn't have a better
place when the relevant code had been added.

With the introduction of graphics buffer allocators, it's no longer the
case.
1 year ago
Mike Noe 2c809305b0 plugins/private: Update to ecm qml plugin tooling 1 year ago
Mike Noe 010a8a1e13 scripting: Add localized context to the shared QML engine 1 year ago
Mike Noe 90a71553c3 plugins/private: Remove duplicate import/unneed include 1 year ago
Mike Noe 95cbed08b8 docs: Update docs for effects 1 year ago
Xaver Hugl a800b54a13 backends/drm: fix legacy modesets
There's no pending frame on modesets with legacy, so calling pageFlipped crashes KWin

BUG: 473664
1 year ago
Vlad Zahorodnii 2814030fef Drop {client,window}DemandsAttentionChanged
There are no its users. Also same can be achieved by listening to
Window::demandsAttentionChanged signal.
1 year ago
Vlad Zahorodnii ceac574a68 scripting: Rename Workspace.clientList 1 year ago
Vlad Zahorodnii 52604c5d73 scripting: Rename Workspace.{clientAdded,clientRemoved} signals 1 year ago
Vlad Zahorodnii b39ca36d21 scripting: Rename Workspace.activeClient to activeWindow
Rename activeClient to activeWindow to make the property name more
accurate.
1 year ago
Xaver Hugl 44937136cd backends: record GPU render time
This should make it much less likely for KWin to miss frames
1 year ago
Xaver Hugl 02b996cf9c platformsupport/scenes/opengl: add opengl render query class 1 year ago
Vlad Zahorodnii 417eeaf44b ci: Specify runtime dependencies in .kde-ci.yml 1 year ago
l10n daemon script 28f5da65cb GIT_SILENT Sync po/docbooks with svn 1 year ago
Vladimir Zolotopupov 361e2c3eba wayland: Fix high-resolution scroll wheel discrete step calculation
Some wheels might send fewer or more than 120 fractions per step.
In order to always register a discrete step, we count these as a step
already at half(120/2) of one mouse wheel step in stepping mode.
The timer resets the initial value of the step because the mouse
can switch between free spin and stepping mode.
When transitioning from free spin to stepping mode,
the mouse calibrates its wheel position to the starting point
and generates some fractions.
As a result, our starting position can appear far from the zero point,
potentially causing us to count two(or zero) steps instead of one.
Additionally, the compositor might start when the mouse is in
free spin mode(or the mouse could be connected in free spin mode),
leading to the same issue.
https://gitlab.freedesktop.org/libinput/libinput/-/issues/814
1 year ago
Vladimir Zolotopupov 792ff84419 wayland: Refactor the high-resolution scroll wheel step accumulator 1 year ago