"With a dragged window" - default as far as I see is on.

I confirm that either with those 4 defaults, or with "with a dragged window" off (as you suggested that would fix it), I still have it bugged.

If you still don't get a dragged window filling half of the screen,
then I can't reproduce your issue and don't have a solution.

Is there any other setting that might be affecting?


Hello Alex,
I tried to find out where the magic happens,
and wanted to write it to you.
But I found some strange wiring about the "With a dragged window"
configuration option.

Somehow it is responsible in the configuration file
for "/general/snap_to_windows" and "/general/tile_on_move".
Unfortunately the latter setting can just be changed once,
and that is switching off.

The patch at the bottom would set tile_on_move to true,
if the "With a dragged window" gets switched off.

Kind regards,
Bernhard


(gdb) bt
#0  clientTile (c=0x14d6800, cx=1, cy=224, tile=TILE_LEFT, send_configure=1, 
restore_position=0) at ./src/client.c:3701
#1  0x004c61c8 in clientMoveTile (event=<optimized out>, c=0x14d6800) at 
./src/moveresize.c:862
#2  clientMoveEventFilter (event=0x1323410, data=0xbfab8914) at 
./src/moveresize.c:1063
#3  0x004b4ace in eventXfwmFilter (gdk_xevent=0xbfab871c, gevent=0x149a400, 
data=0x1468d30) at ./src/event_filter.c:175
#4  0xb73693b1 in  () at /lib/i386-linux-gnu/libgdk-3.so.0
...


$ grep -E "To screen.*borders|To other.*windows|With the mouse.*pointer|With 
a.*dragged window" . -Rn -B1 --exclude *.po
...
./settings-dialogs/xfwm4-dialog.glade-1315-                                  <object 
class="GtkCheckButton" id="wrap_windows_check">
./settings-dialogs/xfwm4-dialog.glade:1316:                                    <property 
name="label" translatable="yes">With a _dragged window</property>


$ grep -E 
"snap_to_border_check|snap_to_window_check|wrap_workspaces_check|wrap_windows_check"
 . -Rn -B1
...
./settings-dialogs/xfwm4-settings.c-611-  xfconf_g_property_bind 
(settings->priv->wm_channel, "/general/wrap_windows", G_TYPE_BOOLEAN,
./settings-dialogs/xfwm4-settings.c:612:                          wrap_windows_check, 
"active");
...
./settings-dialogs/xfwm4-settings.c:617:  g_signal_connect (G_OBJECT 
(wrap_windows_check), "toggled",
./settings-dialogs/xfwm4-settings.c-618-                    G_CALLBACK 
(cb_wrap_windows_toggled),
...
./settings-dialogs/xfwm4-settings.c:1612  cb_wrap_windows_toggled 
(GtkToggleButton *toggle, XfconfChannel *channel)
./settings-dialogs/xfwm4-settings.c:1613  {
./settings-dialogs/xfwm4-settings.c:1614    if (gtk_toggle_button_get_active 
(toggle))
./settings-dialogs/xfwm4-settings.c:1615      xfconf_channel_set_bool (channel, 
"/general/tile_on_move", FALSE);
./settings-dialogs/xfwm4-settings.c:1616  }


$ grep -E 
"wrap_workspaces|wrap_windows|snap_to_border|snap_to_windows|tile_on_move" -Rn 
--include *.xml
...
.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml:63:    <property name="tile_on_move" 
type="bool" value="true"/>
.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml:80:    <property name="wrap_windows" 
type="bool" value="false"/>



--- xfwm4-4.18.0.orig/settings-dialogs/xfwm4-settings.c
+++ xfwm4-4.18.0/settings-dialogs/xfwm4-settings.c
@@ -1613,6 +1613,8 @@ cb_wrap_windows_toggled (GtkToggleButton
 {
   if (gtk_toggle_button_get_active (toggle))
     xfconf_channel_set_bool (channel, "/general/tile_on_move", FALSE);
+  else
+    xfconf_channel_set_bool (channel, "/general/tile_on_move", TRUE);
 }

Reply via email to