mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Replaced X event notifying via add_fd(). Now all X events could be reported
without possible stealing from fltk. Prevous, add_handler(), would send only unknown events for fltk which leave us without really important ones, like selection events used by XSETTINGS manager. Added XSETTINGS support (yet unfinished) which will make evoke as XSETTINGS manager.
This commit is contained in:
@ -14,10 +14,12 @@
|
||||
#define __EVOKESERVICE_H__
|
||||
|
||||
#include "Log.h"
|
||||
#include "Xsm.h"
|
||||
|
||||
#include <edelib/List.h>
|
||||
#include <edelib/String.h>
|
||||
#include <FL/x.h>
|
||||
|
||||
#include <FL/x.h>
|
||||
#include <pthread.h>
|
||||
|
||||
struct EvokeClient {
|
||||
@ -46,6 +48,7 @@ class EvokeService {
|
||||
private:
|
||||
bool is_running;
|
||||
Log* logfile;
|
||||
Xsm* xsm;
|
||||
char* pidfile;
|
||||
char* lockfile;
|
||||
|
||||
@ -73,6 +76,9 @@ class EvokeService {
|
||||
bool init_splash(const char* config, bool no_splash, bool dry_run);
|
||||
void init_autostart(bool safe);
|
||||
|
||||
void init_xsettings_manager(void);
|
||||
void stop_xsettings_manager(void);
|
||||
|
||||
int handle(const XEvent* ev);
|
||||
|
||||
Log* log(void) { return logfile; }
|
||||
|
Reference in New Issue
Block a user