This website requires JavaScript.
Explore
Help
Sign In
awesomewm-mirrors
/
awesome
mirror of
https://github.com/awesomeWM/awesome.git
Watch
1
Star
0
Fork
You've already forked awesome
0
Code
Issues
Projects
Releases
Wiki
Activity
ab0b4dc8ac
awesome
/
tests
/
examples
/
awful
/
placement
/
no_offscreen.output.txt
3 lines
85 B
Plaintext
Raw
Normal View
History
Unescape
Escape
example tests: Save expected test output in a txt file This commit adds a .txt file next to each example test that generates a text output. This text file contains the expected output and it is an error if the actual output does not match the expected output. This means that we no longer have to run the example tests before we can expand all the @foo@ expressions that occur. While touching this, I also fixed some typos and unexpected newlines in the tests' output. Signed-off-by: Uli Schlachter <psychon@znc.in>
2018-07-25 16:03:26 +02:00
Before: x=-30, y=-30, width=100, height=100
awful.placement: Fix no_offscreen when composed with other functions The awful.placement.no_offscreen function did not work properly when composed with other placement functions; in particular, the default configuration (awful.placement.no_overlap+awful.placement.no_offscreen) was broken. The compose function sets args.pretend=true and puts the result of the previous placement function into args.override_geometry before calling the next placement function, but no_offscreen did not use args.override_geometry, therefore the result of the previous placement function was discarded. All other placement functions use `geometry_common(c, args)` to get the current client geometry; `area_common(c)` should be used only when getting geometry of other clients. This change also fixes the problem with margin handling (adding margins should not affect the window size, only the window position should change); the test output which was adjusted in commit 0275d3537d05b66b9f is adjusted again to account for this change. Signed-off-by: Sergey Vlasov <sigprof@gmail.com>
2018-09-12 09:30:17 +02:00
After: x=50, y=50, width=100, height=100