mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
src/interactive.c: don't unshade when view is un-tiled by dragging
Unshading a maximized/tiled window at the start of interactive move doesn't seem to be useful and caused flicker.
This commit is contained in:
parent
3fa9810a36
commit
2e19bd4d5b
1 changed files with 1 additions and 6 deletions
|
|
@ -56,7 +56,6 @@ interactive_move_tiled_view_to(struct server *server, struct view *view,
|
|||
}
|
||||
}
|
||||
|
||||
view_set_shade(view, false);
|
||||
view_set_untiled(view);
|
||||
view_restore_to(view, *geometry);
|
||||
server->move_pending = false;
|
||||
|
|
@ -100,11 +99,7 @@ interactive_begin(struct view *view, enum input_mode mode, uint32_t edges)
|
|||
}
|
||||
if (!view_is_floating(view)) {
|
||||
/*
|
||||
* Un-maximize, unshade and restore natural
|
||||
* width/height.
|
||||
* Don't reset tiled state yet since we may want
|
||||
* to keep it (in the snap-to-maximize case).
|
||||
*
|
||||
* Un-maximize and restore natural width/height.
|
||||
* If the natural geometry is unknown (possible
|
||||
* with xdg-shell views), then we set a size of
|
||||
* 0x0 here and determine the correct geometry
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue