Commit Graph

5183 Commits

Author SHA1 Message Date
Julien Danjou 4bcb4b13d7 Remove NoDisplay from desktop file
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-02-25 11:49:43 +01:00
Uli Schlachter a8b54bab88 change codename
Signed-off-by: Uli Schlachter <psychon@znc.in>
2013-02-11 14:50:21 +01:00
Uli Schlachter 56215a6870 Fix keyboard layouts
Commit 08ca70c00d added support for Xlib cursor themes by making awesome use
Xlib for its X11 connection and for setting cursor icons. Everything else was
still done through xcb.

However, an unexpected side effect of this is that Xlib enabled the XKB
extension without asking us. This changes the way that keyboard events are
reported which causes problems with various keyboard events.

(Normally, Xlib hides these things by silently fixing up the events that it
hands out to applications. However, since we bypassed Xlib via xcb...)

The fix is simple: Luckily Xlib provides a function for disabling its XKB
support which is just what we need.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2013-02-01 22:51:32 +01:00
Uli Schlachter 61d48ab712 change codename
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-12-24 15:36:05 +01:00
Uli Schlachter ec714276ec naughty: Correctly handle rowstride on icons
Thanks to dadrc for reporting that gmusicbrowser's notifications didn't work and
for testing this patch.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-11-17 22:37:47 +01:00
Uli Schlachter c891beffdf Add x11-xcb to the pkg-config checks
This is needed for XGetXCBConnection().

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-10-07 16:49:39 +02:00
Tumin Alexander 08ca70c00d Added initial support for Xlib cursor themes -- for branch 3.4
The same patch, only for branch 3.4
(there is a bunch of differences from master)

Signed-off-by: Tumin Alexander <iamtakingiteasy@eientei.org>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-10-07 12:39:18 +02:00
Edward O'Callaghan dd7d3ed6a1 Add platform support for DragonflyBSD.
Simply adds a define required for awesomewm to work on the BSDs.

