-
Notifications
You must be signed in to change notification settings - Fork 416
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
DPI issues in a multi-monitor setup #1509
Comments
I'm curious if there is any status-quo for this, at least with X11 wm's that do not have a built-in compositor.
|
While not perfect, It would still be a significant improvement.
If so, I would go for the solution of dimensions specified in points.
Scaling the content of the window is the app job, though. Anything using GTK or Qt, even Tk, already does this, the WM only needs to resize the window appropriately.
I'm not sure what you mean. Are you talking about the |
yeah. using wmutils/xdotool/etc will use actual X coordinates, and bspwm would use the translated ones for moving and resizing.
oh, ok. i have not seen this in action myself, so must be a configuration i have missed. that would make it worth it. are there examples of other x11 wm's that implement this? |
I don't know about pure WMs, but KDE or Gnome should handle dragging windows across displays with different DPIs. |
i scripted up a demo to test this out - but, not sure i have the best hardware to test it out...
can you provide any hints on this? all that i have seen is that toolkit scaling is whole "desktop" and doesn't support dynamic scaling on x11. |
I tested this recently with a Qt 5 application, a typical 1920x1080 96 DPI display and a 4K 200dpi one. |
DPI is an area where bspwm could see some improvements, particularly when using a multi-monitor setup with different DPI values. For example:
border_width
andwindow_gap
are globals and given in pixels. This means they can result in widely different physical sizes when using a typical 96dpi along side and a high DPI (say 200dpi) monitor. To achieve consistency, I can think of two options:similarly,
bspc node
commands--resize
,--move
are in pixels, so they are inconsistent across different monitors.when dragging or sending a window to another monitor the physical dimensions are not preserved. the window should be scaled.
The text was updated successfully, but these errors were encountered: