Skip to content

Commit

Permalink
#473: workaround QT apps in Wine menus appearing below the associated…
Browse files Browse the repository at this point in the history
… window

* place override-redirect windows above regular windows in stacking
* don't place above popup, menu or tooltips, incase a non-QT+Wine override-redirect window decides to open any of these

git-svn-id: https://xpra.org/svn/Xpra/trunk@9138 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
joshiggins committed Apr 23, 2015
1 parent 6887349 commit bd71892
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/html5/include/xpra_window.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ function XpraWindow(client, canvas_state, wid, x, y, w, h, metadata, override_re
jQuery('#maximize' + String(wid)).click(function() {
me.toggle_maximized();
});
} else {
jQuery(this.div).addClass("override-redirect");
}
}

Expand Down
3 changes: 3 additions & 0 deletions src/html5/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
padding: 0;
overflow: hidden;
}
.override-redirect {
z-index: 15000;
}
.window {
border: 1px;
position: absolute;
Expand Down

0 comments on commit bd71892

Please sign in to comment.