Translations:Tutorials/Using Other Window Managers with Plasma/86/en

From KDE UserBase Wiki

-- Place floating windows. Plasma widgets provide this info

if c.floating then
   if c.size_hints.user_position then
       c.x = c.size_hints.user_position.x
       c.y = c.size_hints.user_position.y
   end
   if c.size_hints.user_size then
       c.width = c.size_hints.user_size.width
       c.height = c.size_hints.user_size.height
   end

end .. end) </nowiki>}}