kernel/gui: client_box.height can become -1 when resizing the window #249

Open
opened 2025-05-21 18:04:04 +02:00 by b00bl1k · 0 comments
Contributor

It’s possible to resize a window in such a way that a system call returning the window size sets client_box.height to a negative value (-1).
The screenshots show an example program that displays the client area size in the window title:

изображение.png изображение.png

Discussion in the telegram group: https://t.me/kolibri_os/135626

It’s possible to resize a window in such a way that a system call returning the window size sets client_box.height to a negative value (-1). The screenshots show an example program that displays the client area size in the window title: <img width="319" alt="изображение.png" src="attachments/2d008dbf-f960-4972-9842-5bd962ea2972"> <img width="321" alt="изображение.png" src="attachments/f0e68fb3-f312-4827-804c-76b46961de36"> Discussion in the telegram group: https://t.me/kolibri_os/135626
rgimad added the
Category/Kernel
Kind
Bug
labels 2025-05-31 14:04:25 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#249
No description provided.