diff options
author | Pablo Barciela <[email protected]> | 2019-01-06 12:44:59 +0100 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-01-07 01:44:52 +0100 |
commit | 4940310cda91a4bea223deb7568fb77829518ded (patch) | |
tree | ceaddbf4ecb1a6fab84a1e936359cefc1c475952 /src/core/window.c | |
parent | b4dcd38a04c6ab44da5d8ac63b386419c9bda7a4 (diff) | |
download | marco-4940310cda91a4bea223deb7568fb77829518ded.tar.bz2 marco-4940310cda91a4bea223deb7568fb77829518ded.tar.xz |
'meta_error_trap_push' instead 'meta_error_trap_push_with_return'
both functions have the same code
Diffstat (limited to 'src/core/window.c')
-rw-r--r-- | src/core/window.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/window.c b/src/core/window.c index cb687471..df8da1d3 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -220,7 +220,7 @@ meta_window_new (MetaDisplay *display, * creation, to reduce XSync() calls */ - meta_error_trap_push_with_return (display); + meta_error_trap_push (display); if (XGetWindowAttributes (display->xdisplay,xwindow, &attrs)) { @@ -328,7 +328,7 @@ meta_window_new_with_attrs (MetaDisplay *display, wm_state_to_string (existing_wm_state)); } - meta_error_trap_push_with_return (display); + meta_error_trap_push (display); XAddToSaveSet (display->xdisplay, xwindow); @@ -5101,12 +5101,12 @@ meta_window_client_message (MetaWindow *window, char *str1; char *str2; - meta_error_trap_push_with_return (display); + meta_error_trap_push (display); str1 = XGetAtomName (display->xdisplay, first); if (meta_error_trap_pop_with_return (display, TRUE) != Success) str1 = NULL; - meta_error_trap_push_with_return (display); + meta_error_trap_push (display); str2 = XGetAtomName (display->xdisplay, second); if (meta_error_trap_pop_with_return (display, TRUE) != Success) str2 = NULL; @@ -8348,7 +8348,7 @@ warp_grab_pointer (MetaWindow *window, *x = CLAMP (*x, 0, window->screen->rect.width-1); *y = CLAMP (*y, 0, window->screen->rect.height-1); - meta_error_trap_push_with_return (display); + meta_error_trap_push (display); meta_topic (META_DEBUG_WINDOW_OPS, "Warping pointer to %d,%d with window at %d,%d\n", |