Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull KWin patches (2024-05-23 - 2024-09-14) #28

Merged
merged 17 commits into from
Oct 9, 2024
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
24 changes: 24 additions & 0 deletions como/input/dbus/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,29 @@
Q_PROPERTY(bool supportsOutputArea READ supportsOutputArea CONSTANT)
Q_PROPERTY(QRectF defaultOutputArea READ defaultOutputArea CONSTANT)
Q_PROPERTY(QRectF outputArea READ outputArea WRITE setOutputArea NOTIFY outputAreaChanged)
Q_PROPERTY(bool defaultMapToWorkspace READ defaultMapToWorkspace CONSTANT)
Q_PROPERTY(bool mapToWorkspace READ isMapToWorkspace WRITE setMapToWorkspace NOTIFY
mapToWorkspaceChanged)
Q_PROPERTY(QString deviceGroupId READ deviceGroupId CONSTANT)

bool defaultMapToWorkspace() const

Check warning on line 161 in como/input/dbus/device.h

View check run for this annotation

Codecov / codecov/patch

como/input/dbus/device.h#L161

Added line #L161 was not covered by tests
{
return false;

Check warning on line 163 in como/input/dbus/device.h

View check run for this annotation

Codecov / codecov/patch

como/input/dbus/device.h#L163

Added line #L163 was not covered by tests
}

bool isMapToWorkspace() const

Check warning on line 166 in como/input/dbus/device.h

View check run for this annotation

Codecov / codecov/patch

como/input/dbus/device.h#L166

Added line #L166 was not covered by tests
{
return false;

Check warning on line 168 in como/input/dbus/device.h

View check run for this annotation

Codecov / codecov/patch

como/input/dbus/device.h#L168

Added line #L168 was not covered by tests
}

void setMapToWorkspace(bool /*mapToWorkspace*/)

Check warning on line 171 in como/input/dbus/device.h

View check run for this annotation

Codecov / codecov/patch

como/input/dbus/device.h#L171

Added line #L171 was not covered by tests
{
}

QString deviceGroupId() const

Check warning on line 175 in como/input/dbus/device.h

View check run for this annotation

Codecov / codecov/patch

como/input/dbus/device.h#L175

Added line #L175 was not covered by tests
{
return {};

Check warning on line 177 in como/input/dbus/device.h

View check run for this annotation

Codecov / codecov/patch

como/input/dbus/device.h#L177

Added line #L177 was not covered by tests
}

public:
explicit device(input::control::keyboard* control, QObject* parent);
Expand Down Expand Up @@ -298,6 +321,7 @@
void scrollFactorChanged();
void clickMethodChanged();
void outputAreaChanged();
void mapToWorkspaceChanged();
};

}
Expand Down
Loading