Skip to content

Commit cbc9a21

Browse files
committed
more clang
1 parent 80ddfdd commit cbc9a21

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/workspaceview.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,6 +1009,9 @@ workspaceview_drag_begin(GtkEventControllerMotion *self,
10091009
{
10101010
Workspaceview *wview = WORKSPACEVIEW(user_data);
10111011

1012+
Columnview *title;
1013+
Columnview *cview;
1014+
10121015
#ifdef DEBUG_VERBOSE
10131016
printf("workspaceview_drag_begin: %g x %g\n", start_x, start_y);
10141017
#endif /*DEBUG_VERBOSE*/
@@ -1017,13 +1020,11 @@ workspaceview_drag_begin(GtkEventControllerMotion *self,
10171020
case WVIEW_WAIT:
10181021
/* Search for a column titlebar we could be hitting.
10191022
*/
1020-
Columnview *title = workspaceview_find_columnview_title(wview,
1021-
start_x, start_y);
1023+
title = workspaceview_find_columnview_title(wview, start_x, start_y);
10221024

10231025
/* Search for a click on any part of a columnview.
10241026
*/
1025-
Columnview *cview = workspaceview_find_columnview(wview,
1026-
start_x, start_y);
1027+
cview = workspaceview_find_columnview(wview, start_x, start_y);
10271028

10281029
if (title) {
10291030
wview->drag_cview = title;

0 commit comments

Comments
 (0)