Commit Graph

130 Commits

Author SHA1 Message Date
hyousatsu 615d9a3907 dtsession: fix a crash. 2023-08-16 23:18:47 -04:00
hyousatsu b979a073df dtwm: fix a segfault. 2023-03-28 02:16:17 +00:00
hyousatsu 2351a19d7e dtwm: support _NET_WM_STATE_ABOVE and _NET_WM_STATE_BELOW. 2023-02-26 11:59:29 +00:00
hyousatsu e22fd8d84f dtwm: optimize EWMH processing. 2023-02-26 11:59:21 +00:00
hyousatsu e201ef0a7b dtwm: add a new feature -- window rename. 2023-01-22 13:59:40 -07:00
hyousatsu 0011ed2f70 dtwm: optimize EWMH processing. 2023-01-22 13:59:40 -07:00
hyousatsu a90666402c dtwm: add support for _NET_WM_VISIBLE_NAME and
_NET_WM_VISIBLE_ICON_NAME.
2023-01-22 13:59:40 -07:00
hyousatsu 69d47966ad dtwm: fix compiler warnings. 2023-01-22 13:59:39 -07:00
hyousatsu bba694f5f2 dtwm: fix a title bar resizing issue. 2023-01-22 13:59:39 -07:00
Chase 45cee195bd Generify source code
Previously we would fail in some parts of the code if we did not have a
premade configuration, now we use any code that was marked as Linux, BSD and
Solaris as our basis in order to support building unknown Unix systems.
2022-08-06 11:31:51 -06:00
Chase edf4319548 Discontinue HPUX support 2022-07-23 17:49:33 -06:00
Peter Howkins 1f5ec7f034 Allow the window manager to handle centered, fit and fill backdrops 2022-07-06 17:00:49 -06:00
Peter Howkins 7641634130 dtwm: Resolve format-overflow issues 2021-12-24 10:50:28 -07:00
Peter Howkins f073bc2e24 dtwm: Resolve uninitialized warnings 2021-12-24 10:50:28 -07:00
Jon Trulson 3a0e92adb6 Rename autotools_config.h to cde_config.h to better reflect it's ownership. 2021-12-22 13:21:43 -07:00
Jon Trulson 3a0c2ae879 Move DtXinerama.h and PamSvc.h into include/Dt/ 2021-12-21 16:42:29 -07:00
Jon Trulson e10d06f210 configure/Makefiles: add checks for Xmu, Xext, and Xdmcp
We also remove sun pro specific options, and do some general cleanup
as well as remove hardcoded library refs like -lXm, -lXext, etc...
2021-12-21 16:42:22 -07:00
Jon Trulson 24a2f05138 Fix some shift-op-parentheses warnings 2021-12-11 17:39:35 -07:00
Jon Trulson abb408b24f dtwm: fix implicit-function-declaration warnings 2021-11-15 16:07:28 -07:00
Liang Chang fc486e47a7 Merge branch 'tmp' into dtwm 2021-11-05 14:58:55 +08:00
Liang Chang c38a5a8b71 dtwm: Respond to the following EWMH:
_NET_WM_STATE_MAXIMIZED_VERT
      _NET_WM_STATE_MAXIMIZED_HORZ

A window is maximized if both _NET_WM_STATE_MAXIMIZED_VERT and
_NET_WM_STATE_MAXIMIZED_HORZ are set.
2021-11-05 14:45:42 +08:00
Liang Chang 08ebba5225 dtwm: Respond to the following EWMH:
_NET_WM_NAME
      _NET_WM_ICON_NAME
2021-11-05 14:21:34 +08:00
Liang Chang c6e8d60548 dtwm: Add processing functions for _NET_WM_NAME and _NET_WM_ICON_NAME. 2021-11-05 14:21:34 +08:00
Liang Chang 9a8debd7d1 dtwm: Add definitions for _NET_WM_NAME and _NET_WM_ICON_NAME. 2021-11-05 14:21:34 +08:00
Liang Chang 7734a01e41 dtwm: Create stretcher windows when regenerate a frame for a frameless
window to make the resize cursors show again.
2021-11-05 14:21:33 +08:00
Liang Chang d90f765c0a dtwm: Create title bar window if clientTitleWin is NULL when regenerate
client frame.
2021-11-05 14:21:33 +08:00
Liang Chang f05bc54ceb dtwm: To avoid a segfault, allocate gadget rectangles when regenerate
window frame. A typical case, create a frameless window then regenerate
it's frame.
2021-11-05 14:21:33 +08:00
Liang Chang 8fa32b3db5 dtwm: Trigger fullscreen in an "edge trigger" manner to avoid wrong
behaviors caused by some unusual operations. E.g., after entered
fullscreen, applications change windows to other states instead of
leaving fullscreen.
2021-11-05 14:21:32 +08:00
OBATA Akio 16fe76ed65 Fix to include system header files for using functions 2021-10-08 14:40:56 +09:00
Jon Trulson be6bc0aa54 Remove some unused imake *.tmpl files
We still keep some of them for doc/ and dtinfo until those are
building properly.
2021-09-19 14:42:11 -06:00
Liang Chang 3886c7d09c dtwm: Respond to the following EWMH:
_NET_WM_FULLSCREEN_MONITORS
      _NET_WM_STATE_FULLSCREEN
2021-08-07 16:19:25 +08:00
Liang Chang 78c8241738 dtwm: Support multi-monitor fullscreen. 2021-08-07 15:09:28 +08:00
Liang Chang 6a28507dbc dtwm: Regenerate frame when decoration updated. 2021-08-07 14:31:04 +08:00
Liang Chang 1c310b8635 dtwm: Improve response for decoration hint from client.
Add a function: InitClientData.
2021-08-07 14:17:54 +08:00
Liang Chang e648aab6b1 dtwm: Add EWMH related source code. 2021-08-07 13:14:34 +08:00
Liang Chang 50ea1705c7 dtwm: Relocate base window when regenerate its frame. 2021-08-06 08:36:05 +08:00
Liang Chang bcf6e517d3 dtwm: Add a function: GetHeadInfoById. 2021-08-05 17:09:35 +08:00
Jon Trulson ac8bd41373 Revert "Convert uses of XKeycodeToKeysym (deprecated) to XkbKeycodeToKeysym"
This reverts commit 15a2032626.

This is wrong - it is missing the proper include file, and the
new function takes 4 arguments not 3.
2021-07-04 13:00:51 -06:00
Jon Trulson 51646fb06a programs/: remove Imakefiles for completed modules 2021-07-03 19:12:43 -06:00
Lev Kujawski a4d9902a48 Switch default backdrop from SkyLight to KnitLight
programs/dtwm/Dtwm.defs.src: Update default Dtwm backdrop
localized/*/app-defaults/Dtwm.tmsg: Update translations to reflect change

For CDE users with sufficiently high resolution screens, the abrupt
transition towards the end of the default SkyLight backdrop image bore
a close enough resemblance to graphical corruption to spur bug
reports. This problem likely did not manifest to the original CDE
developers using the typical monitors of the 1990s.

This patch changes the default backdrop to KnitLight, which comports
well with CDE's low distraction UI while still offering something
visually interesting enough to showcase CDE's support for bitmap
backdrops. Because of the repeating pattern within KnitLight, this
problem will not occur in the future. Additionally, SkyLight will be
retained as a CDE backdrop.
2021-06-02 19:56:26 -06:00
Jon Trulson 5852c4742f Fix erroneous uses of ${prefix} rather than $(CDE_INSTALLATION_TOP)
Some Makefiles use prefix when they should be using
CDE_INSTALLATION_TOP.

Patch by Peter G.
2020-03-23 13:10:07 -06:00
Jon Trulson 11af2add7e Merge branch 'master' into autotools-conversion 2020-03-23 12:55:32 -06:00
Jon Trulson 15a2032626 Convert uses of XKeycodeToKeysym (deprecated) to XkbKeycodeToKeysym
patch supplied from Peter G.
2020-03-23 12:51:18 -06:00
Chase b46cfa7876 Remove redundant hourglass functions 2020-01-26 12:09:12 -07:00
Jon Trulson 65ce14c419 dtwm: don't install Dtwm.defs - that is processed/handled by localization 2019-12-04 13:43:18 -07:00
Jon Trulson 6f27da77d9 dtwm: fix installation 2019-12-02 23:01:08 -07:00
Jon Trulson c329d5cfd7 Remove $(TIRPCINC) from all Makefile.am files - it no longer exists
Also, restructure some of the dependencies in the lib/tt binaries.  We
will link with libtt (which will include libtirpc as a dependency),
and XTOOLLIB - all the right X11 stuff without needing to add it to
every OS.  Removed several uneeded OS specializations ("if LINUX",
etc) as a result.
2019-11-20 18:52:29 -07:00
Jon Trulson ae98872405 dtwm: fix quoting for SCRIPTFLAGS 2019-10-30 20:46:53 -06:00
Jon Trulson fb93f405c1 dtwm: use new GENCPP 2019-10-30 19:48:04 -06:00
Jon Trulson 619402b739 dtwm: fixes to make it build
Removed PORT_NOFORK define in favor of autotools vfork availablility
checking. Use vfork if present.

Got rid of getenv/putenv definitions in favor of including correct
system headers.

Use FD_CLOEXEC in fcntl() call rather than hardcoded '1'.

Added -lm check to configure so dtwm will build.

Renamed internal round() function to wmround() to fix warning about
redefinition of builtin.

Fixed missing backslash in Makefile.am that prevented half the sources
from building.
2019-10-30 12:17:32 -06:00