Now the border, title bars are showed on Linux because the mouse "move" position function doesnt work on Wayland properly yet.
parent
6250541e22
commit
a91cc436bd
|
|
@ -20,9 +20,6 @@
|
|||
$(document).ready(function(){
|
||||
/*addData("name", "Balazs", true);
|
||||
getData("name");*/
|
||||
window.sight.system(function(result) {
|
||||
alert(result)
|
||||
});
|
||||
});
|
||||
|
||||
function message(label, data) {
|
||||
|
|
|
|||
1
sight.py
1
sight.py
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue