gtk: Consider window frame in SetSize.
This commit is contained in:
parent
bf6fb3872e
commit
a3e1fa3350
2 changed files with 16 additions and 2 deletions
|
@ -125,6 +125,11 @@ class NativeWindowGtk : public NativeWindow,
|
|||
// bar or window border. This is to work around a compiz bug.
|
||||
bool suppress_window_raise_;
|
||||
|
||||
// True if the window has been visible for once, on Linux the window frame would
|
||||
// only be considered as part of the window untill the window has been shown, so
|
||||
// we need it to correctly set the window size.
|
||||
bool has_ever_been_shown_;
|
||||
|
||||
// The current window cursor. We set it to a resize cursor when over the
|
||||
// custom frame border. We set it to NULL if we want the default cursor.
|
||||
GdkCursor* frame_cursor_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue