1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

wmaker: Moved timestamp variable (#1) to the global variable structure

This commit is contained in:
Christophe CURIS
2013-09-29 13:22:52 +02:00
committed by Carlos R. Mafra
parent 577506cbd2
commit af6c4ec37f
10 changed files with 25 additions and 27 deletions

View File

@@ -39,7 +39,6 @@
#include "shutdown.h"
extern Atom _XA_WM_DELETE_WINDOW;
extern Time LastTimestamp;
extern int wScreenCount;
static void wipeDesktop(WScreen * scr);
@@ -197,7 +196,7 @@ static void wipeDesktop(WScreen * scr)
wwin = scr->focused_window;
while (wwin) {
if (wwin->protocols.DELETE_WINDOW)
wClientSendProtocol(wwin, _XA_WM_DELETE_WINDOW, LastTimestamp);
wClientSendProtocol(wwin, _XA_WM_DELETE_WINDOW, w_global.timestamp.last_event);
else
wClientKill(wwin);
wwin = wwin->prev;