aboutsummaryrefslogtreecommitdiffstats
path: root/group.c
diff options
context:
space:
mode:
authorokan2017-12-29 16:55:50 +0000
committerokan2017-12-29 16:55:50 +0000
commit2752425282f3222e609d25dee2df4f4d666274d5 (patch)
tree9994848f2ce904e91d0879b82db4f5fa4400a186 /group.c
parent0aa3e7d08d83b487beb552501005df507b1ac0f8 (diff)
downloadcwm-2752425282f3222e609d25dee2df4f4d666274d5.tar.gz
Merge group_toggle_membership_leave into the buttonrelease event and only do
border work for a group/ungroup action.
Diffstat (limited to '')
-rw-r--r--group.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/group.c b/group.c
index 68f2cb3..1c51979 100644
--- a/group.c
+++ b/group.c
@@ -16,7 +16,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: group.c,v 1.126 2017/02/10 15:00:54 okan Exp $
+ * $OpenBSD: group.c,v 1.127 2017/12/29 16:55:50 okan Exp $
*/
#include <sys/types.h>
@@ -170,7 +170,7 @@ group_movetogroup(struct client_ctx *cc, int idx)
}
void
-group_toggle_membership_enter(struct client_ctx *cc)
+group_toggle_membership(struct client_ctx *cc)
{
struct screen_ctx *sc = cc->sc;
struct group_ctx *gc = sc->group_active;
@@ -186,13 +186,6 @@ group_toggle_membership_enter(struct client_ctx *cc)
client_draw_border(cc);
}
-void
-group_toggle_membership_leave(struct client_ctx *cc)
-{
- cc->flags &= ~CLIENT_HIGHLIGHT;
- client_draw_border(cc);
-}
-
int
group_holds_only_sticky(struct group_ctx *gc)
{