←back to thread

Ancient X11 scaling technology

(flak.tedunangst.com)
283 points todsacerdoti | 1 comments | | HN request time: 0.311s | source
Show context
amiga386 ◴[] No.44371936[source]
It's not "can you provide the screen DPI to a window?" people bemoan, it's "can you draw one window across two screens with differing DPIs, transparent to the application?"
replies(3): >>44373475 #>>44374976 #>>44376314 #
AlienRobot ◴[] No.44376314[source]
I'm struggling to imagine why would anyone ever want to do that. It's not even an edge case at this point, it's over the edge.
replies(2): >>44376655 #>>44377603 #
rbanffy ◴[] No.44376655[source]
It happens. You might push a window aside so that it's partially on a second screen and still see activity on the second screen. It should be the expected behavior.
replies(1): >>44378047 #
AlienRobot ◴[] No.44378047[source]
I'm not saying it doesn't happen. Of course it will happen. I'm just saying it isn't something that needs to be handled perfectly, specially when handling it perfectly requires immense design changes at a fundamental level.

Why can't you just display a blurry rectangle until the mouse cursor goes to the other screen and then you switch the primary resolution from one screen to the other?

I feel like trying to be extremely clever to handle this particular problem would lead to a solution that handles far more common situations much worse for everybody...

replies(1): >>44378180 #
1. rbanffy ◴[] No.44378180[source]
> Why can't you just display a blurry rectangle until the mouse cursor goes to the other screen and then you switch the primary resolution from one screen to the other?

In that case, the approach taken in macOS is nicer - it just hides the half of the window where the pointer wasn't when the window was dragged. While dragging it does a resample of the bitmap to the screen where that part is shown.