Find a file
Uli Schlachter e1bad41fc8 Always emit property::floating when needed
There are some cases where a client's floating state "silently" changes.
For example, a fullscreen client will be considered floating. However,
even though c.floating changes its value in this case, we did not emit
the property::floating signal.

Fix this by explicitly tracking the "implicitly floating" state. When
some property that influences this "implicitly floating" state changes,
we update it and if a client which was not explicitly assigned a
floating state observes a change in this value, property::floating is
emitted.

This was tested by running a terminal and two xeyes in a tag with a
tiling layout where awful.ewmh was patched so that clients do not change
their geometry when fullscreening or maximizing. It was observable that
after this patch e.g. the titlebar and the tasklist update to show the
floating state of the client which became implicitly floating due to
being maximized.

Fixes: https://github.com/awesomeWM/awesome/issues/1662
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-05-11 16:22:16 +02:00
build-utils Remove obsolete entries from check_for_invalid_requires.lua (#1673) 2017-03-26 15:20:18 -04:00
common xembed: Stop using XCB_CURRENT_TIME 2017-04-15 12:04:57 +02:00
docs doc: FAQ: fix/improve size_hints_honor section (#1740) 2017-04-19 10:03:47 +02:00
icons
lib Always emit property::floating when needed 2017-05-11 16:22:16 +02:00
manpages Add missing $ for XDG_CONFIG_DIRS in manpages (#1311) 2016-12-27 16:29:45 +01:00
objects Drop our use of iconv (#1772) 2017-05-07 17:59:53 +02:00
spec tests: Test imagebox:set_image(nil) 2017-03-26 17:51:11 +02:00
tests Always emit property::floating when needed 2017-05-11 16:22:16 +02:00
themes Move filesystem functions out of awful.util into new gears.filesystem 2017-03-15 13:46:33 -05:00
utils awesome-client: let env find bash (#1544) 2017-02-08 22:33:21 +01:00
.editorconfig Add an EditorConfig file 2015-12-12 17:48:42 +01:00
.gitignore
.luacheckrc Fix Luacheck 0.19.0 release Travis breaks 2017-03-03 16:41:12 -06:00
.luacov luacov: include everything 2017-01-08 20:34:13 +01:00
.travis.yml Also track coverage information for C code 2017-05-05 01:03:01 +02:00
awesome-version-internal.h Add a vim modeline to all C source 2015-12-12 17:42:16 +01:00
awesome.c Remove most uses of XCB_CURRENT_TIME 2017-04-15 14:50:44 +02:00
awesome.desktop Remove deprecated Encoding key from awesome.desktop (#1394) 2017-01-13 22:21:50 +01:00
awesome.h
awesomeConfig.cmake Drop our use of iconv (#1772) 2017-05-07 17:59:53 +02:00
awesomerc.lua Fix some deprecated calls in code and docs 2017-03-30 21:26:50 -05:00
banning.c Fix recursive enterleave ignore (#1747) 2017-04-21 18:53:25 +02:00
banning.h Clean up header includes 2014-03-30 20:07:48 +02:00
CMakeLists.txt Add a utility checking uses of require()s 2017-02-08 08:35:43 +01:00
color.c Clean up header includes 2014-03-30 20:07:48 +02:00
color.h
config.h Merge branch 'find-fallback-config' of https://github.com/psychon/awesome 2017-01-27 17:39:30 +01:00
dbus.c Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
dbus.h
draw.c Drop our use of iconv (#1772) 2017-05-07 17:59:53 +02:00
draw.h Drop our use of iconv (#1772) 2017-05-07 17:59:53 +02:00
event.c Remove most uses of XCB_CURRENT_TIME 2017-04-15 14:50:44 +02:00
event.h Asynchronously update the keyboard state 2017-03-28 15:21:01 +02:00
ewmh.c C code: save all instead of just one client icons 2017-03-07 22:45:49 +01:00
ewmh.h C code: save all instead of just one client icons 2017-03-07 22:45:49 +01:00
globalconf.h Asynchronously update the keyboard state 2017-03-28 15:21:01 +02:00
ISSUE_TEMPLATE.md Add an ISSUE_TEMPLATE.md file (#997) 2016-07-09 19:18:02 +02:00
keygrabber.c Fix some deprecated calls in code and docs 2017-03-30 21:26:50 -05:00
keygrabber.h Clean up header includes 2014-03-30 20:07:48 +02:00
LICENSE
luaa.c doc: fix signals (#1455) 2017-01-28 15:03:56 +01:00
luaa.h Refactor config fallback 2017-01-25 14:10:19 +01:00
Makefile Makefile: add "tags" to .PHONY targets 2015-07-11 22:50:11 +02:00
mouse.c Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
mouse.h Revert "Support more than 5 mouse buttons" (FS#1082) 2013-03-29 16:07:13 +01:00
mousegrabber.c Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
mousegrabber.h Revert "Support more than 5 mouse buttons" (FS#1082) 2013-03-29 16:07:13 +01:00
Packaging.cmake Fix "make package" with RPMs (#1370) 2017-01-08 23:44:07 +01:00
property.c xembed: Stop using XCB_CURRENT_TIME 2017-04-15 12:04:57 +02:00
property.h Clean up header includes 2014-03-30 20:07:48 +02:00
README.md Add README.md symlink 2015-02-28 23:14:13 +01:00
root.c Remove most uses of XCB_CURRENT_TIME 2017-04-15 14:50:44 +02:00
selection.c Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
selection.h
spawn.c Fix build on FreeBSD (#1381) 2017-01-13 22:23:49 +01:00
spawn.h Clean up header includes 2014-03-30 20:07:48 +02:00
stack.c doc: fix warnings from doxygen 2015-02-14 20:17:13 +01:00
stack.h Clean up header includes 2014-03-30 20:07:48 +02:00
strut.c geometry: Use the relevant rounding functions instead of integers 2016-04-18 04:20:22 -04:00
strut.h
systray.c Remove most uses of XCB_CURRENT_TIME 2017-04-15 14:50:44 +02:00
systray.h Remove unused argument to systray_request_handle() 2016-05-29 14:33:23 +02:00
xkb.c Asynchronously update the keyboard state 2017-03-28 15:21:01 +02:00
xkb.h Asynchronously update the keyboard state 2017-03-28 15:21:01 +02:00
xrdb.c Remove obsolete include and Xlib comment. 2017-01-05 23:17:11 +01:00
xrdb.h Add a vim modeline to all C source 2015-12-12 17:42:16 +01:00
xwindow.c xwindow: Add support for input shape from SHAPE 1.1 2017-01-26 10:45:24 +01:00
xwindow.h Set WM_CLASS and WM_NAME on all our windows (#551) 2015-11-19 22:23:25 +01:00

Readme

About awesome

awesome is a highly configurable, next generation framework window manager for X.

Building and installation

After extracting the dist tarball, run:

make

This will create a build directory, run cmake in it and build awesome.

After building is finished, you can either install via make install:

make install  # you might need root permissions

or by auto-generating a .deb or .rpm package, for easy removal later on:

make package

sudo dpkg -i awesome-x.y.z.deb
# or
sudo rpm -Uvh awesome-x.y.z.rpm

NOTE: awesome uses cmake to build. In case you want to pass arguments to cmake, please use the CMAKE_ARGS environment variable. For instance:

CMAKE_ARGS="-DCMAKE_INSTALL_PREFIX=/opt/awesome" make

Build dependencies

Awesome has the following dependencies (besides a more-or-less standard POSIX environment):

Additionally, the following optional dependencies exist:

  • DBus for DBus integration and the awesome-client utility
  • asciidoc and xmlto for generating man pages
  • gzip for compressing man pages
  • ldoc for generating the documentation
  • busted for running unit tests
  • luacheck for static code analysis
  • LuaCov for collecting code coverage information
  • libexecinfo on systems where libc does not provide backtrace_symbols() to generate slightly better backtraces on crashes
  • Xephyr or Xvfb for running integration tests

Running awesome

You can directly select awesome from your display manager. If not, you can add the following line to your .xinitrc to start awesome using startx or to .xsession to start awesome using your display manager:

exec awesome

In order to connect awesome to a specific display, make sure that the DISPLAY environment variable is set correctly, e.g.:

DISPLAY=foo.bar:1 exec awesome

(This will start awesome on display :1 of the host foo.bar.)

Configuration

The configuration of awesome is done by creating a $XDG_CONFIG_HOME/awesome/rc.lua file, typically ~/.config/awesome/rc.lua.

An example configuration named awesomerc.lua is provided in the source.

Troubleshooting

On most systems any message printed by awesome (including warnings and errors) is written to ~/.xsession-errors.

If awesome does not start or the configuration file is not producing the desired results the user should examine this file to gain insight into the problem.

Debugging tips

You can call awesome with gdb like this:

DISPLAY=:2 gdb awesome

Then in gdb set any args and run it:

(gdb) set arg --replace
(gdb) run

Inside gdb you can use the following to print the current Lua stack traceback:

(gdb) print luaL_dostring(globalconf.L.real_L_dont_use_directly, "print(debug.traceback())")

Reporting issues

Please report any issues you may find on our bugtracker. You can submit pull requests on the github repository. Please read the contributing guide for any coding, documentation or patch guidelines.

Status

Build Status

Documentation

Online documentation is available at https://awesomewm.org/apidoc/.

License

The project is licensed under GNU General Publice License v2 or later. You can read it online at (v2 or v3).