Xfce Forum

Sub domains
 

You are not logged in.

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

AnotherUser
Member
Registered: 2012-03-07
Posts: 4

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?

Offline

#2 2016-04-28 16:16:04

AnotherUser
Member
Registered: 2012-03-07
Posts: 4

Re: wmctrl window resizing failures (XFCE 4.8)

As this was ignored for years, I have since become progressed enough to fight it, and have finally reached and fixed the bug.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 513.43 KiB (Peak: 521.16 KiB) ]