summaryrefslogtreecommitdiff
path: root/src/core/display.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-08-04 10:39:44 +0200
committerraveit65 <[email protected]>2020-08-04 16:39:25 +0200
commit85a22e754cd1f43e178e4a81c182643d4319bc5b (patch)
treeec52f20880ba991d7abcc863de2a9c302ddf2d41 /src/core/display.c
parent29f0d1d7ddd859433bf953fba3861a4746b3f09a (diff)
downloadmarco-85a22e754cd1f43e178e4a81c182643d4319bc5b.tar.bz2
marco-85a22e754cd1f43e178e4a81c182643d4319bc5b.tar.xz
Remove trailing spaces/tabs
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/[[:space:]]*$//' {} \; find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/\t*$//' {} \;
Diffstat (limited to 'src/core/display.c')
-rw-r--r--src/core/display.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/display.c b/src/core/display.c
index 0214d5e6..85f43684 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -1613,15 +1613,15 @@ mouse_event_is_in_tab_popup (MetaDisplay *display,
&x, &y, &child1);
GtkWidget *popup_widget = meta_ui_tab_popup_get_widget (screen->tab_popup);
- if (ok1 && popup_widget != NULL)
+ if (ok1 && popup_widget != NULL)
{
Window popup_xid = gdk_x11_window_get_xid (gtk_widget_get_window (popup_widget));
-
+
gboolean ok2 = XTranslateCoordinates (display->xdisplay,
event_window, popup_xid,
event_x, event_y,
popup_x, popup_y, &child2);
-
+
if (ok2 && child1 == popup_xid)
{
int scale = gtk_widget_get_scale_factor (popup_widget);
@@ -1860,7 +1860,7 @@ static gboolean event_callback(XEvent* event, gpointer data)
event->xbutton.y,
&popup_x,
&popup_y);
- if (is_in_tab_popup && event->xbutton.button == Button1)
+ if (is_in_tab_popup && event->xbutton.button == Button1)
{
display->tab_popup_mouse_pressed = TRUE;
meta_ui_tab_popup_mouse_press(screen->tab_popup, popup_x, popup_y);
@@ -1881,7 +1881,7 @@ static gboolean event_callback(XEvent* event, gpointer data)
"Syncing to old stack positions.\n");
screen =
meta_display_screen_for_root (display, event->xany.window);
-
+
if (screen!=NULL)
meta_stack_set_positions (screen->stack,
display->grab_old_window_stacking);
@@ -2056,7 +2056,7 @@ static gboolean event_callback(XEvent* event, gpointer data)
if (display->grab_window == window &&
grab_op_is_mouse (display->grab_op))
meta_window_handle_mouse_grab_op_event (window, event);
- if (event->xbutton.button == Button1)
+ if (event->xbutton.button == Button1)
display->tab_popup_mouse_pressed = FALSE;
break;
case MotionNotify:
@@ -2074,7 +2074,7 @@ static gboolean event_callback(XEvent* event, gpointer data)
event->xbutton.y,
&popup_x,
&popup_y);
- if (is_in_tab_popup)
+ if (is_in_tab_popup)
meta_ui_tab_popup_mouse_press (screen->tab_popup, popup_x, popup_y);
}
break;