mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
Implemented <doubleClickTime> in rc.xml
This commit is contained in:
parent
a4fdb43d42
commit
36f5b49f2a
4 changed files with 47 additions and 6 deletions
|
|
@ -343,7 +343,7 @@ cursor_button(struct wl_listener *listener, void *data)
|
|||
desktop_focus_view(&server->seat, view);
|
||||
damage_all_outputs(server);
|
||||
|
||||
if (is_double_click(500) && view_area == LAB_SSD_PART_TITLEBAR) {
|
||||
if (is_double_click(rc.doubleclick_time) && view_area == LAB_SSD_PART_TITLEBAR) {
|
||||
struct mousebind* mousebind;
|
||||
wl_list_for_each_reverse(mousebind, &rc.mousebinds, link) {
|
||||
if( (mousebind->context == MOUSE_CONTEXT_TITLEBAR) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue