mirror of
https://github.com/labwc/labwc.git
synced 2026-04-13 08:21:15 -04:00
Window switch, add custom field, with printf style config
based on work by Consolatis. I added documentation, examples and repackaged.
This commit is contained in:
parent
11b6836a38
commit
6311b3ac6a
5 changed files with 202 additions and 45 deletions
|
|
@ -25,6 +25,9 @@ enum window_switcher_field_content {
|
|||
LAB_FIELD_WIN_STATE,
|
||||
LAB_FIELD_TYPE_SHORT,
|
||||
LAB_FIELD_OUTPUT,
|
||||
LAB_FIELD_CUSTOM,
|
||||
|
||||
LAB_FIELD_COUNT
|
||||
};
|
||||
|
||||
enum view_placement_policy {
|
||||
|
|
@ -56,6 +59,7 @@ struct usable_area_override {
|
|||
struct window_switcher_field {
|
||||
enum window_switcher_field_content content;
|
||||
int width;
|
||||
char *format;
|
||||
struct wl_list link; /* struct rcxml.window_switcher.fields */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue