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:
committed by
Carlos R. Mafra
parent
577506cbd2
commit
af6c4ec37f
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user