Allow applications to change float geometry until manually resized by
the user.
Fix window mapping when managing a window
Move the window to the correct workspace first so that the region
dimensions are available to the app for proper sizing.
Improve fullscreen handling.
Prevent move or resize operations on fullscreen windows.
Add border flag to ws_win for window geometry calculations.
Utilize update_window instead of separate calls to XConfigureWindow.
ok marco
Note that 'program[term]' should be used to set the terminal; not
spawn_term.
Prevent width options from being set to negative values.
Change conf autorun example to xombrero.
Improve readability of enums.
(Based on patch submitted by Jason Woofenden <jason@jasonwoof.com>)
Sort conf_load switch cases to match enum.
ok marco
The format should only be manipulated by the bar_fmt function or the
user. Thus, delete extra space when outputting the window name and move
the strlcat(3) call that appends four spaces where it belongs. Inside
the window title conditional.
Noticed by LordReg.
The specified length is used to limit the number of characters outputted
by the sequence. Thus, it's now possible to limit, for instance, the
window name length.
This fixes Flyspray bug #243.
Introduced the new bar_format configuration file keyword that allows to
customize the status-bar by providing character sequences that are
replaced accordingly, effectively supplanting the enabled options. The
default output is retained, though.
Idea taken from tmux(1).
Remove scattered calls to bar_update when switching workspaces and
cycling layouts, which are preceded by a focus function call. They
already are (as they should be) responsible for doing that.
Like the other focusing functions, make focus_prev call kill_refs before
trying to focus on a new window. This way, the current window references
are cleared like it should be when the very last window is destroyed.
Otherwise, the status-bar output will contain (while its alarm does not
expire) the class hint of the to be removed window.
The update functions already check if the window related enabled options
are set. Just call it directly, instead. As a consequence, the wrapper
function can now be deleted.
The window's class hint is already retrieved by the manage_window
function, which is called when a new application is spawned. Therefore,
use it when displaying the application's class and name, instead of
fetching them again with XGetClassHint(3).
Besides, its error checking was incorrect, since it also returns zero on
error.
Add new keybindings for workspaces 11 through 22.
Defaults for ws_n and mvws_n are NOD+(F1-F12) and MOD+Shift+(F1-F12),
respectively.
Add a new configuration option 'workspace_limit' to make it possible for
the user to adjust the number of available workspaces. Default is 10.
ok marco