mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
First implemenation of <mouse> in rc.xml
Can successfully parse the following XML and and implement the action:
<mouse>
<context name="TitleBar">
<mousebind button="Left" action="DoubleClick">
<action name="ToggleMaximize"/>
</mousebind>
</context>
</mouse>
The XML parsing code for this looks A LOT different than the already
existing XML parsing code. It may have to be reworked
This commit is contained in:
parent
75564d6b8d
commit
dfdb4e4b0e
6 changed files with 335 additions and 1 deletions
|
|
@ -19,6 +19,7 @@ struct rcxml {
|
|||
int font_size_activewindow;
|
||||
int font_size_menuitem;
|
||||
struct wl_list keybinds;
|
||||
struct wl_list mousebinds;
|
||||
};
|
||||
|
||||
extern struct rcxml rc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue