mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
Implement <resize><drawContents>
<resize><drawContents>[yes|no] configures whether to let the clients redraw its window content content while resizing. When <resize><drawContents> is set to no, a multi-rect is shown to indicate the geometry of the resized window.
This commit is contained in:
parent
25415eb7ab
commit
bb1d0b4352
10 changed files with 113 additions and 12 deletions
|
|
@ -1032,6 +1032,8 @@ entry(xmlNode *node, char *nodename, char *content)
|
|||
} else {
|
||||
wlr_log(WLR_ERROR, "Invalid value for <resize popupShow />");
|
||||
}
|
||||
} else if (!strcasecmp(nodename, "drawContents.resize")) {
|
||||
set_bool(content, &rc.resize_draw_contents);
|
||||
} else if (!strcasecmp(nodename, "mouseEmulation.tablet")) {
|
||||
set_bool(content, &rc.tablet.force_mouse_emulation);
|
||||
} else if (!strcasecmp(nodename, "mapToOutput.tablet")) {
|
||||
|
|
@ -1271,6 +1273,7 @@ rcxml_init(void)
|
|||
| LAB_VIEW_CRITERIA_NO_SKIP_WINDOW_SWITCHER;
|
||||
|
||||
rc.resize_indicator = LAB_RESIZE_INDICATOR_NEVER;
|
||||
rc.resize_draw_contents = true;
|
||||
|
||||
rc.workspace_config.popuptime = INT_MIN;
|
||||
rc.workspace_config.min_nr_workspaces = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue