aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
authormarkt <markt>2007-05-16 17:27:01 (GMT)
committermarkt <markt>2007-05-16 17:27:01 (GMT)
commit5bc85ad5b5c3f57880f2b1e3acec407eec0be6a4 (patch)
treec056923295ee39a3bcfdf609454a24087f7e8d13 /src/Window.hh
parent4c628adea83346e3a8950d089cb367059a92c63b (diff)
downloadfluxbox-5bc85ad5b5c3f57880f2b1e3acec407eec0be6a4.zip
fluxbox-5bc85ad5b5c3f57880f2b1e3acec407eec0be6a4.tar.bz2
added session.screen<N>.noFocusWhileTypingDelay
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Window.hh b/src/Window.hh
index c2f36c1..82a5f3f 100644
--- a/src/Window.hh
+++ b/src/Window.hh
@@ -38,6 +38,7 @@
38#include <X11/Xlib.h> 38#include <X11/Xlib.h>
39#include <X11/Xutil.h> 39#include <X11/Xutil.h>
40 40
41#include <sys/time.h>
41#include <vector> 42#include <vector>
42#include <string> 43#include <string>
43#include <memory> 44#include <memory>
@@ -337,6 +338,7 @@ public:
337 */ 338 */
338 //@{ 339 //@{
339 void handleEvent(XEvent &event); 340 void handleEvent(XEvent &event);
341 void keyPressEvent(XKeyEvent &ke);
340 void buttonPressEvent(XButtonEvent &be); 342 void buttonPressEvent(XButtonEvent &be);
341 void buttonReleaseEvent(XButtonEvent &be); 343 void buttonReleaseEvent(XButtonEvent &be);
342 void motionNotifyEvent(XMotionEvent &me); 344 void motionNotifyEvent(XMotionEvent &me);
@@ -419,6 +421,8 @@ public:
419 inline WinClient &winClient() { return *m_client; } 421 inline WinClient &winClient() { return *m_client; }
420 inline const WinClient &winClient() const { return *m_client; } 422 inline const WinClient &winClient() const { return *m_client; }
421 423
424 bool isTyping();
425
422 inline const FbTk::XLayerItem &layerItem() const { return m_frame.layerItem(); } 426 inline const FbTk::XLayerItem &layerItem() const { return m_frame.layerItem(); }
423 inline FbTk::XLayerItem &layerItem() { return m_frame.layerItem(); } 427 inline FbTk::XLayerItem &layerItem() { return m_frame.layerItem(); }
424 428
@@ -572,6 +576,8 @@ private:
572 int m_last_move_x, m_last_move_y; // handles last pos for non opaque moving 576 int m_last_move_x, m_last_move_y; // handles last pos for non opaque moving
573 unsigned int m_last_resize_h, m_last_resize_w; // handles height/width for resize "window" 577 unsigned int m_last_resize_h, m_last_resize_w; // handles height/width for resize "window"
574 578
579 timeval m_last_keypress_time;
580
575 unsigned int m_workspace_number; 581 unsigned int m_workspace_number;
576 unsigned long m_current_state; // NormalState | IconicState | Withdrawn 582 unsigned long m_current_state; // NormalState | IconicState | Withdrawn
577 583