-
-
Notifications
You must be signed in to change notification settings - Fork 731
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
Issue with Window Placement for Wine Applications on Dual Monitor Setup #2350
Comments
This also happens with Ableton's Live dialogs. In general, Xwayland and especially wine window management sucks under Hyprland. If you really need to use wine I would suggest you enable |
Do any of the issues resolve themselves if you use xrandr to set a primary X11 display? (xrandr --output DP-1 --primary as an example) |
Yes that helps. (xrandr --output eDP-1 --primary) |
It's not a Hyprland bug, I had the same problem on Sway. The xrandr trick is the way to go to handle XWayland as long as Wine doesn't support Wayland. But it's quickly on the way 👍 |
For me this is only a problem in Hyprland, Sway works just fine. |
Has anyone figured out how to make this tile in like other applications? |
Same / similar to my problem #2856 (comment) |
Having the same issue with allegro free physical viewer, but not with dual monitor setup, as it happens on just my laptop screen and no other monitors connected. I can recover by changing focus to the out of screen wine window by using my keybind for "movefocus u" and then togglefloating with another keybind, after which it will tile normally, and behaves normally. |
I'm having a probably related issue: Using FL Studio under Wine, the windows aren't aligned with the cursor position. Unless FL is full screen, or aligned with the top of the monitor, it is difficult to align the cursor with any fields in the window. |
Steps to reproduce:
Set up a dual monitor configuration in Hyprland with the following settings:
I have a laptop monitor below, and a bigger monitor above. (Notice the location 860x1440)
I have experimented with the following window rules for
terminal.exe
running through Wine:terminal.exe is the MetaTrader4 application, used for forex trading.
Disconnect the external monitor.
Start
terminal.exe
through Wine.Expected outcome:
The
terminal.exe
window should open in the center of the screen and stay there, as specified by thecenter
window rule.Noted outcome:
The
terminal.exe
window initially opens in the center of the screen, but then suddenly moves to position 0,19. The output fromhyprctl clients
:Additional information:
If i change monitor setting from:
monitor=eDP-1,1920x1080@60,860x1440,1
to:
monitor=eDP-1,1920x1080@60,0x0,1
Then i will see the window that is located at 0,19, and i can move it around etc as normal.
Suspect the issue here is in the interaction between hyprland and some wine setting.
My OS is Garuda Sway edition (Arch based)
The text was updated successfully, but these errors were encountered: