- Dec 01, 2020
-
-
The function prototypes are already a GSourceFunc, no need to cast the pointer. Remove a gpointer casts. Signed-off-by:
Olaf Hering <olaf@aepfle.de>
-
- Nov 29, 2020
-
-
Note: This cannot work with CSD (client-side decoration), as double- click is handled by the client and not by the window manager with CSD. Closes: #1
-
- Nov 28, 2020
-
-
Olivier Fourdan authored
Debug mode means compiling with "-Werror", clean up various leftovers breaking the build in debug. Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
- Nov 21, 2020
-
-
Olivier Fourdan authored
The window menu entries would check for valid transients or modal dialog window to enable or disable the above/below entries. Yet the actual above/below function would simply check for any transient or modal dialog, hence denying the request for fake dialogs without an actual parent window. Fix the logic to remain consistent, and allows fake dialogs to be placed above or below other windows. Signed-off-by:
Olivier Fourdan <fourdan@xfce.org> Closes:#458
-
- Nov 14, 2020
-
-
Olivier Fourdan authored
We now store the current tile mode along with the client, that makes it possible to toggle back and forth between tile modes and back to the initial position/location. Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
- Nov 11, 2020
-
-
Olivier Fourdan authored
Tiling works by moving and resizing windows to a specific location on screen. GTK clients using client-side decorations (aka CSD) draw the drop shadow themselves and use the property _GTK_FRAME_EXTENTS to let the window manager or compositor know about the actual relative frame size and location. GTK automatically removes the drop shadow on some specific window states, such as fullscreen or maximized, and restores the drop shadow when the window returns to a normal state. If that update occurs after the tiled size was computed, the drop shadow is not accounted for and the window will appear smaller than the actual expected tiled size. To avoid that issue, the window manager should recompute the tiled size whenever the _GTK_FRAME_EXTENTS is updated. Store the tiled mode and recompute the tiled size/location of windows when the frame extents or the screen size change. Signed-off-by:
Olivier Fourdan <fourdan@xfce.org> Closes: #450
-
- May 23, 2020
-
-
Olivier Fourdan authored
When xfwm4 needs to kill an unresponsive client, it will use the its PID is known. However, the _NET_WM_PID as defined in the extended window manager hint mechanism is unreliable when the client runs within a sandbox, as it is the client itself who sets that property using its own view of the PID. The Xserver can provide a more accurate value of the client PID using the XRes X11 extension, so use that protocol if available. Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
- Apr 20, 2020
-
-
Olivier Fourdan authored
Update the Pango attributes whent he widget font factor is updated, then repaint all frames. With this, changing the scaling factor in the appearance settings updates the title font dynamically as well. Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
Olivier Fourdan authored
Bug: 16067 The font height is not used anymore, remove it. Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
Olivier Fourdan authored
Bug: 16711 We need to keep the pango font attributes for the scale with HiDPI. This reverts commit 34a31e27.
-
- Apr 05, 2020
-
-
Olivier Fourdan authored
Bug: 16067 The font height might be wrong, just get rid of it. Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
- Sep 21, 2019
-
-
Olivier Fourdan authored
Bug: 15974 Raise delay would be ignored, because on focus change, the newly focused window would be raised as soon as it receives focus. Use the raise delay timeout instead of raising the window immediately so that the raise delay remains functional. Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
- Jun 24, 2019
-
-
Olivier Fourdan authored
Bug: 15638 Ignoring all configure requests when maximized or fullscreen is overkill and prevent valid use cases from working. This reverts commit 3751c2c7.
-
- May 11, 2019
-
-
Olivier Fourdan authored
Places where the window manager uses the client window are all possible sources of XError because the window may have vanished and the window manager won't know until it gets the destroy notification from the Xserver. As GDK error handler is smart and uses the serial of the requests to check for errors, if the XError is not trapped in time it will end up in GDK and cause an abort. Protect against such a possibility by making sure cases where the XID of the client or one of its dependent resources is used remains withing an error trap/push. Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
- May 08, 2019
-
-
Olivier Fourdan authored
Using just “x” for the name of the generic `XEvent` is really confusing. Rename it as “xevent” for clarity. Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
Olivier Fourdan authored
Some more XErrors trap. Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
- May 02, 2019
-
-
Olivier Fourdan authored
Many operations such as XI2's grab/ungrab can cause an XError for various reasons, and X11 being asynchronous, those may end up being caught in gdk's own code, causing the termination of xfwm4. Catch XErrors in the relevant portions in xfwm4 code with error trap push/pop before gdk get them. Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
- Apr 21, 2019
-
-
On scaled displays, the menu position needs to be specified in app-pixels. Some code paths to opening the menu are already in app-pixels so do not require scaling. The height of the titlebar on windows with frames always needs to be scaled. Signed-off-by:
Jason Zaman <jason@perfinion.com>
-
- Jan 10, 2019
-
-
Olivier Fourdan authored
Bug: 13954 Some clients tend to send us a configure request when transitioning to maximized, which introduces a race condition because the window manager will remove the maximized flag when the client resizes itself, now that we allow for that since commit aee8b25a. Ignore the configure request from the client when maximized or fullscreen to work around such behavior from the client. Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
- Jul 24, 2018
-
-
Olivier Fourdan authored
Bug 12434 This only applies to fullscreen windows.
-
Olivier Fourdan authored
Check that value for GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED has actually changed before reconfiguring the window.
-
Olivier Fourdan authored
Bug: 14511 GTK+ will update its GTK_FRAME_EXTENTS property continuously even when the value hasn't actually changed, which causes the maximized state to be cleared when transitioning to/from fullscreen to maximized. Check that he extents have changed and reconfigure the client's window only when the value has changed.
-
- Mar 31, 2018
-
-
Olivier Fourdan authored
Make traces more consistent.
-
Olivier Fourdan authored
-
- Nov 27, 2017
-
-
Viktor Odintsev authored
-
- Jul 03, 2017
-
-
- Jul 02, 2017
-
-
- Jun 15, 2016
-
-
Bug: 6427 Some mice have additional forward and backward buttons, use those with the easy-move key to cycle through the workspaces.
-
- Nov 26, 2015
-
-
Olivier Fourdan authored
Bug: 10413 Some applications may temporarily set a transient relationship betwen their toplevel windows to maintain a stacking order, in which case we would change the decorations (as transients may not have all buttons available). However, we ought to restore the controls when this transient relationship is removed by the application, otherwise we leave the toplevels with reduced controls. Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
- Mar 14, 2015
-
-
Olivier Fourdan authored
Bug: 10372 With compositor enabled, horizontal scrolling via the mousewheel or touchpad would adjust the window opacity. Apparently, this is confusing so make it optional and disabled by default. If you fancy this feature, you can re-enable it by setting "horiz_scroll_opacity" to true in xfconf. Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
- Mar 10, 2015
-
-
Olivier Fourdan authored
Bug: 11670 Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
- Feb 26, 2015
-
-
Olivier Fourdan authored
Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
- Feb 24, 2015
-
-
Olivier Fourdan authored
Bug: 11590 Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
- Feb 06, 2015
-
-
Olivier Fourdan authored
Bug: 11511 Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
- Jan 30, 2015
-
-
Olivier Fourdan authored
to reduce roundtrips and X errors. Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
- Jan 29, 2015
-
-
Olivier Fourdan authored
Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
- Jan 24, 2015
-
-
Olivier Fourdan authored
Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
Olivier Fourdan authored
Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
-
- Jan 20, 2015
-
-
Peter de Ridder authored
-