Signed-off-by: Edward O'Callaghan <eocallaghan@auroraux.org>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-09-13 10:26:47 +02:00
Steven Oliver 1acc818cec Have only FreeBSD require dynamic linking (FS#743)
Signed-off-by: Steven Oliver <oliver.steven@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-09-12 17:29:51 +02:00
Steven Oliver bff2c7ea3b Remove incorrect comment.
The FindLua module from CMake now displays the correct Lua version.

Signed-off-by: Steven Oliver <oliver.steven@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-08-28 13:32:56 +02:00
Steven Oliver 22e7251fbf Add NoDisplay to .desktop file (FS#1031)
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-08-22 11:38:18 +02:00
Sébastien Luttringer 99230fc632 Fix client screen in awful.client.setslave
Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-08-12 13:17:30 +02:00
Julien Danjou 226678ec7f change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-07-15 12:12:21 +02:00
Uli Schlachter c084eb5b08 Revert "Focus history: Don't ignore unfocusable clients"
This reverts commit c0dffca646 which caused
FS#1011. This is just too much breakage which can't easily be fixed in 3.4.
2012-07-06 17:32:53 +02:00
Julien Danjou 9f05eaf652 Simplify client focus code
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-06-28 14:05:14 +02:00
Sébastien Luttringer 4b61aefca6 awful.titlebar use height not width
Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-06-17 11:00:54 +02:00
Uli Schlachter 7f6a670137 xerror: Print numeric infos about the error
xcb_event_get_{request,error}_label() return NULL for non-core requests and
error codes. Obviously, that's not really helpful at all, so also print the
numeric information about what failed.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-06-15 10:03:23 +02:00
Julien Danjou 2e7e7ae57f Remove PREFIX, use CMAKE_INSTALL_PREFIX
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-06-11 14:47:01 +02:00
Julien Danjou d90fe225e0 change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-06-11 13:57:35 +02:00
Sébastien Luttringer af1dcc431c Get keygrabber running state
Add a function keygrabber.isrunning() which return a boolean state of
keygrabber

Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-06-06 17:29:15 +02:00
Sébastien Luttringer 0cbb3b4770 Get mousegrabber running state
Add a function mousegrabber.isrunning() which return a boolean state of
mousegrabber

Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-06-06 10:41:36 +02:00
Thomas Moschny 5d99804f9e Desktop file fixes.
- Remove an extra space after the group header.
- Add required key 'Type'.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-06-05 15:23:37 +02:00
Uli Schlachter 938ba52201 awful.client.setslave: Fix for not-visible clients
Previously, setslave() put a client only at the end of the list of visible
clients. Obviously this means that it didn't do anything helpful if the target
client was not visible.

Fix this by iterating over all clients on the target screen instead of just the
visible ones.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-05-05 10:06:19 +02:00
Uli Schlachter 05d991d452 Taglist: Add {bg,fg}_occupied theme options
This commit adds a new {bg,fg}_occupied option to the taglist. These control the
background and foreground color that unselected but occupied tags get in the
taglist. Occupied here means that at least one client is tagged with that tag.

Thanks to NougatRillettes for submitting this.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-04-06 19:23:49 +02:00
Uli Schlachter c0dffca646 Focus history: Don't ignore unfocusable clients
The only caller of focus.history.add() should be the "focus" signal, so at that
time the unfocusable client already does have the focus. At that point, there is
no reason why this shouldn't be recorded in the focus history.

(And yes, unfocusable clients can be focused. Don't ask.)

This should hopefully fix FS#778.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-04-06 12:24:56 +02:00
Corey Thompson 7298b3835d Remove "encoding=utf-8" from Vim modelines
Signed-off-by: Corey Thompson <cmtptr@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-03-26 12:19:57 +02:00
TsT 7a837bd2a6 table.foreach is deprecated: now use for + pairs
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-03-08 16:44:06 +01:00
TsT d89b7bb861 mistake fix: "b" local variable declaration is missing
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-03-08 16:44:01 +01:00
Duflot Jean-Luc 4ff0a8d14d Update french manpages
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-02-21 12:51:58 +01:00
Anurag Priyam 9f2a79a2d0 add awful.client.cycle
add awful.client.cycle to iterate through clients that match a given condition

A common use case is to cycle through clients that match a given rule and take
certain action on them: raise, set or get property, etc.; see usage example in
the docs.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-02-17 16:54:28 +01:00
Anurag Priyam 55ee0d4dab add awful.util.table.cycle
awful.util.table.cycle iterates through elements of the table that match the
given condition.

This will help writing concise code when one wants to apply a function to
(read, take some action) on a select list of elements in a table (of say,
clients and tags).

Conflicts:

	lib/awful/util.lua.in

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-02-17 16:54:28 +01:00
Axel Beckert cf784bc825 awful.tag.inc*: properly pass tag parameter to set*
Signed-off-by: Julien Danjou <julien@danjou.info>
2012-01-11 10:42:41 +01:00
Anurag Priyam 50b10529fc awful.tooltip docs: replace references to undefined variable 'K' with 'myclock'
Most probably, the original author chose to use 'K' first, switched to
'myclock' later, and forgot to update remaining occurrences of 'K'.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-01-10 15:02:51 +01:00
Arvydas Sidorenko 6c48655d40 Original sky theme dwindle and spiral icons
There was a few days ago a bug report about missing icons with provided
link to the original ones. My previous patch was with icons made
by me using the ones from default theme, just changed the color.
Probably you should ignore it and use this one unless you like
my made more.

Signed-off-by: Arvydas Sidorenko <asido4@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-12-30 17:50:58 +01:00
Julien Danjou 87ce51d2e9 naughty: remove score system, merge presets
Scoring is broken, it's more useful to merge all presets, and declares that
order matters.
2011-12-27 11:24:01 +01:00
Julien Danjou 0f5d2d56b9 Fix mousegrabber run documentation
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-12-22 10:23:25 +01:00
Thomas Moschny d3d8160e27 Fix build with glib2 2.31.0
Starting with glib2 2.31.0, It is no longer possible to
include individual headers (like "ghash.h") -- you must
#include <glib.h>.

Signed-off-by: Thomas Moschny <thomas.moschny@gmx.de>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-12-18 02:09:39 +01:00
Corey Thompson cacba79d49 Initialize floating_geometry on property::border_width signal (FS#826)
Initializing the client property "floating_geometry" on the
property::geometry signal is problematic since this is emitted before
client_set_border_width(), causing the internal client geometry to get
stored and later passed to client:geometry() which assumes it includes
titlebar and borders.

Signed-off-by: Corey Thompson <cmtptr@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-12-09 22:02:45 +01:00
Julien Danjou 2fa20703ff awsetbg: xli is reported as ok
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-12-09 10:44:05 +01:00
Rob Hoelz 8a42071cb9 Allow usage of strings as key names for root.fake_input
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-12-08 18:48:17 +01:00
Corey Thompson 7013b9bb70 Bump duplicated commands to the most recent in command prompt history
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-12-05 20:51:45 +01:00
Gianluca Fiore 7205dfde57 Add italian translation
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-12-01 11:23:25 +01:00
Uli Schlachter d3021e6772 Beautiful: Handle invalid wallpaper_cmd better (FS#941)
Biggest plus is that this no longer errors out when wallpaper_cmd isn't a table.
Second biggest plus is that this now prints a warning.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-11-27 11:16:47 +01:00
Julien Danjou 3d4d1955da change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-11-23 15:08:50 +01:00
Uli Schlachter 09fdd0ee27 Fix the default config
When I cherry-picked commit 2785d695ce from master, I didn't notice that it uses
connect_signal() which is add_signal() in 3.4-land. That was half a month ago.
Since then, no one complaint about this, so no one hit the problem yet?

Ok, it is in the default config which I guess isn't what the people who use
git/3.4 run. Still, would have been nice to know that people actually test the
mess which I produce. :-(

Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-11-10 19:48:51 +01:00
Perry Hargrave 4155303b8b Check wallpaper_cmd entries are valid (FS#938)
wallpaper.is_valid(tw):
    Checks that the table has only string entries.

Signed-off-by: Perry Hargrave <resixian@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-11-10 19:42:47 +01:00
Perry Hargrave adbc736b8a Prevent util.cycle from infinite loop (FS#938)
If the first argument to cycle must be > 1 or else return nil
immediately.

Signed-off-by: Perry Hargrave <resixian@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-11-10 19:42:38 +01:00
Majic 3636b884d3 Private naughty.getIcon() -> public awful.util.geticonpath()
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-11-01 19:45:12 +01:00
Massimiliano Brocchini bb3fc70fb3 search in prompt history
Signed-off-by: Massimiliano Brocchini <massimiliano.brocchini@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-10-25 13:02:52 +02:00
Uli Schlachter 2785d695ce Signal runtime errors via a naughty popup
Whenever awesome's C code calls into lua via a protected call, the debug::error
signal is emitted on errors. We now use this to give naughty popups for every
single error that happens. This should help people to notice errors easier.

The only exception are mouse and key grabbers and config loading, those don't go
through debug::error. I guess that means that the grabbers need to be hooked up
to debug::error. :-)

Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-10-23 22:31:18 +02:00