Skip to content
Snippets Groups Projects
Commit ffa0ab04 authored by Fabian Homborg's avatar Fabian Homborg
Browse files

Abort resizing if minSize == maxSize

According to ewmh, this is a method to mark a client as
unresizable (though kwin may already check it).
parent 7c3ae324
No related branches found
No related tags found
No related merge requests found
......@@ -222,6 +222,9 @@ Tile.prototype.setClientGeometry = function(client) {
if (client.tiling_resize == true || this._resizing == true) {
return;
}
if (client.minSize.w == client.maxSize.w && client.minSize.h == client.maxSize.w) {
return;
}
if (this.rectangle != null) {
if (util.compareRect(this.rectangle, client.geometry) == false) {
client.tiling_resize = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment