gri3-wm/include
haptix@web.de e3913093b6 introduced i3 command for changing the hidden state and the mode of i3bar
The hidden_state and mode of each i3bar instance can now be controlled from within i3.
Therefore, two new i3 command were introduced:
    _
    bar hidden_state show|hide|toggle [<bar_id>]

    show: always show the bar
    hide: normal hide mode
    toggle: toggle between show and hide (individually for each bar)
    _
    bar mode dock|hide|invisible|toggle [<bar_id>]

    hide,dock: like before
    invisible: always keep the bar hidden
    toggle: toggle between dock and hide (individually for each bar)

This patch introduces a hidden_state ("hidden_state hide|show") in the
barconfig, which indicates the current hidden_state of each i3bar
instance. It only affects the bar when in hide mode. Additionally, a new
invisible mode was introduced. In order to change the hidden_state or
mode of the bar from i3, a barconfig-update event was introduced, for
which a bar can subscribe and the bar then gets notified about the
currently set hidden_state and mode in its barconfig.

For convenience, an id field ("id <bar_id>") was added to the barconfig, where one can
set the desired id for the corresponding bar. If the id is not specified, i3 will
deterministically choose an id; otherwise, with the previous random approach for finding
a new id, which is actually not shared with i3bar, as it would determine its id on
startup, the event-subscription would be destroyed on reload. Still, this issue remains
when manually changing the bar_id in the config and then reloading.

fixes #833, #651
2013-05-25 23:00:36 +02:00
..
i3 introduced i3 command for changing the hidden state and the mode of i3bar 2013-05-25 23:00:36 +02:00
all.h use the new parser by default 2012-10-08 13:26:42 +02:00
assignments.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
atoms.xmacro Add support for _NET_WM_STATE_DEMANDS_ATTENTION. 2013-03-09 10:55:13 +01:00
click.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
cmdparse.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
commands.h introduced i3 command for changing the hidden state and the mode of i3bar 2013-05-25 23:00:36 +02:00
commands_parser.h use the new parser by default 2012-10-08 13:26:42 +02:00
con.h Give layout enum a name: layout_t 2013-05-22 19:35:07 +02:00
config.h introduced i3 command for changing the hidden state and the mode of i3bar 2013-05-25 23:00:36 +02:00
config_directives.h introduced i3 command for changing the hidden state and the mode of i3bar 2013-05-25 23:00:36 +02:00
config_parser.h refactor both i3-nagbar starts into src/util.c 2012-12-24 16:53:20 +01:00
data.h Draw indicator border only for split layouts 2013-05-22 19:35:33 +02:00
debug.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
display_version.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
ewmh.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
fake_outputs.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
floating.h code style fixes for the previous commit 2012-11-25 20:55:49 +01:00
handlers.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
i3.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
ipc.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
key_press.h refactor both i3-nagbar starts into src/util.c 2012-12-24 16:53:20 +01:00
libi3.h Make i3-nagbar use the same font as configured for i3 2013-01-26 09:55:38 +01:00
load_layout.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
log.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
manage.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
match.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
move.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
output.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
queue.h implement TAILQ_SWAP (only for consecutive elements, order relevant) and use it 2011-02-15 02:21:23 +01:00
randr.h Use a saner sanity check for floating_reposition. 2013-03-21 23:41:07 +01:00
regex.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
render.h Add render_deco_height() 2013-02-14 19:37:52 +01:00
resize.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
scratchpad.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
sd-daemon.h implement "socket activation": passing IPC sockets to i3 2011-08-10 15:55:27 +02:00
shmlog.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
sighandler.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
startup.h Improve startup sequence termination conditions 2012-10-04 17:48:51 +02:00
tree.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
util.h refactor both i3-nagbar starts into src/util.c 2012-12-24 16:53:20 +01:00
window.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
workspace.h Implement moving workspaces as if they're regular containers 2012-09-29 00:17:36 +02:00
x.h raise fullscreen windows on top of all other X11 windows 2013-04-07 15:38:00 +02:00
xcb.h ignore MotionNotify events generated while warping the pointer 2012-12-27 17:04:13 +01:00
xcb_compat.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
xcursor.h Display appropriate cursors when resizing or moving floating windows. 2012-09-23 22:05:19 +02:00
xinerama.h don’t use reversed identifiers for include guards (Thanks Markus) 2012-09-21 15:36:25 +02:00
yajl_utils.h simplify yajl related code 2012-11-13 09:32:55 +01:00