x11: Don't initialize X11Client's geometries to 0,0 100x100
It is actually okay to start with an empty frame geometry because manage() will compute the frame geometry from the client's window size.
This commit is contained in:
parent
e5799a2131
commit
03445424e9
2 changed files with 1 additions and 7 deletions
|
@ -142,12 +142,6 @@ X11Client::X11Client()
|
|||
|
||||
max_mode = MaximizeRestore;
|
||||
|
||||
//Client to workspace connections require that each
|
||||
//client constructed be connected to the workspace wrapper
|
||||
|
||||
m_frameGeometry = QRect(0, 0, 100, 100); // So that decorations don't start with size being (0,0)
|
||||
m_clientGeometry = QRect(0, 0, 100, 100);
|
||||
|
||||
connect(clientMachine(), &ClientMachine::localhostChanged, this, &X11Client::updateCaption);
|
||||
connect(options, &Options::configChanged, this, &X11Client::updateMouseGrab);
|
||||
connect(options, &Options::condensedTitleChanged, this, &X11Client::updateCaption);
|
||||
|
|
|
@ -475,7 +475,7 @@ private:
|
|||
} m_fullscreenMode;
|
||||
|
||||
MaximizeMode max_mode;
|
||||
QRect m_bufferGeometry = QRect(0, 0, 100, 100);
|
||||
QRect m_bufferGeometry;
|
||||
xcb_colormap_t m_colormap;
|
||||
QString cap_normal, cap_iconic, cap_suffix;
|
||||
Group* in_group;
|
||||
|
|
Loading…
Reference in a new issue