mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-22 06:35:57 +01:00
fix share picker region H coord
This commit is contained in:
parent
74128d2a97
commit
85f49f4d6c
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ int main(int argc, char* argv[]) {
|
||||||
button->resize(321, 41);
|
button->resize(321, 41);
|
||||||
QObject::connect(button, &QPushButton::clicked, [=]() {
|
QObject::connect(button, &QPushButton::clicked, [=]() {
|
||||||
auto REGION = execAndGet("slurp -f \"%o %x %y %w %h\"");
|
auto REGION = execAndGet("slurp -f \"%o %x %y %w %h\"");
|
||||||
REGION = REGION.substr(0, REGION.length() - 1);
|
REGION = REGION.substr(0, REGION.length());
|
||||||
|
|
||||||
// now, get the screen
|
// now, get the screen
|
||||||
QScreen* pScreen = nullptr;
|
QScreen* pScreen = nullptr;
|
||||||
|
|
Loading…
Reference in a new issue