https://bugs.kde.org/show_bug.cgi?id=369131
--- Comment #8 from Thomas Lübking <thomas.luebk...@gmail.com> --- > 1366x768+1920+432 ^^^^^ I suppose this to be the troublemaker. The window asks to be bigger than your screen (no hackish attempt to be maximized) and your screen geometry can support this, so you don't need/want to shrink the window. Try instead diff --git a/manage.cpp b/manage.cpp index 4198e60..3cbfb9e 100644 --- a/manage.cpp +++ b/manage.cpp @@ -433,14 +433,14 @@ bool Client::manage(xcb_window_t w, bool isMapped) // i intended a second check on cs < area.size() ("the managed client ("minus border") is smaller // than the workspace") but gtk / gimp seems to store it's size including the decoration, // thus a former maximized window wil become non-maximized - bool keepInFsArea = false; + bool keepInArea = false; if (width() < fsa.width() && (cs.width() > ss.width()+1)) { pseudo_max &= ~MaximizeHorizontal; - keepInFsArea = true; + keepInArea = true; } if (height() < fsa.height() && (cs.height() > ss.height()+1)) { pseudo_max &= ~MaximizeVertical; - keepInFsArea = true; + keepInArea = true; } if (pseudo_max != MaximizeRestore) { @@ -457,8 +457,8 @@ bool Client::manage(xcb_window_t w, bool isMapped) geom_restore.setWidth(width()); } } - if (keepInFsArea) - keepInArea(fsa, partial_keep_in_area); + if (keepInArea) + keepInArea(area, true); } } -- You are receiving this mail because: You are watching all bug changes.