-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Hello I am using your extension module for Awesome window manager with a dual screen setup. When i was creating the desktop widgets I found out that the widgets would appear on my left most screen (not primary screen) and slightly higher then they should be.
A bit of digging later and I have found that when you are getting the positions of widgets with workarea you are not adding the x or y position which causes them to appear on the wrong screen.
to fix it on my end I have added:
if dir == "width" then
pos = pos + workarea.x
elseif dir == "height" then
pos = pos + workarea.y
endjust before you return the pos in the local function redflat.util.desktop.wposition .
I hope this helps.
Metadata
Metadata
Assignees
Labels
No labels