Bugfix: Don’t send fake configure notify with not yet rendered rect for floating windows
This fixes a bug where opening the Xpdf find dialog when Xpdf is in fullscreen mode would crash Xpdf due to a zero-width and zero-height ConfigureNotify rect.
This commit is contained in:
@ -192,6 +192,8 @@ void fake_absolute_configure_notify(Con *con) {
|
||||
absolute.width = con->window_rect.width;
|
||||
absolute.height = con->window_rect.height;
|
||||
|
||||
DLOG("fake rect = (%d, %d, %d, %d)\n", absolute.x, absolute.y, absolute.width, absolute.height);
|
||||
|
||||
fake_configure_notify(conn, absolute, con->window->id);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user