gri3-wm/testcases
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
..
lib tests: unset $ENV{SHELL} to avoid breakage with fish (Thanks dRbiG) 2013-02-15 16:41:28 +01:00
t introduced i3 command for changing the hidden state and the mode of i3bar 2013-05-25 23:00:36 +02:00
.gitignore split main .gitignore and ignore more files 2013-01-26 19:30:10 +01:00
Makefile.PL add first bits of a (custom) config parser 2012-10-08 13:17:46 +02:00
Xdummy add Xdummy script to start a headless X11 server 2011-07-25 15:37:46 +02:00
complete-run.pl complete-run: clarify the message about missing ../i3 (Thanks Marcos) 2012-12-20 23:50:50 +01:00
i3-test.config tests: make t/65-for-window.t use separate i3 instances 2011-08-02 19:21:09 +02:00
new-test new-test: add launch_with_config to multi-monitor template 2012-12-22 14:08:25 +01:00
restart-state.golden tests: implement restart testing (actual option still missing) 2011-12-21 23:15:30 +00:00