Only account for WM frame extents in tlw size if WM supports _NET_FRAME_EXTENTS. Extents cache no longer needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -347,10 +347,6 @@ bool wxMiniFrame::Create( wxWindow *parent, wxWindowID id, const wxString &title
|
||||
if (style & wxRESIZE_BORDER)
|
||||
m_gdkFunc = GDK_FUNC_RESIZE;
|
||||
|
||||
// need to reset default size after changing m_gdkDecor
|
||||
gtk_window_set_default_size(GTK_WINDOW(m_widget), m_width, m_height);
|
||||
m_decorSize.Set(0, 0);
|
||||
|
||||
// don't allow sizing smaller than decorations
|
||||
GdkGeometry geom;
|
||||
geom.min_width = 2 * m_miniEdge;
|
||||
|
Reference in New Issue
Block a user