[hackers] [dwm] removing Sylvain's patch because it breaks more than it fixes unfortunately, re-issuing a bugfix release 5.8.1 || Anselm R Garbe

From: <hg_AT_suckless.org>
Date: Sat, 29 May 2010 11:55:19 +0000 (UTC)

changeset: 1517:1ed1e75c9c2e
tag: 5.8.1
user: Anselm R Garbe <anselm_AT_garbe.us>
date: Sat May 29 12:48:11 2010 +0100
files: config.mk dwm.c
description:
removing Sylvain's patch because it breaks more than it fixes unfortunately, re-issuing a bugfix release 5.8.1

diff -r 621ae8a17c07 -r 1ed1e75c9c2e config.mk
--- a/config.mk Fri May 28 11:43:44 2010 +0100
+++ b/config.mk Sat May 29 12:48:11 2010 +0100
@@ -1,5 +1,5 @@
 # dwm version
-VERSION = 5.8
+VERSION = 5.8.1
 
 # Customize below to fit your system
 
diff -r 621ae8a17c07 -r 1ed1e75c9c2e dwm.c
--- a/dwm.c Fri May 28 11:43:44 2010 +0100
+++ b/dwm.c Sat May 29 12:48:11 2010 +0100
@@ -57,8 +57,7 @@
 /* enums */
 enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */
 enum { ColBorder, ColFG, ColBG, ColLast }; /* color */
-enum { NetSupported, NetWMName, NetWMState,
- NetWMFullscreen, NetLast }; /* EWMH atoms */
+enum { NetSupported, NetWMName, NetWMState, NetLast }; /* EWMH atoms */
 enum { WMProtocols, WMDelete, WMState, WMLast }; /* default atoms */
 enum { ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle,
        ClkClientWin, ClkRootWin, ClkLast }; /* clicks */
@@ -162,7 +161,6 @@
 static void cleanup(void);
 static void cleanupmon(Monitor *mon);
 static void clearurgent(Client *c);
-static void clientmessage(XEvent *e);
 static void configure(Client *c);
 static void configurenotify(XEvent *e);
 static void configurerequest(XEvent *e);
@@ -251,7 +249,6 @@
 static unsigned int numlockmask = 0;
 static void (*handler[LASTEvent]) (XEvent *) = {
         [ButtonPress] = buttonpress,
- [ClientMessage] = clientmessage,
         [ConfigureRequest] = configurerequest,
         [ConfigureNotify] = configurenotify,
         [DestroyNotify] = destroynotify,
@@ -1295,20 +1292,6 @@
 }
 
 void
-clientmessage(XEvent *e) {
- XClientMessageEvent *cme = &e->xclient;
-
- if(cme->message_type == netatom[NetWMState] && cme->data.l[1] == netatom[NetWMFullscreen]) {
- if(cme->data.l[0])
- XChangeProperty(dpy, cme->window, netatom[NetWMState], XA_ATOM, 32,
- PropModeReplace, (unsigned char*)&netatom[NetWMFullscreen], 1);
- else
- XChangeProperty(dpy, cme->window, netatom[NetWMState], XA_ATOM, 32,
- PropModeReplace, (unsigned char*)0, 0);
- }
-}
-
-void
 quit(const Arg *arg) {
         running = False;
 }
@@ -1512,7 +1495,6 @@
         netatom[NetSupported] = XInternAtom(dpy, "_NET_SUPPORTED", False);
         netatom[NetWMName] = XInternAtom(dpy, "_NET_WM_NAME", False);
         netatom[NetWMState] = XInternAtom(dpy, "_NET_WM_STATE", False);
- netatom[NetWMFullscreen] = XInternAtom(dpy, "_NET_WM_STATE_FULLSCREEN", False);
         /* init cursors */
         cursor[CurNormal] = XCreateFontCursor(dpy, XC_left_ptr);
         cursor[CurResize] = XCreateFontCursor(dpy, XC_sizing);
Received on Sat May 29 2010 - 11:55:19 UTC

This archive was generated by hypermail 2.2.0 : Sat May 29 2010 - 12:00:08 UTC