Now the border, title bars are showed on Linux because the mouse "move" position function doesnt work on Wayland properly yet.

main
Balazs Birtalan 2023-10-27 15:03:00 +01:00
parent 6250541e22
commit a91cc436bd
2 changed files with 3 additions and 5 deletions

View File

@ -20,9 +20,6 @@
$(document).ready(function(){
/*addData("name", "Balazs", true);
getData("name");*/
window.sight.system(function(result) {
alert(result)
});
});
function message(label, data) {

View File

@ -17,6 +17,7 @@ class Sight(QWidget):
base.data["active_sight"] = self.id
self.title = id
if base.data["platform"]["system"] != "Linux":
self.setWindowFlags(Qt.WindowType(0x00000800)) # remove the os windows frame (borders, close and other buttons
self.setAttribute(Qt.WidgetAttribute(0x78)) # (int: 120)) # Make Transparent