Introduction
Introduction Statistics Contact Development Disclaimer Help
Revert "select tab with X ClientMessage event" - tabbed - tab interface for app…
git clone git://git.suckless.org/tabbed
Log
Files
Refs
README
LICENSE
---
commit b46a3a278856bb33dc299d11d0be1b01d04df39c
parent 34baef933d0bba6dad20e1b9f24878b63756e443
Author: Christoph Lohmann <[email protected]>
Date: Sun, 1 Dec 2013 20:03:16 +0100
Revert "select tab with X ClientMessage event"
This reverts commit 34baef933d0bba6dad20e1b9f24878b63756e443.
Diffstat:
M tabbed.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/tabbed.c b/tabbed.c
@@ -48,7 +48,7 @@
enum { ColFG, ColBG, ColLast }; /* color */
enum { WMProtocols, WMDelete, WMName, WMState, WMFullscreen,
- XEmbed, WMSelectTab, WMLast }; /* default atoms */
+ XEmbed, WMLast }; /* default atoms */
typedef union {
int i;
@@ -237,9 +237,6 @@ clientmessage(const XEvent *e) {
if(ev->message_type == wmatom[WMProtocols]
&& ev->data.l[0] == wmatom[WMDelete]) {
running = False;
- } else if(ev->message_type == wmatom[WMSelectTab]) {
- Arg a = {.i = ev->data.l[0]};
- move(&a);
}
}
@@ -895,8 +892,8 @@ setup(void) {
wmatom[XEmbed] = XInternAtom(dpy, "_XEMBED", False);
wmatom[WMName] = XInternAtom(dpy, "_NET_WM_NAME", False);
wmatom[WMState] = XInternAtom(dpy, "_NET_WM_STATE", False);
- wmatom[WMFullscreen] = XInternAtom(dpy, "_NET_WM_STATE_FULLSCREEN", Fa…
- wmatom[WMSelectTab] = XInternAtom(dpy, "_TABBED_SELECT_TAB", False);
+ wmatom[WMFullscreen] = XInternAtom(dpy, "_NET_WM_STATE_FULLSCREEN",
+ False);
/* init appearance */
wx = 0;
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.