mirror of
https://github.com/jjsullivan5196/wvkbd.git
synced 2025-07-12 22:14:32 +02:00
Support fractional-scale-v1
This make text less blurry. It continues to works without. before: https://dav.missbanal.net/00bd0fd5-e22f-4a60-87f8-ce6f400d33c9.png after: https://dav.missbanal.net/a3f02f1e-d6ce-4378-a141-e2093ba87eed.png Signed-off-by: Willow Barraco <contact@willowbarraco.fr> Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
committed by
Maarten van Gompel
parent
50296daa46
commit
730e97038c
5
drw.h
5
drw.h
@ -9,7 +9,8 @@ struct drw {
|
||||
PangoFontDescription *font_description;
|
||||
};
|
||||
struct drwsurf {
|
||||
uint32_t width, height, scale, size;
|
||||
uint32_t width, height, size;
|
||||
double scale;
|
||||
|
||||
struct drw *ctx;
|
||||
struct wl_surface *surf;
|
||||
@ -22,7 +23,7 @@ struct drwsurf {
|
||||
};
|
||||
struct kbd;
|
||||
|
||||
void drwsurf_resize(struct drwsurf *ds, uint32_t w, uint32_t h, uint32_t s);
|
||||
void drwsurf_resize(struct drwsurf *ds, uint32_t w, uint32_t h, double s);
|
||||
void drwsurf_flip(struct drwsurf *ds);
|
||||
|
||||
typedef union {
|
||||
|
Reference in New Issue
Block a user