Xfce Forum

Sub domains

You are not logged in.

#1 2012-03-07 21:43:13

Registered: 2012-03-07
Posts: 3

wmctrl window resizing failures (XFCE 4.8)

As part of my migration from GNOME 2 + Ubuntu to XFCE4 + Debian, I am currently testing some window management scripts I made, which use wmctrl. They work fine in GNOME 2, but have issues in XFCE4, and on investigation it seems that XFCE4 is ignoring some wmctrl requests to add and remove the maximized_horz and maximized_vert states (XFCE4-Terminal was the window tested on).

To test this, you need to get at the window ID of the terminal:

1. In the terminal, run xprop
2. Click on the terminal window.
3. See the ID associated with '_NET_WM_USER_TIME_WINDOW(WINDOW)'.

Run wmctrl like ('0x6e00004' is the window ID here):

wmctrl -i -r 0x6e00004 -b add,maximized_horz
wmctrl -i -r 0x6e00004 -b remove,maximized_horz
wmctrl -i -r 0x6e00004 -b add,maximized_vert
wmctrl -i -r 0x6e00004 -b remove,maximized_vert

Just now I normalised the terminal window, issued a maximized_horz that worked, but the subsequent maximized_vert was ignored.

Does anyone else have issues like this?


Board footer

Powered by FluxBB