diff options
author | fluxgen <fluxgen> | 2002-02-06 17:12:39 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-02-06 17:12:39 (GMT) |
commit | f7cd6805a47e9cc04febf73f977c9d9ff2bceefb (patch) | |
tree | 936a067bd38cb086a3ac0fd54f9b562d00c97767 | |
parent | 532d0eb20302235d2016bdfc6ed5a1034d712877 (diff) | |
download | fluxbox_lack-f7cd6805a47e9cc04febf73f977c9d9ff2bceefb.zip fluxbox_lack-f7cd6805a47e9cc04febf73f977c9d9ff2bceefb.tar.bz2 |
added eventhandling functions
-rw-r--r-- | src/fluxbox.hh | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/fluxbox.hh b/src/fluxbox.hh index 7cbf237..7f9f4e4 100644 --- a/src/fluxbox.hh +++ b/src/fluxbox.hh | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: fluxbox.hh,v 1.8 2002/01/20 02:18:18 fluxgen Exp $ | 25 | // $Id: fluxbox.hh,v 1.9 2002/02/06 17:12:39 fluxgen Exp $ |
26 | 26 | ||
27 | #ifndef _FLUXBOX_HH_ | 27 | #ifndef _FLUXBOX_HH_ |
28 | #define _FLUXBOX_HH_ | 28 | #define _FLUXBOX_HH_ |
@@ -205,6 +205,16 @@ public: | |||
205 | typedef std::vector<Fluxbox::Titlebar> TitlebarList; | 205 | typedef std::vector<Fluxbox::Titlebar> TitlebarList; |
206 | 206 | ||
207 | private: | 207 | private: |
208 | void handleButtonEvent(XButtonEvent &be); | ||
209 | void handleClientMessage(XClientMessageEvent &ce); | ||
210 | void handleKeyEvent(XKeyEvent &ke); | ||
211 | void doWindowAction(Keys::KeyAction action); | ||
212 | #ifdef GNOME | ||
213 | bool checkGnomeAtoms(XClientMessageEvent &ce); | ||
214 | #endif | ||
215 | #ifdef NEWWMSPEC | ||
216 | bool checkNETWMAtoms(XClientMessageEvent &ce); | ||
217 | #endif | ||
208 | typedef struct MenuTimestamp { | 218 | typedef struct MenuTimestamp { |
209 | char *filename; | 219 | char *filename; |
210 | time_t timestamp; | 220 | time_t timestamp; |
@@ -258,14 +268,14 @@ private: | |||
258 | Atom fluxbox_pid; | 268 | Atom fluxbox_pid; |
259 | #endif // HAVE_GETPID | 269 | #endif // HAVE_GETPID |
260 | 270 | ||
261 | Bool no_focus, reconfigure_wait, reread_menu_wait; | 271 | bool no_focus, reconfigure_wait, reread_menu_wait; |
262 | Time last_time; | 272 | Time last_time; |
263 | Window masked; | 273 | Window masked; |
264 | char *rc_file, **argv; | 274 | char *rc_file, **argv; |
265 | int argc; | 275 | int argc; |
266 | Keys *key; | 276 | Keys *key; |
267 | 277 | ||
268 | void doWindowAction(Keys::KeyAction action); | 278 | |
269 | protected: | 279 | protected: |
270 | Fluxbox(int, char **, char * = 0, char * = 0); | 280 | Fluxbox(int, char **, char * = 0, char * = 0); |
271 | char *getRcFilename(); | 281 | char *getRcFilename(); |