Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-07-29 | Scale fonts when Wayland updates scaling factor | Ivan Oleynikov | |
Before this commit, the code in src/wl_window.c seemed to handle the Wayland scaling [1] correctly, it was sending resize events to imv to update the buffer size accordingly. One thing it didn't update is the scaling of fonts that Pango renders on Cairo. This commit simply forwards the scaling factor (computed as [1] requests) together with updated buffer dimentions in resize event, and when the resize event is handled it calls cairo_surface_set_device_scale to notify Pango/Cairo of the scaling. For X11, I simply assume the scaline factor is always 1. This seems to be what the old code did: `grep scale src/x11_window.c` gives no matches. AFAIK, X11 does not have an established way of telling clients what scaling factor to use (and never updates it at runtime). [1]: https://wayland-book.com/surfaces-in-depth/hidpi.html | |||
2021-07-08 | Fix image skipping when reading slow filesystems | Harry Jeffery | |
Fixes #201 | |||
2021-01-09 | Wayland: Perform display roundtrip after changing scale | Harry Jeffery | |
Fixes #305 | |||
2020-12-02 | wayland: Fix initial black screen due to size of 0x0 | Scott Moreau | |
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/master/stable/xdg-shell/xdg-shell.xml#L1037 states regarding xdg_toplevel.configure "The width and height arguments specify a hint to the window". imv was using these dimensions even if they are 0x0, which is valid for the compositor to send. Clearly this is a bad hint and should be ignored. This patch does that, and fixes #293. | |||
2020-07-21 | Use private mapping for memfd with keymap. | Aleksei Bavshin | |
mmap with MAP_SHARED would fail if the compositor provides a read-only descriptor with keymap. And at least weston applies F_SEAL_WRITE to the memfd if supported by the platform. Fixes #263 | |||
2020-07-21 | wayland: Do not commit surface until configure | Kenny Levinsen | |
2020-07-21 | wayland: Use wl_display_roundtrip to wait for globals | Kenny Levinsen | |
2020-05-21 | Fix memory leak in imv_event structure | Robert Sacks | |
2019-09-02 | wl_window: Remove unused includes | Harry Jeffery | |
2019-08-25 | wl_window: Fix segfault under velox WM | Harry Jeffery | |
2019-08-25 | wl_window: Fix incorrect timer_delete | Harry Jeffery | |
2019-08-25 | Remove unused imv_window_get_keymap function | Harry Jeffery | |
2019-08-25 | wl_window: Implement key repeating | Harry Jeffery | |
2019-08-24 | imv: Move keyboard handling into window subsystem | Harry Jeffery | |
This is required as key repeating is going to need to be handled locally on Wayland, which means a slight refactor. | |||
2019-08-24 | window: Set Wayland/X11 class/app_id hints | Harry Jeffery | |
2019-08-23 | wl_window: Maintain keyboard modifiers state | Harry Jeffery | |
2019-08-18 | x11_window: Use XCB to load keymap | Harry Jeffery | |
2019-08-15 | wl_window: Check poll() return code | Harry Jeffery | |
2019-08-15 | wl/x11: Ensure event writes are always atomic | Harry Jeffery | |
2019-08-15 | wl_window: Patch up possible memory leaks | Harry Jeffery | |
2019-08-13 | Wayland: Detect keyboard layout automatically | Harry Jeffery | |
2019-07-28 | wl: Tidy up imv_window_wait_for_event | Harry Jeffery | |
2019-07-28 | wl: Implement hidpi support | Harry Jeffery | |
2019-07-16 | wl: Pass events via pipe not queue | Harry Jeffery | |
2019-07-16 | x11: Use pipe for custom event notification | Harry Jeffery | |
2019-07-15 | Wayland: Remove linux-only eventfd usage | Harry Jeffery | |
2019-07-13 | Make window system configurable | Harry Jeffery | |