mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[PR #172] [MERGED] x11: Wrap platform functions in an interface that can be mocked later #1572
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#1572
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/debauchee/barrier/pull/172
Author: @mokibit
Created: 11/7/2018
Status: ✅ Merged
Merged: 11/13/2018
Merged by: @AdrianKoshka
Base:
master← Head:tests📝 Commits (5)
3a87341x11: Wrap platform functions in an interface that can be mocked later88a634bx11: Wrap platform functions in XWindowsScreenSaver class7539852x11: Wrap platform functions in XWindowsClipboard classa6265c8x11: Wrap platform functions in XWindowsKeyState class2675038x11: Wrap platform functions in XWindowsEventQueueBuffer class📊 Changes
15 files changed (+1371 additions, -282 deletions)
View changed files
📝
src/lib/barrier/ClientApp.cpp(+1 -0)📝
src/lib/barrier/ServerApp.cpp(+1 -0)➕
src/lib/platform/IXWindowsImpl.h(+234 -0)📝
src/lib/platform/XWindowsClipboard.cpp(+42 -36)📝
src/lib/platform/XWindowsClipboard.h(+4 -1)📝
src/lib/platform/XWindowsEventQueueBuffer.cpp(+7 -6)📝
src/lib/platform/XWindowsEventQueueBuffer.h(+4 -1)➕
src/lib/platform/XWindowsImpl.cpp(+646 -0)➕
src/lib/platform/XWindowsImpl.h(+196 -0)📝
src/lib/platform/XWindowsKeyState.cpp(+47 -37)📝
src/lib/platform/XWindowsKeyState.h(+7 -3)📝
src/lib/platform/XWindowsScreen.cpp(+124 -152)📝
src/lib/platform/XWindowsScreen.h(+4 -1)📝
src/lib/platform/XWindowsScreenSaver.cpp(+49 -44)📝
src/lib/platform/XWindowsScreenSaver.h(+5 -1)📄 Description
First PR out of many for #76. Discussed and coordinated with @p12tic.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.