Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
name: Checks

on:
pull_request:
push:
branches:
- "**"
Expand Down Expand Up @@ -33,3 +34,60 @@ jobs:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 #v6.0.3
- name: REUSE Compliance Check
uses: fsfe/reuse-action@676e2d560c9a403aa252096d99fcab3e1132b0f5 #v6.0.0

compile:
name: Compile
runs-on: ${{ matrix.architecture }}
strategy:
fail-fast: false
matrix:
target:
- distro: ubuntu
version: "25.04"
- distro: ubuntu
version: "25.10"
- distro: ubuntu
version: "26.04"
- distro: fedora
version: "40"
- distro: fedora
version: "41"
- distro: fedora
version: "42"
- distro: fedora
version: "43"
- distro: fedora
version: "44"
- distro: fedora
version: "45"
architecture: [ubuntu-26.04, ubuntu-26.04-arm]
container:
image: ghcr.io/kando-menu/kwin-dev-containers-${{ matrix.target.distro }}-${{ matrix.target.version }}:latest
steps:
- name: Print KWin Version
id: kwin_version
shell: bash
run: |
VERSION="unknown"

# Ubuntu / Debian containers
if command -v dpkg-query >/dev/null 2>&1; then
VERSION="$(dpkg-query -W -f='${Version}' kwin-dev 2>/dev/null || echo unknown)"
fi

# Fedora / RPM containers
if [[ "$VERSION" == "unknown" ]] && command -v rpm >/dev/null 2>&1; then
VERSION="$(rpm -q --qf '%{VERSION}' kwin-devel 2>/dev/null || echo unknown)"
fi

VERSION="${VERSION%%-*}"
VERSION="${VERSION#*:}"
VERSION="${VERSION//[^0-9A-Za-z._-]/_}"

echo "KWin Version: $VERSION"
- name: Checkout Repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 #v6.0.3
- name: Compile
run: |
cmake -S . -B build
cmake --build build --config Release
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
version: "43"
- distro: fedora
version: "44"
- distro: fedora
version: "45"
architecture: [ubuntu-26.04, ubuntu-26.04-arm]
container:
image: ghcr.io/kando-menu/kwin-dev-containers-${{ matrix.target.distro }}-${{ matrix.target.version }}:latest
Expand Down
9 changes: 9 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ Security - in case of vulnerabilities.

This changelog uses [semantic versioning](https://semver.org) and follows the rules of [Keep a Changelog](http://keepachangelog.com/).

## [KWin Integration 0.3.0](https://github.com/kando-menu/kwin-integration/releases/tag/v0.3.0)

**Release Date:** 2026-07-15

### :tada: Added

- Support for KWin 6.7. Thanks to [@Henry-Denny](https://github.com/Henry-Denny) for this contribution.
- Pre-built binaries for the current version of the upcoming Fedora 45.

## [KWin Integration 0.2.0](https://github.com/kando-menu/kwin-integration/releases/tag/v0.2.0)

**Release Date:** 2026-06-17
Expand Down
5 changes: 5 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,9 @@ elseif(DEFINED KWin_VERSION AND KWin_VERSION VERSION_GREATER_EQUAL "6.3.0")
KANDO_KWIN_HAS_TABLET_TOOL_AXIS_PROXIMITY_TABLET_EVENT)
else()
target_compile_definitions(kandointegration PRIVATE KANDO_KWIN_HAS_TABLET_TOOL_EVENT)
endif()

# KWin 6.7 changed EffectHandler::clientArea() and removed the screen argument.
if(DEFINED KWin_VERSION AND KWin_VERSION VERSION_GREATER_EQUAL "6.7.0")
target_compile_definitions(kandointegration PRIVATE KANDO_KWIN_HAS_CLIENT_AREA_TWO_ARGS)
endif()
3 changes: 1 addition & 2 deletions src/plugin/KandoKWinIntegrationPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#include "KandoKWinIntegrationPlugin.h"

#include <config-kwin.h>
#include <effect/effecthandler.h>
#include <effect/effectwindow.h>

Expand Down Expand Up @@ -57,7 +56,7 @@ QVariantMap KandoKWinIntegrationPlugin::getWMInfo() const {
const auto windowName = activeWindow ? activeWindow->caption() : QString();
const auto appName = activeWindow ? activeWindow->windowClass() : QString();

#if (PROJECT_VERSION_MAJOR >= 6) && (PROJECT_VERSION_MINOR >= 7)
#if defined(KANDO_KWIN_HAS_CLIENT_AREA_TWO_ARGS)
QRectF workArea = KWin::effects->clientArea(KWin::MaximizeArea, pointerPos.toPoint());
#else
QRectF workArea =
Expand Down