Advertisement
Guest User

Untitled

a guest
Aug 16th, 2014
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.92 KB | None | 0 0
  1. diff --git a/src/display-page.vala b/src/display-page.vala
  2. index f4dc9ce..0764003 100644
  3. --- a/src/display-page.vala
  4. +++ b/src/display-page.vala
  5. @@ -41,7 +41,7 @@ public void setup_ui (AppWindow window) {
  6.          this.window = window;
  7.  
  8.          overlay_toolbar_invisible_timeout = AppWindow.TRANSITION_DURATION;
  9. -        event_box.set_events (EventMask.POINTER_MOTION_MASK | EventMask.SCROLL_MASK);
  10. +        event_box.set_events (EventMask.ALL_EVENTS_MASK);
  11.  
  12.          window.window_state_event.connect ((event) => {
  13.              update_toolbar_visible ();
  14. @@ -176,6 +176,8 @@ public void show_display (Boxes.Display display, Widget widget) {
  15.  
  16.      [GtkCallback]
  17.      private bool on_event_box_event (Gdk.Event event) {
  18. +        print ("EVENT: %u\n", event.type);
  19. +
  20.          if (window.fullscreened && event.type == EventType.MOTION_NOTIFY) {
  21.              var x = event.motion.x;
  22.              var y = event.motion.y;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement