From: ARDiDo <90479315+ARDiDo@users.noreply.github.com> Date: Fri, 7 Jan 2022 21:13:36 +0000 (-0500) Subject: mousebindings: change default focus and raise to press from drag. X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=a893607a0ee02fa3c26faae29621af4f1004ea8c;p=proto%2Flabwc.git mousebindings: change default focus and raise to press from drag. This raises the window without having to drag it. --- diff --git a/docs/rc.xml.all b/docs/rc.xml.all index 8f4fc1a8..d95e9c06 100644 --- a/docs/rc.xml.all +++ b/docs/rc.xml.all @@ -116,14 +116,18 @@ 500 - + + + - + + + @@ -170,9 +174,11 @@ - + + + diff --git a/src/config/rcxml.c b/src/config/rcxml.c index fd1ec15c..b2e543af 100644 --- a/src/config/rcxml.c +++ b/src/config/rcxml.c @@ -528,14 +528,14 @@ static struct { { "TRCorner", "Left", "Drag", "Resize", NULL}, { "BRCorner", "Left", "Drag", "Resize", NULL}, { "BLCorner", "Left", "Drag", "Resize", NULL}, - { "Frame", "A-Left", "Drag", "Focus", NULL}, - { "Frame", "A-Left", "Drag", "Raise", NULL}, + { "Frame", "A-Left", "Press", "Focus", NULL}, + { "Frame", "A-Left", "Press", "Raise", NULL}, { "Frame", "A-Left", "Drag", "Move", NULL}, - { "Frame", "A-Right", "Drag", "Focus", NULL}, - { "Frame", "A-Right", "Drag", "Raise", NULL}, + { "Frame", "A-Right", "Press", "Focus", NULL}, + { "Frame", "A-Right", "Press", "Raise", NULL}, { "Frame", "A-Right", "Drag", "Resize", NULL}, - { "Titlebar", "Left", "Drag", "Focus", NULL}, - { "Titlebar", "Left", "Drag", "Raise", NULL}, + { "Titlebar", "Left", "Press", "Focus", NULL}, + { "Titlebar", "Left", "Press", "Raise", NULL}, { "TitleBar", "Left", "Drag", "Move", NULL }, { "TitleBar", "Left", "DoubleClick", "ToggleMaximize", NULL }, { "Close", "Left", "Click", "Close", NULL },