diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-01-24 12:09:42 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-01-24 12:09:42 -0600 |
commit | 1c3aaa70bab8624b1549876da3e136fd06255734 (patch) | |
tree | 94f769645659fbadab610dccb94bb09e4809c697 /client.h | |
parent | facbe57fcbe74d27809eefdfe6aaac5150fbb954 (diff) | |
parent | 26d7c9689f6e7eb699f2a63c2093c2a27e411ea3 (diff) |
Merge remote-tracking branch 'upstream/main' into wlroots-next
Diffstat (limited to 'client.h')
-rw-r--r-- | client.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -339,10 +339,10 @@ client_set_size(Client *c, uint32_t width, uint32_t height) return 0; } #endif - if (width == c->surface.xdg->toplevel->current.width - && height ==c->surface.xdg->toplevel->current.height) + if ((int32_t)width == c->surface.xdg->toplevel->current.width + && (int32_t)height == c->surface.xdg->toplevel->current.height) return 0; - return wlr_xdg_toplevel_set_size(c->surface.xdg->toplevel, width, height); + return wlr_xdg_toplevel_set_size(c->surface.xdg->toplevel, (int32_t)width, (int32_t)height); } static inline void |