Home » U++ Library support » U++ Widgets - General questions or Mixed problems » SetRect doesn't work correctly on GTK
Re: SetRect doesn't work correctly on GTK [message #52315 is a reply to message #52302] |
Thu, 05 September 2019 09:50   |
 |
mirek
Messages: 14267 Registered: November 2005
|
Ultimate Member |
|
|
First of all, even when fixed, there is no guarantee that X11 manager will move the window where you expect.
But that aside, it seems to be fixed. The issue is interesting:
gdk_window_move_resize
has x, y, width, height parameters. However, while width/height are the client area size, x, y is position of topleft corner of window caption. Not really documented anywhere AFAIK....
Mirek
|
|
|
Goto Forum:
Current Time: Sat Aug 02 10:31:00 CEST 2025
Total time taken to generate the page: 0.11018 seconds
|