-
-
Notifications
You must be signed in to change notification settings - Fork 54
Small window size with multiple monitors #209
Copy link
Copy link
Closed
Description
With multiple monitors the window size is too small by default, if i use two side by side the height is only half of what it should be. This is because the height is divided by the number of monitors, but of course the height is only of one in this case.
I used to patch this by removing the division of height, but i guess this does not produce the desired behavior for every setup. Also the gtk functions are deprecated. There are some monitor-defined functions since 3.22. Maybe this could be fixed with gtk3 port?
Lines 1639 to 1648 in d5283c4
| } else { | |
| GdkScreen* screen; | |
| int nmonitors; | |
| screen = gdk_screen_get_default(); | |
| nmonitors = gdk_screen_get_n_monitors(screen); | |
| width = gdk_screen_get_width(screen) * 3 / 4 / nmonitors; | |
| height = gdk_screen_get_height(screen) * 3 / 4 / nmonitors; | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels