mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Evoke will now correctly shutdown (try) all running windows, when
session should be logged out. Previous version (althought commented) was closing all windows (buttons and rest are counted too), not their main window. Thanks to some old code from babaya project I found, XmuClientWindow is what I needed, so emulation is provided to avoid linking with libXmu. Also added some more signals to detect quitting. Pending issue: I'm getting strange sound driver locks when X are started via evoke. This is un-reporoduceable when evoke is started from gui console. This still needs to be investigate.
This commit is contained in:
@ -23,10 +23,10 @@
|
||||
#include <string.h> // memset
|
||||
|
||||
static int logout_ret;
|
||||
static Fl_Double_Window* win;
|
||||
static Fl_Round_Button* rb1;
|
||||
static Fl_Round_Button* rb2;
|
||||
static Fl_Round_Button* rb3;
|
||||
static Fl_Double_Window* win;
|
||||
static Fl_Round_Button* rb1;
|
||||
static Fl_Round_Button* rb2;
|
||||
static Fl_Round_Button* rb3;
|
||||
|
||||
unsigned char* take_x11_screenshot(unsigned char *p, int X, int Y, int w, int h, int alpha);
|
||||
unsigned char* make_darker(unsigned char *p, int X, int Y, int w, int h);
|
||||
|
Reference in New Issue
Block a user