awesome/tests/examples/awful/placement/next_to_mouse.lua

11 lines
393 B
Lua
Raw Normal View History

screen[1]._resize {width = 128, height = 96} --DOC_HIDE
local awful = {placement = require("awful.placement")} --DOC_HIDE
client.gen_fake {x = 10, y = 10, width=40, height=30} --DOC_HIDE
mouse.coords {x= 50, y=50} --DOC_HIDE
mouse.push_history() --DOC_HIDE
awful.placement.next_to_mouse(client.focus)
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80